:root {
  --brand: #7B08F4;
  --brand-2: #8500F4;
  --deep: #3900AE;
  --pink: #D45BFF;
  --lav: #C8B9F4;
  --night: #0B0B1F;
  --night-2: #15152E;
  --ink: #0B0B1F;
  --muted: #4A4A66;      /* AA em fundo branco/tint */
  --muted-dark: #B9B6D8; /* AA em #0B0B1F */
  --line: #E5E0F5;
  --tint: #F6F3FE;
  --white: #fff;
  --grad: linear-gradient(135deg, var(--pink) 0%, var(--brand) 45%, var(--deep) 100%);
  --r: 16px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
section[id], header[id] { scroll-margin-top: var(--header-h); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .footer :focus-visible { outline-color: var(--lav); }

.skip { position: absolute; left: 16px; top: -60px; background: var(--night); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 780px; }

/* Icones */
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Tipografia */
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--lav); }
h1 { font-size: clamp(2.25rem, 7vw, 3.9rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.125rem; color: var(--muted); margin-top: 22px; max-width: 34em; }
.sub { color: var(--muted); margin-top: 16px; font-size: 1.0625rem; max-width: 40em; }
.section--dark .sub { color: var(--muted-dark); }

/* Botoes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px rgba(123, 8, 244, .7); }
.btn--primary:hover { background: #6A00DA; transform: translateY(-1px); }
.btn--ghost { border-color: #CFC4EE; color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: var(--lav); }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(11, 11, 31, .25); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 36px; width: auto; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 24px 16px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; }
.nav.is-open { display: flex; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 1.125rem; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.nav__cta { margin-top: 20px; }

/* Hero */
.hero { position: relative; padding: calc(var(--header-h) + 48px) 0 64px; overflow: hidden; background:
  radial-gradient(60% 50% at 85% 10%, rgba(212, 91, 255, .16), transparent 70%),
  radial-gradient(50% 45% at 0% 100%, rgba(123, 8, 244, .08), transparent 70%), #fff; }
.hero__in { display: grid; gap: 48px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: var(--muted); font-size: .9375rem; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .i { color: var(--brand); }

/* Mock do portal */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(57, 0, 174, .45), 0 0 0 6px rgba(200, 185, 244, .25); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--tint); border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); font-weight: 600; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D8CFF2; }
.mock__bar span { margin-left: 10px; }
.mock__body { display: grid; grid-template-columns: 112px 1fr; min-height: 300px; }
.mock__side { background: var(--night); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.mock__side img { margin-bottom: 12px; }
.mock__side span { color: var(--muted-dark); font-size: .75rem; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.mock__side .is-on { background: rgba(200, 185, 244, .16); color: #fff; }
.mock__main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.mock__card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8125rem; }
.chip { font-style: normal; font-size: .6875rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip--a { background: #EFE3FE; color: #5A00B8; }
.chip--b { background: #DDF5E8; color: #0B6B3A; }
.chip--c { background: #E8ECFA; color: #2B3F8F; }
.skel { height: 8px; border-radius: 4px; background: #E9E4F7; }
.w80 { width: 80%; } .w70 { width: 70%; } .w65 { width: 65%; } .w55 { width: 55%; }
.file { display: flex; align-items: center; gap: 10px; color: var(--brand); }
.file .skel { flex: 1; }
.mock__note { position: absolute; right: 12px; bottom: 8px; font-size: .6875rem; color: var(--muted); }

/* Secoes */
.section { padding: 80px 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--night); color: #fff; }
.section--glow::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 100% 0%, rgba(123, 8, 244, .32), transparent 70%); }
.section--glow > * { position: relative; }
.head { max-width: 46rem; margin-bottom: 48px; }
.center { text-align: center; margin-top: 40px; }

.grid { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: #CDBDF3; box-shadow: 0 20px 40px -28px rgba(57, 0, 174, .5); }
.card p { color: var(--muted); margin-top: 10px; font-size: .96875rem; }
.card h3 { margin-top: 18px; }
.card--accent { background: var(--night); border-color: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.card--accent h3 { margin-top: 0; }
.card--accent p { color: var(--muted-dark); }
.card--dark { background: var(--night-2); border-color: rgba(200, 185, 244, .16); }
.card--dark:hover { border-color: rgba(200, 185, 244, .45); box-shadow: none; }
.card--dark p { color: var(--muted-dark); }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--brand); }
.ico .i { width: 24px; height: 24px; }
.card--dark .ico, .sec .ico { background: rgba(200, 185, 244, .12); color: var(--lav); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--lav); text-decoration: none; }
.link:hover { text-decoration: underline; }
.note { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(200, 185, 244, .16); color: var(--muted-dark); max-width: 46rem; }

/* Passos */
.steps { display: grid; gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-left: 64px; }
.steps .n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps p { color: var(--muted); margin-top: 6px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: -20px; width: 2px; background: linear-gradient(var(--lav), transparent); }

/* Seguranca / split */
.split { display: grid; gap: 40px; align-items: start; }
.sec { display: grid; gap: 14px; }
.sec li { display: flex; gap: 16px; padding: 22px; border: 1px solid rgba(200, 185, 244, .16); border-radius: var(--r); background: rgba(21, 21, 46, .7); }
.sec p { color: var(--muted-dark); margin-top: 6px; font-size: .96875rem; }
.sec .ico { flex: none; }

/* FAQ */
.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: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--brand); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 40em; }

/* Contato */
.contact { margin-top: 28px; color: var(--muted-dark); }
.contact a { color: #fff; font-weight: 600; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px 22px; display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #CFC8E6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(123, 8, 244, .35); outline-offset: 0; border-color: var(--brand); }
.form__note { font-size: .8125rem; color: var(--muted); }

/* Rodape */
.footer { background: var(--night); color: var(--muted-dark); padding: 56px 0 28px; border-top: 1px solid rgba(200, 185, 244, .14); font-size: .9375rem; }
.footer__in { display: grid; gap: 32px; }
.footer__logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(200, 185, 244, .14); font-size: .8125rem; }

/* Tablet+ */
@media (min-width: 720px) {
  .container { padding: 0 24px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .steps li:not(:last-child)::after { display: none; }
  .form { padding: 36px; }
}
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { height: 42px; }
  .burger { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; overflow: visible; }
  .nav a:not(.btn) { border: 0; padding: 6px 0; font-size: .9375rem; font-weight: 500; color: var(--muted); }
  .nav a:not(.btn):hover { color: var(--brand); }
  .nav__cta { margin: 0; }
  .hero { padding: calc(var(--header-h) + 80px) 0 110px; }
  .hero__in { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .section { padding: 112px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .split > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
  .footer__in { grid-template-columns: 1.3fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .btn--primary:hover { transform: none; }
}
