/* Layout: capa com o degradê institucional e a rosa dos ventos do Design System; faixas alternadas noite / cinza-900; pouco texto, e o produto mostrado por chats e por um diagrama animado. Só tema escuro, por escolha. */

/* Inter servida pelo próprio site (subconjunto latino, pesos 400 a 700): nenhuma chamada a terceiros. */
@font-face {
  font-family: "Inter";
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:root {
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db; --gray-400: #9ca3af; --gray-500: #6b7280;
  --gray-700: #374151; --gray-800: #1f2937; --gray-900: #111827; --gray-950: #0b1220;
  --blue-100: #dbeafe; --blue-200: #bfdbfe; --blue-300: #93c5fd; --blue-400: #60a5fa; --blue-500: #3b82f6;
  --blue-600: #2563eb; --blue-700: #1d4ed8; --blue-900: #1e3a8a; --blue-950: #172554; --white: #ffffff;

  --bg: var(--gray-950);
  --band: var(--gray-900);
  --card: var(--gray-900);
  --card-deep: #0f172a;
  --line: var(--gray-800);
  --line-strong: var(--gray-700);
  --text: var(--gray-100);
  --body: var(--gray-300);
  --text-2: var(--gray-400);
  --accent: var(--blue-400);
  --accent-strong: var(--blue-600);
  --accent-soft: var(--blue-950);
  --halo: rgba(147,197,253,0.22);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-pill: 999px;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-300); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(76px + env(safe-area-inset-top, 0px)); }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.band { padding-block: clamp(72px, 9vw, 112px); position: relative; }
.band.alt { background: var(--band); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.lead { font-size: 18px; color: var(--body); }
.note { font-size: 13.5px; color: var(--text-2); }
.examples-note { margin-top: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-sm); border: 0; font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  background: var(--accent-strong); color: var(--white);
}
.btn:hover { background: var(--blue-700); color: var(--white); }
.btn-ghost { background: transparent; color: var(--gray-100); border: 1px solid rgba(147,197,253,0.4); }
.btn-ghost:hover { background: rgba(37,99,235,0.18); color: var(--white); }

.ph { background: rgba(251,191,36,0.16); color: #fde68a; border-radius: 3px; padding: 0 3px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(11,18,32,0.88); border-bottom: 1px solid rgba(147,197,253,0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; color: var(--gray-100); }
.brand svg { width: 154px; height: 45px; display: block; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a:not(.btn) { color: var(--gray-300); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--white); }
.nav .btn { min-height: 40px; font-size: 15px; padding: 0 16px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand svg { width: 130px; height: 38px; } }

/* ---------- Capa ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; background: radial-gradient(circle at 85% 25%, #1e3a8a, #111827 60%); }
.hero-mark { position: absolute; right: -150px; top: -40px; width: 640px; height: 640px; color: var(--blue-400); opacity: 0.14; pointer-events: none; }
.hero .wrap { position: relative; padding-block: clamp(56px, 8vw, 104px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero-mark { width: 420px; height: 420px; right: -160px; top: -60px; } }
@media (max-width: 640px) { .hero-mark { width: 300px; height: 300px; right: -150px; top: -110px; opacity: 0.1; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.product { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--blue-200); }
.product svg { width: 22px; height: 22px; color: var(--blue-400); }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; max-width: 11ch; text-wrap: balance; }
.hero .sub { font-size: 19px; color: var(--gray-300); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.systems { margin-top: clamp(56px, 7vw, 88px); padding-block: 22px 26px; border-top: 1px solid rgba(147,197,253,0.14); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.systems .label { font-size: 14px; color: var(--gray-400); }
.systems ul { display: flex; flex-wrap: wrap; gap: 8px; }
.systems li { font-size: 14px; color: var(--gray-200); padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(147,197,253,0.22); background: rgba(11,18,32,0.35); }
.systems .more { font-size: 14px; color: var(--blue-200); margin-left: auto; }
@media (max-width: 760px) { .systems .more { margin-left: 0; } }

/* ---------- Conversa com a IA ---------- */
.chat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.band.alt .chat { background: var(--card-deep); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.chat-head b { color: var(--text); font-weight: 600; }
.chat-head .live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; }
.chat-head .conn { margin-left: auto; text-align: right; }
.chat-body { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 340px; }
.chat-body.short { min-height: 250px; }
.msg-user { align-self: flex-end; max-width: 88%; background: var(--accent-strong); color: var(--white); padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 15.5px; line-height: 1.45; }
.msg-ai { align-self: stretch; display: flex; flex-direction: column; gap: 10px; }
.msg-ai .from { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.msg-ai .from svg { width: 14px; height: 14px; }
.msg-ai .text { font-size: 15.5px; line-height: 1.55; color: var(--gray-200); }
.msg-ai .src { font-size: 12.5px; color: var(--text-2); padding-top: 8px; border-top: 1px solid var(--line); }
.in { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 10px 12px; background: var(--gray-800); border-radius: 12px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400); animation: blink 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ans-table-wrap { overflow-x: auto; }
.ans-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ans-table th { text-align: left; font-weight: 500; color: var(--text-2); padding: 0 10px 6px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.ans-table td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); color: var(--gray-200); white-space: nowrap; }
.ans-table .n { text-align: right; }
.ans-table tr.pre { opacity: 0; }
.ans-table tr.show { animation: rise .3s ease both; }
.ans-table .masked { color: var(--blue-200); background: var(--accent-soft); border-radius: 4px; padding: 1px 5px; }
.bars { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.bars .row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.bars .lbl { color: var(--gray-200); line-height: 1.3; }
.bars .track { height: 10px; background: var(--gray-800); border-radius: 5px; overflow: hidden; }
.bars .fill { display: block; height: 100%; background: var(--blue-500); border-radius: 5px; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.bars .val { color: var(--gray-200); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .bars .row { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) auto; } }

/* ---------- Como funciona ---------- */
.flow {
  margin-top: 48px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.16), rgba(37,99,235,0) 60%), var(--card);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(40px, 110px) auto minmax(40px, 110px) minmax(0, 1fr); align-items: center;
}
.flow-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.flow-col .cap { font-size: 13px; color: var(--text-2); margin-bottom: 2px; }
.flow-col.out { align-items: flex-end; }
.flow-col.out .cap { text-align: right; }
.node { display: inline-flex; align-self: flex-start; font-size: 14.5px; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--bg); color: var(--gray-200); }
.flow-col.out .node { align-self: flex-end; border-color: rgba(96,165,250,0.45); }
.node.more { border-style: dashed; color: var(--text-2); }
.wire { position: relative; height: 2px; background: rgba(96,165,250,0.18); overflow: hidden; }
.wire::after { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 100%; background: linear-gradient(90deg, rgba(96,165,250,0), var(--blue-400)); animation: flow 1.6s linear infinite; }
.wire.b::after { animation-delay: .8s; }
@keyframes flow { from { transform: translateX(-36px); } to { transform: translateX(110px); } }
.hub { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 26px 30px; border-radius: var(--radius-lg); border: 1px solid rgba(96,165,250,0.55); background: rgba(23,37,84,0.55); box-shadow: 0 0 0 8px rgba(37,99,235,0.07); }
.hub svg { width: 64px; height: 64px; color: var(--blue-400); }
.hub b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.hub span { font-size: 13px; color: var(--blue-200); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .flow-col, .flow-col.out { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .flow-col .cap { width: 100%; text-align: center; }
  .flow-col.out .cap { text-align: center; }
  .node, .flow-col.out .node { align-self: auto; }
  .wire { width: 2px; height: 44px; margin-block: 10px; }
  .wire::after { width: 100%; height: 20px; background: linear-gradient(180deg, rgba(96,165,250,0), var(--blue-400)); animation-name: flowv; }
  @keyframes flowv { from { transform: translateY(-20px); } to { transform: translateY(44px); } }
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: 40px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.steps .n { font-size: 14px; font-weight: 700; color: var(--accent); }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { color: var(--text-2); font-size: 16px; }

/* ---------- Exemplos ---------- */
.asker { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 44px; }
@media (max-width: 900px) { .asker { grid-template-columns: 1fr; } }
.asker-list { display: flex; flex-direction: column; gap: 8px; }
.asker-list button {
  text-align: left; cursor: pointer; font: inherit; color: var(--body); background: transparent;
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px;
  transition: border-color .15s ease, background-color .15s ease;
}
.asker-list button:hover { border-color: var(--line-strong); background: var(--card-deep); }
.asker-list button[aria-pressed="true"] { border-color: var(--accent); background: var(--card-deep); }
.asker-list .who { font-size: 13px; font-weight: 600; color: var(--accent); }
.asker-list .q { font-size: 15px; line-height: 1.4; color: var(--gray-200); }
@media (max-width: 900px) {
  .asker-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .asker-list button { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- Segurança ---------- */
.roles { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.roles-q { font-size: 16px; color: var(--text-2); }
.roles-q b { color: var(--text); font-weight: 600; }
.roles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .roles-grid { grid-template-columns: 1fr; } }
.guards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
@media (max-width: 900px) { .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guards { grid-template-columns: 1fr; } }
.guards li { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 2px solid var(--blue-700); }
.guards b { font-size: 16px; font-weight: 600; }
.guards span { font-size: 15px; color: var(--text-2); }

/* ---------- Consultoria ---------- */
.statement { background: var(--blue-700); overflow: hidden; overflow: clip; }
.statement-mark { position: absolute; right: -80px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); color: var(--blue-300); opacity: 0.18; pointer-events: none; }
@media (max-width: 900px) { .statement-mark { width: 300px; height: 300px; right: -140px; top: 18%; opacity: 0.12; } }
.statement .wrap { position: relative; }
.statement-inner { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.statement .kicker { color: var(--blue-200); }
.statement h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.035em; color: var(--gray-50); }
.statement .lead { color: var(--blue-100); font-size: 19px; max-width: 36em; }
.statement-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-light { background: var(--white); color: var(--blue-900); }
.btn-light:hover { background: var(--blue-100); color: var(--blue-900); }
.statement .btn-ghost { border-color: rgba(255,255,255,0.55); }
.statement .btn-ghost:hover { background: rgba(255,255,255,0.12); }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.services li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-md); background: var(--card-deep); border: 1px solid var(--line-strong); transition: border-color .2s ease, transform .2s ease; }
.services li:hover { border-color: rgba(96,165,250,0.6); transform: translateY(-2px); }
.services svg, .ai-copy .ico { width: 28px; height: 28px; color: var(--blue-400); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.services h3 { font-size: 18px; font-weight: 600; }
.services p { font-size: 15px; color: var(--text-2); }
.services li.featured { border-color: rgba(96,165,250,0.6); background: linear-gradient(180deg, rgba(37,99,235,0.2), rgba(37,99,235,0.04)), var(--card-deep); }

.ai-panel {
  margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse at 80% 50%, rgba(37,99,235,0.2), rgba(37,99,235,0) 60%), var(--card-deep);
}
@media (max-width: 900px) { .ai-panel { grid-template-columns: 1fr; } }
.ai-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ai-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.ai-points { display: flex; flex-direction: column; gap: 10px; }
.ai-points li { position: relative; padding-left: 22px; color: var(--body); font-size: 16px; }
.ai-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-500); }
.ai-flow { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 30px; min-width: 0; }
.ai-flow::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 2px; background: rgba(96,165,250,0.2); }
.ai-flow::after { content: ""; position: absolute; left: 9px; top: 0; width: 2px; height: 44px; background: linear-gradient(180deg, rgba(96,165,250,0), var(--blue-400)); animation: aiflow 3.2s linear infinite; }
@keyframes aiflow { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 44px); opacity: 0; } }
.ai-flow li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg); animation: stepglow 3.2s ease-in-out infinite; }
.ai-flow li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--card-deep); border: 2px solid var(--blue-400); }
.ai-flow li:nth-child(2) { animation-delay: .8s; }
.ai-flow li:nth-child(3) { animation-delay: 1.6s; }
.ai-flow li:nth-child(4) { animation-delay: 2.4s; }
@keyframes stepglow { 0%, 36%, 100% { border-color: var(--line-strong); box-shadow: 0 0 0 0 rgba(96,165,250,0); } 12%, 24% { border-color: rgba(96,165,250,0.75); box-shadow: 0 0 0 4px rgba(96,165,250,0.12); } }
.ai-flow b { font-size: 15.5px; font-weight: 600; }
.ai-flow span { font-size: 13.5px; color: var(--text-2); }

.method { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.method-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.method-head h3 { font-size: 20px; font-weight: 600; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chips span { display: inline-flex; padding: 7px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); font-size: 14px; color: var(--body); background: var(--card-deep); }
.chips input:checked + span { border-color: var(--blue-400); color: var(--white); background: rgba(37,99,235,0.35); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ruler { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ruler li { display: flex; flex-direction: column; gap: 10px; }
.ruler li span { margin-top: auto; }
.ruler .bar { height: 8px; border-radius: 4px; }
.ruler li:nth-child(1) .bar { background: var(--blue-300); }
.ruler li:nth-child(2) .bar { background: var(--blue-400); }
.ruler li:nth-child(3) .bar { background: var(--blue-500); }
.ruler li:nth-child(4) .bar { background: var(--blue-600); }
.ruler li:nth-child(5) .bar { background: var(--blue-700); }
.ruler b { font-size: 14.5px; font-weight: 600; }
.ruler span { font-size: 13px; color: var(--blue-200); background: var(--accent-soft); border: 1px solid var(--blue-900); border-radius: 6px; padding: 6px 8px; }
@media (max-width: 640px) {
  .ruler { grid-template-columns: 1fr; gap: 10px; }
  .ruler li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
  .ruler .bar { height: 100%; min-height: 34px; }
}

/* ---------- Perguntas frequentes ---------- */
.faq { max-width: 780px; margin-top: 36px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 24px; font-weight: 400; color: var(--text-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--body); font-size: 16px; max-width: 640px; }

/* ---------- Fechamento ---------- */
.closing { background: linear-gradient(150deg, #1e3a8a 0%, #172554 55%, #0b1220 100%); overflow: hidden; overflow: clip; }
.closing-mark { position: absolute; right: -170px; top: -120px; width: 560px; height: 560px; color: var(--blue-400); opacity: 0.14; pointer-events: none; }
@media (max-width: 900px) { .closing-mark { display: none; } }
.closing .wrap { position: relative; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px 72px; align-items: center; }
@media (max-width: 900px) { .closing-grid { grid-template-columns: 1fr; } }
.closing h2 { font-size: clamp(34px, 4.6vw, 56px); max-width: 12ch; }
.closing .lead { color: var(--blue-100); margin-top: 16px; }
.sign { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.sign svg { width: 200px; height: 58px; color: var(--gray-100); }
.sign p { font-size: 18px; font-weight: 600; color: var(--blue-200); }
.form { background: rgba(11,18,32,0.72); border: 1px solid rgba(147,197,253,0.22); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--text-2); }
.field input { font: 400 16px/1.4 var(--font-sans); color: var(--text); background: var(--card-deep); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 12px; width: 100%; }
.field input::placeholder { color: var(--gray-500); }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #f87171; }
.field-error { font-size: 13.5px; color: #fca5a5; }
.form .btn { width: 100%; margin-top: 4px; }
.form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form .privacy { font-size: 13px; color: var(--text-2); }
.form-error { font-size: 14px; color: #fde68a; background: rgba(251,191,36,0.12); border-radius: var(--radius-sm); padding: 9px 12px; }
.form-done { min-height: 240px; justify-content: center; }
.form-done:focus { outline: none; }
.form-done-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.form-done p:not(.form-done-title) { color: var(--body); }
/* Campo-isca: fora da tela para gente, visível para robôs que preenchem tudo */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rodapé ---------- */
.site-footer { padding-block: 48px 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; }
@media (max-width: 760px) { .foot-main { grid-template-columns: 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer .brand svg { width: 140px; height: 41px; }
.foot-main h3 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.foot-nav, .foot-contact { display: flex; flex-direction: column; gap: 8px; }
.foot-nav a { color: var(--gray-300); text-decoration: none; }
.foot-nav a:hover { color: var(--white); }
.legal { font-size: 13px; color: var(--gray-500); padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Aviso de privacidade (/privacidade) ---------- */
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--body); }
.doc h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; color: var(--text); }
.doc-meta { font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; }
.doc h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-top: 18px; }
.doc ul { display: flex; flex-direction: column; gap: 8px; padding-left: 1.1em; list-style: disc; }
.doc li::marker { color: var(--gray-500); }
.doc b { color: var(--text); font-weight: 600; }

/* ---------- Página 404 ---------- */
/* O "0" é a rosa dos ventos: gira procurando o rumo e assenta no norte, dentro de um aro de bússola. */
.nf { position: relative; overflow: hidden; overflow: clip; min-height: calc(100svh - 72px); display: flex; align-items: center; background: radial-gradient(circle at 18% 28%, #1e3a8a, #111827 62%); }
.nf-backdrop { position: absolute; right: -200px; bottom: -240px; width: 680px; height: 680px; color: var(--blue-400); opacity: 0.07; pointer-events: none; animation: nf-drift 90s linear infinite; }
@keyframes nf-drift { to { transform: rotate(360deg); } }
.nf .wrap { position: relative; width: 100%; padding-block: clamp(48px, 7vw, 96px); }
.nf-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 940px) { .nf-grid { grid-template-columns: 1fr; gap: 44px; } }
.nf-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nf-code {
  display: flex; align-items: center; margin-bottom: 4px;
  font-size: clamp(96px, 15vw, 184px); line-height: 0.9; font-weight: 700; letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--white) 20%, var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf-rose { position: relative; display: inline-flex; width: 0.84em; height: 0.84em; margin-inline: 0.03em 0.06em; color: var(--blue-400); }
.nf-rose::before {
  content: ""; position: absolute; inset: -4%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(147,197,253,0.55) 0deg 1.2deg, transparent 1.2deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61% 66%, transparent 67%);
  mask: radial-gradient(circle, transparent 60%, #000 61% 66%, transparent 67%);
}
.nf-rose::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; box-shadow: 0 0 60px 10px rgba(37,99,235,0.35); animation: nf-glow 6s ease-in-out infinite; }
.nf-rose svg { position: relative; z-index: 1; width: 100%; height: 100%; animation: nf-seek 6s cubic-bezier(.45,.05,.25,1) infinite; }
@keyframes nf-seek {
  0% { transform: rotate(0deg); }
  22% { transform: rotate(395deg); }
  32% { transform: rotate(342deg); }
  42% { transform: rotate(371deg); }
  52% { transform: rotate(354deg); }
  60% { transform: rotate(363deg); }
  68%, 100% { transform: rotate(360deg); }
}
@keyframes nf-glow { 0%, 60%, 100% { opacity: 0.5; } 72% { opacity: 1; } }
.nf h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; max-width: 13ch; text-wrap: balance; }
.nf .sub { font-size: 19px; color: var(--gray-300); max-width: 30em; }
.nf-links { display: flex; flex-direction: column; gap: 6px; }
.nf-links a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--gray-200); font-size: 15px; text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.nf-links a span:first-child { flex: 1; }
.nf-links a::after { content: "→"; color: var(--accent); transition: transform .15s ease; }
.nf-links a:hover { border-color: rgba(96,165,250,0.6); background: var(--card-deep); color: var(--white); }
.nf-links a:hover::after { transform: translateX(3px); }
.nf-links a.likely { border-color: rgba(96,165,250,0.6); background: rgba(37,99,235,0.2); color: var(--white); }
.nf-links .badge { font-size: 12px; font-weight: 600; color: var(--blue-200); background: var(--accent-soft); border: 1px solid var(--blue-900); border-radius: var(--radius-pill); padding: 2px 8px; white-space: nowrap; }
.nf-footer { padding-block: 24px; }
.nf-footer .legal { border-top: 0; padding-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .nf-backdrop, .nf-rose::after, .nf-rose svg { animation: none; }
  .nf-links a, .nf-links a::after { transition: none; }
}
.pd-table { overflow-x: auto; }
.pd-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
.pd-table th { text-align: left; font-weight: 500; color: var(--text-2); padding: 0 12px 8px 0; border-bottom: 1px solid var(--line-strong); }
.pd-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal a, .form .privacy a { color: var(--blue-300); }

/* ---------- Refinos de movimento ---------- */
.hero-demo { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero-dots { display: flex; justify-content: center; gap: 6px; }
.hero-dots button { width: 34px; height: 20px; padding: 8px 0; border: 0; border-radius: 2px; background: rgba(147,197,253,0.25); background-clip: content-box; cursor: pointer; }
.hero-dots button[aria-current="true"] { background-color: var(--blue-400); }
.asker-list button { position: relative; overflow: hidden; }
.asker-list button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blue-400); }
.asker-list button.counting::after { animation: count 7.5s linear forwards; }
@keyframes count { to { width: 100%; } }
.flow-col .node { animation: nodeglow 5s ease-in-out infinite; }
.flow-col .node:nth-of-type(2) { animation-delay: .4s; }
.flow-col .node:nth-of-type(3) { animation-delay: .8s; }
.flow-col .node:nth-of-type(4) { animation-delay: 1.2s; }
.flow-col .node:nth-of-type(5) { animation-delay: 1.6s; }
.flow-col.out .node:nth-of-type(1) { animation-delay: 2.6s; }
.flow-col.out .node:nth-of-type(2) { animation-delay: 2.9s; }
.flow-col.out .node:nth-of-type(3) { animation-delay: 3.2s; }
.flow-col.out .node:nth-of-type(4) { animation-delay: 3.5s; }
@keyframes nodeglow { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(96,165,250,0); } 72% { box-shadow: 0 0 0 4px rgba(96,165,250,0.24); } }
.hub { animation: hubglow 5s ease-in-out 2s infinite; }
@keyframes hubglow { 0%, 60%, 100% { box-shadow: 0 0 0 8px rgba(37,99,235,0.07); } 72% { box-shadow: 0 0 0 14px rgba(37,99,235,0.16); } }
.nav a[aria-current] { color: var(--white); text-decoration: underline; text-decoration-color: var(--blue-400); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-header.scrolled { border-bottom-color: rgba(147,197,253,0.22); }

@media (prefers-reduced-motion: reduce) {
  .in, .ans-table tr.show { animation: none; }
  .bars .fill { transition: none; }
  .typing span, .wire::after, .flow-col .node, .hub, .asker-list button.counting::after, .ai-flow::after, .ai-flow li { animation: none; }
  .services li { transition: none; }
}
