/* Luni Inteligência Artificial
   Grafite #0B0D12 · Azul-violeta #6C63FF · Inter + JetBrains Mono
   v2.1 - Atualizado - Build 20261007-1900 */

:root {
  --bg: #0B0D12;
  --bg-alt: #0D0F15;
  --surface: #11131B;
  --surface-2: #161924;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --violet: #7C73FF;
  --violet-hover: #8F87FF;
  --violet-soft: rgba(124, 115, 255, 0.12);
  --violet-line: rgba(124, 115, 255, 0.4);
  --violet-text: #B5AEFF;

  --text: #E9E9EC;
  --text-2: rgba(233, 233, 236, 0.66);
  --text-3: rgba(233, 233, 236, 0.44);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
body {
  margin: 0;
  font: 400 17px/1.65 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: rgba(108, 99, 255, 0.4); color: #fff; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.9em; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 200;
  background: var(--violet); color: #fff; padding: 0.7rem 1.1rem; border-radius: 10px; font-weight: 500;
}
.skip-link:focus { left: 12px; }

/* ---------- Navbar ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
/* Blur fica numa camada própria: backdrop-filter no .header prenderia o menu mobile (position: fixed) à altura dele. */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 13, 18, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.header.is-scrolled, .header.is-open { border-bottom-color: var(--line); }
.header.is-scrolled::before, .header.is-open::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-size: 1.6rem; font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--text); }
.brand__i { position: relative; }
.brand__i::after {
  content: ''; position: absolute; left: 50%; top: 0.165em; width: 0.19em; height: 0.19em; margin-left: -0.06em;
  border-radius: 50%; background: var(--violet); transition: transform 0.3s var(--ease);
}
.brand:hover .brand__i::after { transform: translateY(-0.06em); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-size: 0.95rem; font-weight: 500; color: var(--text-2); transition: color 0.2s; position: relative; }
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.6rem; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Botões, links e ícones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 1.5rem; border-radius: 12px; border: 1px solid transparent;
  font: 500 0.95rem/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 38px; padding: 0 1.1rem; font-size: 0.9rem; border-radius: 10px; }
.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 4px 16px -4px rgba(124, 115, 255, 0.4); }
.btn--primary:hover { background: var(--violet-hover); box-shadow: 0 6px 20px -4px rgba(124, 115, 255, 0.5); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.02); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text); font-weight: 500; font-size: 0.98rem;
  text-decoration: none; position: relative; padding-bottom: 3px;
  transition: color 0.2s;
}
.link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transition: transform 0.3s var(--ease);
  transform-origin: right;
}
.link:hover {
  color: var(--violet-text);
}
.link:hover::after {
  transform: scaleX(1.05);
  transform-origin: left;
}

.ico {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.ico:hover { transform: translateY(-2px); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--violet-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 28px; height: 28px; border-radius: 8px; }
.ico--sm svg { width: 16px; height: 16px; stroke-width: 1.8; }

/* ---------- Hero ---------- */
.hero { 
  position: relative; 
  padding: calc(var(--header-h) + 104px) 0 0; 
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 115, 255, 0.08) 0%, rgba(124, 115, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 4.9vw, 4.4rem); line-height: 1.05; letter-spacing: -0.04em;
}
.hero__lead { margin-top: 1.75rem; max-width: 32rem; font-size: 1.12rem; color: var(--text-2); }
.hero__actions { display: flex !important; align-items: center; gap: 2rem !important; margin-top: 2.25rem; flex-wrap: wrap; }

/* Ilustração: leitura de documento */
.demo { width: 100%; max-width: 520px; justify-self: end; }
.demo__win {
  border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
}
.demo__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.demo__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.demo__bar span { margin-left: 10px; font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); }
.demo__body { display: grid; grid-template-columns: 1.05fr 1fr; }

/* Folha do documento */
.doc {
  position: relative; margin: 18px; padding: 16px 16px 18px; overflow: hidden;
  border-radius: 8px; background: #E4E5EA; color: #1B1D26;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.8);
}
.doc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
.doc__head b { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.doc__head span { font-size: 0.6rem; color: #6B6E7A; }
.doc__group + .doc__group { margin-top: 8px; }
.doc small { display: block; font-size: 0.56rem; letter-spacing: 0.04em; text-transform: uppercase; color: #7A7D88; }
.doc__val {
  display: inline-block; margin: 1px 0 0 -4px; padding: 2px 6px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 500; line-height: 1.4; white-space: nowrap;
  transition: background 0.3s, box-shadow 0.3s;
}
.doc__val.mono { font-size: 0.66rem; }
.doc__val.is-on { background: rgba(108, 99, 255, 0.16); box-shadow: 0 0 0 1px var(--violet); }
.doc__table { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4px; margin: 12px 0; }
.doc__table i { height: 8px; border-radius: 3px; background: rgba(0, 0, 0, 0.08); }
.doc__table i:nth-child(-n+3) { background: rgba(0, 0, 0, 0.16); }
.doc__group--total { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px dashed rgba(0, 0, 0, 0.2); }
.doc__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; opacity: 0;
  background: var(--violet);
  transition: top 0.5s var(--ease), opacity 0.3s;
}
.demo.is-reading .doc__scan { opacity: 0.7; }

/* Campos extraídos */
.fields { padding: 18px 18px 18px 2px; }
.fields__title { margin-bottom: 0.5rem; font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); }
.fields__row { position: relative; padding: 0.6rem 22px 0.6rem 0; border-top: 1px solid var(--line); }
.fields__row span { display: block; font-size: 0.76rem; color: var(--text-3); }
.fields__row output {
  display: block; min-height: 1.4em; margin-top: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.86rem; color: var(--text);
}
.fields__row output.mono { font-size: 0.8rem; }
.fields__row output:empty::before { content: ''; display: block; width: 60%; height: 8px; margin-top: 0.4em; border-radius: 5px; background: rgba(255, 255, 255, 0.06); }
.fields__row output.is-typing::after { content: ''; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--violet-text); }
.fields__row::after {
  content: ''; position: absolute; right: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.3s var(--ease);
}
.fields__row.is-done::after { opacity: 1; transform: none; }

.demo__foot { display: flex; align-items: center; gap: 0.6rem; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-2); }
.demo__dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--violet); }
.demo.is-reading .demo__dot { animation: pulse 1.1s ease-in-out infinite; }
.demo__status { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__progress { width: 84px; height: 4px; flex: none; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.demo__progress i { display: block; height: 100%; width: 0; background: var(--violet); transition: width 0.45s var(--ease); }
.demo figcaption { margin-top: 0.85rem; font-size: 0.8rem; color: var(--text-3); }

/* ---------- Seções ---------- */
.sec { padding: 112px 0; border-top: 1px solid var(--line); }
.sec--alt { background: var(--bg-alt); }
.sec__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.sec__side { position: sticky; top: calc(var(--header-h) + 40px); }
.sec__side h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); line-height: 1.12; letter-spacing: -0.025em; }
.sec__side p { margin-top: 1rem; max-width: 22rem; color: var(--text-2); }
.sec__grid--stack { grid-template-columns: minmax(0, 1fr); gap: 48px; }
.sec__grid--stack .sec__side { position: static; }
.sec__grid--stack .sec__side p { max-width: 36rem; }

.kicker { margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-3); }

.panel {
  padding: 32px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.panel:hover { border-color: var(--line-2); }
.sec--alt .panel { background: #12141D; }
.panel--accent { border-top-color: var(--violet); box-shadow: inset 0 1px 0 var(--violet); }
.panel h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
.panel > p:not(.panel__label) { margin-top: 0.75rem; color: var(--text-2); }
.panel > p + .dash { margin-top: 1.4rem; }
.panel > h3 + .dash { margin-top: 1.3rem; }
.panel > .panel__label { margin: 0 0 0.6rem; font-size: 0.88rem; color: var(--text-3); }
.panel--accent > .panel__label { color: var(--violet-text); }

/* Serviços */
.services li {
  display: grid; grid-template-columns: 44px minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 0 28px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.services li:hover { padding-left: 8px; }
.services li:first-child { border-top-color: var(--line-2); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services li:hover .ico { border-color: var(--violet-line); background: var(--violet-soft); }
.services h3 { padding-top: 0.5rem; font-size: 1.15rem; transition: color 0.3s; }
.services li:hover h3 { color: var(--violet-text); }
.services p { padding-top: 0.45rem; color: var(--text-2); font-size: 0.98rem; }

/* Contratação e IA */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.dash li { position: relative; padding-left: 1.4rem; color: var(--text); }
.dash li + li { margin-top: 0.65rem; }
.dash li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 3px; background: var(--violet); }
.dash--muted li { color: var(--text-2); }
.dash--muted li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }

/* Como trabalhamos */
.note {
  max-width: 44rem; padding: 44px 48px; border-radius: 16px;
  border: 1px solid var(--line); border-left: 3px solid var(--violet); background: #12141D;
}
.note p { font-size: 1.05rem; line-height: 1.75; color: var(--text-2); }
.note p + p { margin-top: 1.1rem; }
.note .note__lead { font-size: 1.28rem; line-height: 1.55; letter-spacing: -0.01em; color: var(--text); }
.sign { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.sign__avatar {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--violet-soft); border: 1.5px solid var(--violet-line); color: #C9C6FF; font-size: 0.95rem; font-weight: 500;
}
.sign p, .note .sign p { font-size: 1rem; line-height: 1.35; color: var(--text); }
.sign p span { display: block; font-size: 0.88rem; color: var(--text-3); }

/* Como começa um projeto */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { position: relative; padding-top: 3.25rem; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--violet-line); background: var(--bg); color: var(--violet-text); font-size: 0.9rem; font-weight: 500;
}
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 44px; right: -20px; top: 17px; height: 1px; background: var(--line-2); }
.steps h3 { font-size: 1.12rem; }
.steps p { margin-top: 0.45rem; font-size: 0.97rem; color: var(--text-2); }

/* Dúvidas */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 1.4rem 3rem 1.4rem 0; cursor: pointer; list-style: none;
  font-size: 1.1rem; font-weight: 500; transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-text); }
.faq summary::before, .faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--violet-text);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.faq summary:hover::before, .faq summary:hover::after { background: var(--violet); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { max-width: 40rem; padding-bottom: 1.5rem; color: var(--text-2); line-height: 1.7; }
.faq a, .about__text a { 
  color: var(--text); 
  text-decoration: none;
  position: relative;
  font-weight: 500;
  padding-bottom: 2px;
}
.faq a::after, .about__text a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transition: transform 0.25s var(--ease);
}
.faq a:hover, .about__text a:hover { 
  color: var(--violet-text); 
}
.faq a:hover::after, .about__text a:hover::after {
  transform: scaleY(1.5);
}

/* Sobre */
.about__text { max-width: 40rem; }
.about__text p { font-size: 1.12rem; line-height: 1.7; color: var(--text-2); }
.about__text p + p { margin-top: 1.2rem; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; }
.contact-info > p { margin-top: 1.25rem; max-width: 26rem; color: var(--text-2); font-size: 1.05rem; }
.contact { margin-top: 2.5rem; }
.contact li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); transition: padding-left 0.3s var(--ease); }
.contact li:hover { padding-left: 8px; }
.contact li:last-child { border-bottom: 1px solid var(--line); }
.contact li:hover .ico { border-color: var(--violet-line); background: var(--violet-soft); }
.contact li span:not(.ico) { display: block; font-size: 0.82rem; color: var(--text-3); }
.contact a, .contact strong { font-weight: 500; color: var(--text); transition: color 0.2s; }
.contact a:hover { color: var(--violet-text); }

.form { padding: 36px; border-radius: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.field label { font-size: 0.92rem; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23E9E9EC' stroke-opacity='.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 0.8rem center / 18px no-repeat;
}
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; min-height: 128px; }
.field ::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.22); }
.field .is-invalid { border-color: #E5727A; }

.consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); cursor: pointer; }
.consent a { 
  color: var(--text); 
  text-decoration: none;
  position: relative;
  font-weight: 500;
  padding-bottom: 2px;
}
.consent a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--line-2);
  transition: background 0.25s;
}
.consent a:hover::after { background: currentColor; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0.2rem 0 0;
  width: 18px; height: 18px; border-radius: 5px; cursor: pointer;
  background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s, border-color 0.2s;
}
.consent input:hover { border-color: var(--violet); }
.consent input:checked {
  border-color: var(--violet);
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.4 2.4L13 6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.consent.is-invalid input { border-color: #E5727A; }
.consent.is-invalid { color: #EE9399; }
.form__foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.75rem; }
.form__status { font-size: 0.93rem; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--violet-text); }
.form__status.is-error { color: #EE9399; }

/* ---------- Rodapé ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.footer__top + .footer__bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; flex-wrap: wrap; font-size: 0.88rem; color: var(--text-3); }
.footer__links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer__top .footer__links { font-size: 0.95rem; color: var(--text-2); }
.footer__links a { position: relative; transition: color 0.2s; }
.footer__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--violet);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.footer__links a:hover::after { transform: scaleX(1); }
.footer a:hover { color: var(--text); }
.footer--slim { padding: 28px 0; }

/* ---------- Páginas legais ---------- */
.legal { padding: calc(var(--header-h) + 88px) 0 112px; max-width: 760px; }
.legal h1 { font-size: clamp(2.3rem, 4.5vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.05; }
.legal .updated { margin-top: 1rem; color: var(--text-3); font-size: 0.92rem; }
.legal h2 { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 1.3rem; letter-spacing: -0.015em; }
.legal p, .legal li { margin-top: 0.9rem; color: var(--text-2); line-height: 1.75; }
.legal .kicker { margin: 0 0 1rem; color: var(--text-3); }
.legal ul li { position: relative; padding-left: 1.6rem; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 8px; height: 8px; border-radius: 3px; background: var(--violet); }
.legal a { 
  color: var(--text); 
  text-decoration: none;
  position: relative;
  font-weight: 500;
  padding-bottom: 2px;
}
.legal a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transition: transform 0.25s var(--ease);
}
.legal a:hover { color: var(--violet-text); }
.legal a:hover::after { transform: scaleY(1.5); }

/* ---------- Animações ---------- */
.rise { opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease) forwards; }
.hero h1.rise { animation-delay: 0.08s; }
.hero__lead.rise { animation-delay: 0.16s; }
.hero__actions.rise { animation-delay: 0.24s; }
.demo.rise { animation-delay: 0.3s; animation-duration: 1.2s; }
.hero__facts.rise { animation-delay: 0.4s; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .rise, .js .reveal { opacity: 1; transform: none; }
  .doc__scan { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.4rem; }
  .services li { grid-template-columns: 44px 1fr; gap: 0 20px; }
  .services p { grid-column: 2; padding-top: 0.6rem; }
  .options { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 24px 2rem; background: var(--bg);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; color: var(--text); font-weight: 500; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin: 2rem 0 0; height: 52px; font-size: 1.05rem; }

  .hero { padding-top: calc(var(--header-h) + 72px); }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 16ch; }
  .demo { justify-self: start; max-width: 560px; }

  .sec { padding: 88px 0; }
  .sec__grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec__side { position: static; }
  .sec__side p { max-width: 34rem; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 40rem; }
  .steps li { padding: 0 0 2.2rem 3.25rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: -0.1rem; }
  .steps li:not(:last-child)::after { left: 15px; right: auto; top: 2.2rem; bottom: 0.3rem; width: 1px; height: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 40px); }
  .hero { padding-top: calc(var(--header-h) + 52px); }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero__lead { font-size: 1.05rem; }
  .hero__actions { width: 100%; gap: 1rem; }
  .hero__actions .btn { flex: 1; height: 50px; }
  .hero__actions .link { flex: 1; justify-content: center; }
  .doc { margin: 12px; padding: 12px 11px 14px; }
  .doc__head span { display: none; }
  .doc__group--total { display: block; }
  .fields { padding: 12px 12px 12px 0; }
  .fields__row { padding: 0.5rem 20px 0.5rem 0; }
  .fields__row span { font-size: 0.7rem; }
  .fields__row output { font-size: 0.76rem; }
  .fields__row output.mono { font-size: 0.7rem; }

  .sec { padding: 72px 0; }
  .panel { padding: 24px 20px; }
  .services li { padding: 22px 0; }
  .note { padding: 28px 22px; }
  .note .note__lead { font-size: 1.15rem; }
  .note p { font-size: 1rem; }
  .about__text p { font-size: 1.05rem; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__foot .btn { width: 100%; height: 50px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
