/* =========================================================
   agi.cert — landing page
   ========================================================= */
:root {
  --blue: #2340ff;
  --blue-2: #4f6bff;
  --blue-3: #8ea4ff;
  --ink: #05060c;
  --ink-2: #11131f;
  --text: #1a1d2b;
  --muted: #6b7392;
  --light: #eef1f8;
  --line: rgba(20, 30, 80, .09);
  --white: #fff;
  --radius: 14px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(1640px, 100% - 40px); margin-inline: auto; }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 16px; border-radius: 6px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost { color: #e8ebf7; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: 0 8px 30px -8px rgba(143,164,255,.8); }
.btn--outline { border: 1px solid rgba(35,64,255,.25); color: var(--blue); background: rgba(35,64,255,.03); }
.btn--outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--block { width: 100%; height: 46px; }

/* ---------------- Navbar ---------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px 0;
  animation: navIn 1s var(--ease) both;
  transition: padding .4s var(--ease);
}
@keyframes navIn { from { transform: translateY(-100%); opacity: 0; } }
.nav__inner {
  width: min(1660px, 100% - 24px); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  height: 58px; padding: 0 8px 0 16px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  background: rgba(8,10,20,.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s, box-shadow .4s, border-color .4s;
}
.nav.is-scrolled { padding: 8px 0; }
.nav.is-scrolled .nav__inner {
  background: rgba(8,10,20,.82);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  border-color: rgba(143,164,255,.18);
}

.nav__links {
  position: relative; justify-self: center;
  display: flex; gap: 4px; height: 100%; align-items: center;
  padding: 0 18px;
  border-inline: 1px solid rgba(255,255,255,.08);
}
.nav__links a {
  position: relative; z-index: 1;
  padding: 8px 14px; font-size: 14px; color: #aab0c6;
  transition: color .3s;
  opacity: 0; animation: fadeDown .7s var(--ease) forwards;
}
.nav__links a:nth-child(1) { animation-delay: .35s; }
.nav__links a:nth-child(2) { animation-delay: .43s; }
.nav__links a:nth-child(3) { animation-delay: .51s; }
.nav__links a:nth-child(4) { animation-delay: .59s; }
.nav__links a:nth-child(5) { animation-delay: .67s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__ink {
  position: absolute; top: 50%; height: 34px; translate: 0 -50%;
  left: var(--ink-x, 0); width: var(--ink-w, 0);
  border-radius: 7px; background: rgba(143,164,255,.14);
  opacity: var(--ink-o, 0);
  transition: left .45s var(--ease), width .45s var(--ease), opacity .3s;
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.nav__actions { display: flex; gap: 8px; align-items: center; }
.nav__actions .btn { opacity: 0; animation: fadeDown .7s var(--ease) forwards .65s; }
.nav__actions .btn + .btn { animation-delay: .75s; }
.nav__burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile {
  width: min(1660px, 100% - 24px); margin: 8px auto 0; padding: 12px;
  display: grid; gap: 4px;
  border-radius: 12px; background: rgba(8,10,20,.92); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  animation: fadeDown .4s var(--ease);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 12px; color: #dfe3f2; border-radius: 8px; }
.nav__mobile a:hover { background: rgba(255,255,255,.06); }
.nav__mobile .btn { color: var(--ink); margin-top: 6px; }

/* ---------------- Logo ---------------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.logo__mark { width: 28px; height: 28px; overflow: visible; }
.logo__face { stroke: #c9d3ff; stroke-width: 1; stroke-linejoin: round; transform-box: view-box; transform-origin: 16px 16px; }
.logo__face--t { fill: #8ea4ff; animation: faceT 1s var(--ease) both .15s; }
.logo__face--l { fill: #2340ff; animation: faceL 1s var(--ease) both .25s; }
.logo__face--r { fill: #4f6bff; animation: faceR 1s var(--ease) both .35s; }
@keyframes faceT { from { transform: translateY(-9px); opacity: 0; } }
@keyframes faceL { from { transform: translate(-8px, 5px); opacity: 0; } }
@keyframes faceR { from { transform: translate(8px, 5px); opacity: 0; } }
.logo__check {
  fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 20; stroke-dashoffset: 20;
  animation: checkDraw .7s var(--ease) forwards 1s, checkPulse 5s ease-in-out infinite 2s;
}
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
@keyframes checkPulse { 0%, 80%, 100% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 20; } }
.logo__cube { transition: transform .6s var(--ease); transform-origin: 16px 16px; }
.logo:hover .logo__cube { transform: rotate(-12deg) scale(1.08); }
.logo:hover .logo__face--t { transform: translateY(-2px); transition: transform .4s var(--ease); }
.logo__word { display: inline-flex; overflow: hidden; }
.logo__word > span { display: inline-block; animation: wordUp .8s var(--ease) both; }
.logo__agi { animation-delay: .3s !important; }
.logo__dot { color: var(--blue-3); animation-delay: .42s !important; }
.logo__cert { animation-delay: .5s !important; color: #c8cfe6; }
.logo:hover .logo__dot { animation: dotBounce .6s var(--ease); }
@keyframes wordUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes dotBounce { 40% { transform: translateY(-6px); color: #fff; } }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 0 36px;
  color: #fff;
  background:
    linear-gradient(180deg, transparent 70%, #4d6cff 100%),
    linear-gradient(165deg, #04050a 0%, #05071a 28%, #0b1580 52%, #1f3af0 70%, #4d6cff 92%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.blob--a { width: 60vw; height: 60vw; right: -12vw; top: 8%; background: radial-gradient(circle, #2f4dff 0%, transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.blob--b { width: 45vw; height: 45vw; left: -10vw; top: 45%; background: radial-gradient(circle, #3550ff 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; opacity: .55; }
@keyframes drift { to { transform: translate(-6vw, 4vw) scale(1.12); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px; } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; width: min(1640px, 100% - 40px); }
.hero__copy { position: relative; z-index: 2; top: -14vh; }
.tags { display: flex; gap: 8px; margin-bottom: 28px; }
.tag {
  font: 500 11px var(--mono); letter-spacing: .04em;
  padding: 6px 9px; border-radius: 3px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #e4e7f3;
}
.tag__muted { color: #7d849e; }
.live { display: inline-block; width: 7px; height: 7px; margin: 0 3px 1px 2px; background: #7dffb0; border-radius: 1px; animation: livePulse 1.6s ease-in-out infinite; vertical-align: middle; }
@keyframes livePulse { 50% { opacity: .25; box-shadow: 0 0 10px #7dffb0; } }

.hero__title { margin: 0; font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.hero__title .line { display: block; padding-bottom: .06em; white-space: nowrap; }
.line--sm { font-size: clamp(20px, 2.3vw, 34px); letter-spacing: -.03em; margin-bottom: .25em; }
.line--sm .word > span { color: #a4a9bb; }
.line--xl { font-size: clamp(48px, 5.6vw, 96px); line-height: .95; font-weight: 500; letter-spacing: -.06em; }
.hero__title .word > .em {
  background: linear-gradient(90deg, #ffffff 0%, #b9c6ff 35%, #6f88ff 65%, #ffffff 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .2em; margin-bottom: -.2em;
  animation: wordUp 1s var(--ease) forwards, shine 5s linear infinite;
  animation-delay: calc(.25s + var(--w) * .08s), 1.4s;
}
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .24em; margin-bottom: -.24em; }
.word > span { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(.25s + var(--w) * .08s); }


.hero__sub { max-width: 440px; margin: 26px 0 34px; font-size: 17px; line-height: 1.55; color: #c3c8da; }

.cta {
  --h: 50px;
  display: inline-flex; align-items: stretch; height: var(--h);
  border-radius: 8px; overflow: hidden; cursor: pointer; border: 0; padding: 0;
  background: linear-gradient(180deg, #6f88ff, #3a57ff);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 40px -12px rgba(50,80,255,.9);
  color: #fff; font-size: 15px; font-weight: 500;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.cta__label { display: flex; align-items: center; padding: 0 22px; }
.cta__icon { display: grid; place-items: center; width: var(--h); background: rgba(10,20,140,.35); border-left: 1px solid rgba(255,255,255,.15); }
.cta svg, .link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 20px 50px -12px rgba(50,80,255,1); }
.cta:hover svg { transform: translateX(3px); animation: nudge .9s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.hero__visual { position: relative; margin-right: -80px; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease); }
.hero__visual img { width: 100%; max-height: 62svh; object-fit: contain; opacity: 0; animation: heroIn 1.6s var(--ease) forwards .3s; filter: drop-shadow(0 40px 60px rgba(10, 20, 160, .45)); }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }

.trust { margin-top: 40px; }
.eyebrow { font: 500 11px var(--mono); letter-spacing: .08em; color: rgba(255,255,255,.65); margin: 0 0 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: #fff; opacity: .92; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track { align-items: center; }
.mq { display: inline-flex; align-items: center; height: 34px; }
.mq { flex: none; }
.mq__logo { display: block; height: 26px; width: auto; max-width: none; flex: none; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; transition: opacity .3s, transform .3s var(--ease); }
.mq__logo[src*="govbr"] { height: 30px; }
.mq__logo[src*="receita"] { height: 34px; }
.mq__logo[src*="caixa"] { height: 22px; }
.mq__logo[src*="esocial"] { height: 30px; }
.mq:hover .mq__logo { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------------- Seções ---------------- */
.section { padding: 92px 0; position: relative; }
#solucoes { background: linear-gradient(180deg, #4d6cff 0%, #a9b9ff 9%, #dfe5fb 18%, var(--light) 28%); }
.h2 {
  margin: 0; font-weight: 400;
  font-size: clamp(36px, 5vw, 58px); line-height: 1.02; letter-spacing: -.05em; color: #23262f;
}
.grad { background: linear-gradient(90deg, #4664ff, #8ea4ff 60%, #4664ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.lead { max-width: 520px; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* Features */
.features {
  width: min(1680px, 100% - 24px); margin: 60px auto 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature {
  --mx: 50%; --my: 50%;
  position: relative; padding: 18px 28px 40px;
  border-right: 1px solid var(--line);
  transition: background .4s;
}
.feature:last-child { border-right: 0; }
.feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(79,107,255,.12), transparent 60%);
}
.feature:hover::before { opacity: 1; }
.feature__idx { font: 500 10px var(--mono); color: #b0b6cc; letter-spacing: .06em; }
.feature__art { height: 220px; display: grid; place-items: center; margin: 4px 0 18px; }
.feature__art img { width: 100%; max-width: 250px; transition: transform .6s var(--ease); }
.feature:hover .feature__art img { transform: translateY(-6px) scale(1.04); }
.feature h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; letter-spacing: -.02em; color: #1b1e29; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; max-width: 230px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #1b1e29; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.link-arrow:hover { background-size: 100% 1px; }

/* Por que ter */
#solucoes { padding-bottom: 80px; }
.why { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 20px; margin-top: 56px; }
.why__card {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: 20px;
  background: rgba(255,255,255,.72); border: 1px solid #fff;
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -44px rgba(20,30,90,.4);
}
.why .why__card.is-in { transition: transform .5s cubic-bezier(.2,1.3,.4,1), box-shadow .5s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.why .why__card.is-in:hover { transform: translateY(-8px); box-shadow: 0 1px 0 #fff inset, 0 44px 70px -40px rgba(20,30,120,.5); }
.why__card h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 500; letter-spacing: -.03em; color: #1b1e29; }
.why__card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.why__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(180deg, #eef1ff, #dfe5ff); border: 1px solid rgba(35,64,255,.12);
  transition: transform .5s cubic-bezier(.2,1.6,.4,1);
}
.why__card:hover .why__icon { transform: rotate(-8deg) scale(1.1); }
.why__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.why__icon .draw { stroke-dasharray: 80; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.why__icon .d2 { transition-delay: .8s; }
.js .why__card:not(.is-in) .draw { stroke-dashoffset: 80; }
.why__icon--clock .hand { transform-origin: 12px 12px; animation: spin 6s linear infinite; }
.why__icon--clock .hand2 { transform-origin: 12px 12px; animation: spin 36s linear infinite; }
.why__icon--lock .shackle { animation: shackle 3s var(--ease) infinite; }
@keyframes shackle { 0%, 60%, 100% { transform: translateY(0); } 70%, 85% { transform: translateY(-2.5px); } }
.why__icon--globe .spin { transform-origin: 12px 12px; animation: globe 4s ease-in-out infinite; }
@keyframes globe { 50% { transform: scaleX(-1); } }

.why__card--big {
  grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column;
  color: #fff; padding: 34px;
  background: linear-gradient(160deg, #070a24 0%, #121f9e 55%, #3550ff 100%);
  border-color: rgba(143,164,255,.35);
  box-shadow: 0 40px 80px -40px rgba(35,64,255,.85);
}
.why__card--big h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; margin-top: 18px; }
.why__card--big p { color: #c3cbf2; max-width: 380px; }
.why__tag { align-self: flex-start; font: 500 10.5px var(--mono); letter-spacing: .06em; padding: 6px 9px; border-radius: 4px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.why__doc { flex: 1; display: grid; place-items: end center; padding-top: 34px; perspective: 900px; }
.why__paper {
  position: relative; width: min(300px, 100%); aspect-ratio: 4 / 3.2; padding: 22px;
  border-radius: 10px; background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0,0,30,.6);
  transform: rotateX(18deg) rotateZ(-4deg); transition: transform .7s var(--ease);
  animation: paperFloat 6s ease-in-out infinite;
}
.why__card--big:hover .why__paper { transform: rotateX(0) rotateZ(0) scale(1.03); }
@keyframes paperFloat { 50% { translate: 0 -8px; } }
.why__bar { display: block; width: 44%; height: 8px; border-radius: 3px; background: var(--blue); margin-bottom: 14px; }
.why__paper i { display: block; height: 5px; border-radius: 3px; background: #e3e7f2; margin-bottom: 8px; }
.why__paper i.short { width: 60%; }
.why__sig { position: absolute; left: 18px; bottom: 30px; width: 58%; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.why__card.is-in .why__sig { animation: sigDraw 5s var(--ease) infinite .6s; }
@keyframes sigDraw { 0% { stroke-dashoffset: 260; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
.why__line { position: absolute; left: 18px; bottom: 26px; width: 58%; border-top: 1px dashed #b8bfd6; }
.why__seal {
  position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(180deg, #6f88ff, #2340ff);
  box-shadow: 0 0 0 6px rgba(35,64,255,.12); transform: scale(0);
}
.why__card.is-in .why__seal { animation: sealPop 5s cubic-bezier(.3,1.6,.5,1) infinite .6s; }
@keyframes sealPop { 0%, 38% { transform: scale(0) rotate(-30deg); } 48%, 85% { transform: scale(1) rotate(0); } 100% { transform: scale(0); } }
.why__seal svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing */
.section--pricing { padding-top: 60px; }
.pricing__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(20,30,80,.4);
}
.switch__btn {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 10px 22px; border-radius: 8px; text-align: left;
  font-size: 15px; font-weight: 500; color: #5a6180; transition: color .35s;
}
.switch__btn small { display: block; font-size: 11px; font-weight: 400; opacity: .7; }
.switch__btn.is-active { color: #fff; }
.switch__pill {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 8px; background: linear-gradient(180deg, #5c78ff, #2340ff);
  box-shadow: 0 8px 20px -8px rgba(35,64,255,.8);
  transition: transform .5s var(--ease);
}
.switch[data-active="cnpj"] .switch__pill { transform: translateX(100%); }

.plans { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: min(1060px, 100%); margin: 64px auto 0; align-items: stretch; }
.plan {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column;
  padding: 40px 32px 32px; border-radius: 20px; min-height: 580px; cursor: pointer;
  background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -40px rgba(20,30,90,.35);
  backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(79,107,255,.1), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.plans .plan.is-in { transition: transform .55s cubic-bezier(.2,1.3,.4,1), box-shadow .55s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.plans .plan.is-in:hover { transform: translateY(-14px) scale(1.06); z-index: 2; box-shadow: 0 1px 0 #fff inset, 0 60px 90px -40px rgba(20,30,120,.55); }
.plans .plan--featured.is-in:hover { box-shadow: 0 60px 100px -40px rgba(35,64,255,1); }
.plans:hover .plan.is-in:not(:hover) { opacity: .75; transform: scale(.98); }
.plan:hover::after { opacity: 1; }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan__name { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.chip { font: 500 10.5px var(--mono); letter-spacing: .03em; padding: 5px 8px; border-radius: 4px; background: rgba(35,64,255,.07); color: var(--blue); }
.plan__desc { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 14px 0 26px; min-height: 42px; }
.price { display: flex; align-items: flex-start; gap: 6px; }
.price__cur { font-size: 16px; margin-top: 10px; color: var(--muted); }
.price__val { font-size: 54px; font-weight: 400; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.price__val.is-swap { animation: priceSwap .55s var(--ease); }
@keyframes priceSwap { 0% { opacity: 0; transform: translateY(14px); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
.price__note { margin: 10px 0 24px; font-size: 13px; color: var(--muted); }
.plan__list { list-style: none; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px dashed rgba(20,30,80,.14); display: grid; gap: 12px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 14px; color: #383d52; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 4px;
  background: rgba(35,64,255,.1) 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='%232340ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.plan--featured {
  color: #fff;
  background: linear-gradient(160deg, #0a0f3a 0%, #1a30d8 60%, #4f6bff 100%);
  border-color: rgba(143,164,255,.4);
  box-shadow: 0 40px 80px -40px rgba(35,64,255,.9);
}
.plan__fx { position: absolute !important; inset: 0; z-index: 0 !important; border-radius: inherit; overflow: hidden; pointer-events: none; }
.plan__fx::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(180,195,255,.35) 80%, transparent 90%);
  animation: spin 7s linear infinite;
  mask: radial-gradient(circle, transparent 62%, #000 63%);
}
.plan--featured > * { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.plan--featured .plan__desc, .plan--featured .price__note, .plan--featured .price__cur { color: #c3cbf2; }
.plan--featured .plan__list { border-color: rgba(255,255,255,.2); }
.plan--featured .plan__list li { color: #eef1ff; }
.plan--featured .plan__list li::before { background-color: rgba(255,255,255,.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.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"); }
.chip--light { background: rgba(255,255,255,.14); color: #fff; }
.plan__badge {
  position: absolute !important; top: 0; left: 50%; z-index: 3 !important;
  transform: translate(-50%, -50%);
  font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  padding: 7px 14px; border-radius: 99px; background: #fff; color: var(--blue);
  box-shadow: 0 0 0 1px rgba(143,164,255,.5), 0 8px 20px -6px rgba(35,64,255,.6);
  animation: badgeGlow 2.8s ease-in-out infinite;
}
@keyframes badgeGlow { 50% { box-shadow: 0 0 0 4px rgba(143,164,255,.25), 0 8px 24px -4px rgba(35,64,255,.8); } }

.pricing__foot { margin: 36px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.pricing__foot a { color: var(--blue); font-weight: 500; }
.pricing__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Contato */
.section--contact { padding-bottom: 120px; }
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.form { margin-top: 40px; display: grid; gap: 16px; max-width: 560px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 12.5px; font-weight: 500; color: #4a5070; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 9px;
  border: 1px solid rgba(20,30,80,.12); background: rgba(255,255,255,.8);
  color: var(--text); font-size: 15px; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(79,107,255,.15); }
.field.is-invalid input { border-color: #ff5a6e; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.cta--submit { justify-self: start; margin-top: 6px; }
.form__msg { margin: 0; min-height: 20px; font-size: 13.5px; color: var(--blue); }

.digest {
  padding: 22px; border-radius: 18px;
  background: rgba(255,255,255,.7); border: 1px solid #fff;
  box-shadow: 0 40px 80px -50px rgba(20,30,90,.45);
  backdrop-filter: blur(10px);
}
.digest__head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
.digest__date { font: 500 10px var(--mono); padding: 4px 7px; border-radius: 4px; background: rgba(20,30,80,.05); color: var(--muted); }
.digest__label { font-size: 11.5px; color: #9aa1bb; margin: 20px 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0 0 6px; padding: 0; position: relative; }
.steps li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; padding: 12px 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.digest.is-in .steps li { opacity: 1; transform: none; }
.digest.is-in .steps li:nth-child(2) { transition-delay: .2s; }
.digest.is-in .steps li:nth-child(3) { transition-delay: .4s; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 15.5px; top: 44px; bottom: -12px; width: 1px;
  background: linear-gradient(var(--blue-2), rgba(79,107,255,.35));
  transform-origin: top; transform: scaleY(0); transition: transform .6s var(--ease);
}
.digest.is-in .steps li:nth-child(1)::after { transform: scaleY(1); transition-delay: .35s; }
.digest.is-in .steps li:nth-child(2)::after { transform: scaleY(1); transition-delay: .55s; }
.steps li > div { padding-top: 6px; }
.steps__num { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font: 500 11px var(--mono); color: #fff; background: linear-gradient(180deg, #6f88ff, #2340ff); box-shadow: 0 6px 16px -6px rgba(35,64,255,.8); }
.steps li:hover .steps__num { animation: dotBounce .6s var(--ease); }
.steps p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.docs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.docs li { font-size: 12.5px; padding: 7px 10px; border-radius: 7px; background: rgba(35,64,255,.05); border: 1px solid rgba(35,64,255,.08); color: #3a3f55; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.docs li small { color: var(--muted); }
.digest.is-in .docs li { opacity: 1; transform: none; }
.digest.is-in .docs li:nth-child(1) { transition-delay: .6s; } .digest.is-in .docs li:nth-child(2) { transition-delay: .68s; }
.digest.is-in .docs li:nth-child(3) { transition-delay: .76s; } .digest.is-in .docs li:nth-child(4) { transition-delay: .84s; }
.digest__row { display: flex; align-items: center; gap: 10px; }
.digest__row strong { font-size: 13.5px; font-weight: 500; }
.pill { font-size: 10.5px; padding: 3px 7px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; }
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: livePulse 1.6s infinite; }
.pill--ok { background: rgba(34,197,94,.1); color: #16a34a; }
.pill--wait { background: rgba(35,64,255,.08); color: var(--blue); }
.digest__channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.channel { display: grid; gap: 3px; padding: 14px; border-radius: 10px; background: rgba(35,64,255,.05); border: 1px solid rgba(35,64,255,.08); transition: background .3s, transform .3s var(--ease); }
.channel:hover { background: rgba(35,64,255,.1); transform: translateY(-2px); }
.channel b { font-size: 12px; font-weight: 500; color: var(--blue); }
.channel span { font-size: 12.5px; color: #3a3f55; overflow-wrap: anywhere; }

/* Rodapé */
.footer {
  position: relative; overflow: hidden;
  padding: 170px 0 28px; color: #aab0c6;
  background: linear-gradient(180deg, var(--light) 0%, #b4c2ff 12%, #3550ff 36%, #0b1580 62%, #04050a 100%);
}
.footer::before {
  content: ""; position: absolute; left: 50%; top: 20%; width: 900px; height: 900px; translate: -50% 0;
  background: radial-gradient(circle, rgba(143,164,255,.3), transparent 60%);
  animation: drift 12s ease-in-out infinite alternate; pointer-events: none;
}
.footer__top { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__note { margin: 16px 0 0; max-width: 34ch; font-size: 14px; line-height: 1.5; color: #c3c8da; }
.footer__title { margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.footer__contact { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: #e8ebf7; transition: color .3s, transform .3s var(--ease); }
.footer__contact:hover { color: #fff; transform: translateX(3px); }
.footer svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact svg { width: 18px; height: 18px; flex: none; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  transition: transform .4s cubic-bezier(.2,1.6,.4,1), background .3s, color .3s;
}
.social a:hover { transform: translateY(-4px) rotate(-6deg); background: #fff; color: var(--blue); }
.social svg { width: 20px; height: 20px; }
.footer__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.footer__copy { margin: 0; font-size: 13px; }
.to-top { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: #e8ebf7; font-size: 13px; cursor: pointer; }
.to-top__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); transition: background .3s, color .3s, transform .4s cubic-bezier(.2,1.6,.4,1); }
.to-top svg { width: 16px; height: 16px; }
.to-top:hover .to-top__icon { background: #fff; color: var(--blue); transform: translateY(-4px); }
.to-top:hover svg { animation: upNudge .9s var(--ease) infinite; }
@keyframes upNudge { 50% { transform: translateY(-3px); } }
.to-top:focus-visible, .social a:focus-visible, .footer__contact:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }

/* ---------------- Cabeçalhos de seção (espelhados) ---------------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.sec-head .lead { margin: 0; max-width: 420px; }
.sec-head--flip { justify-content: flex-end; text-align: right; }
.swipe-hint { display: none; }

/* ---------------- Seções em azul-claro (intercaladas) ---------------- */
.section--tint {
  isolation: isolate; overflow: hidden;
  background:
    linear-gradient(180deg, var(--light) 0, rgba(238,241,248,0) 120px),
    linear-gradient(0deg, var(--light) 0, rgba(238,241,248,0) 120px),
    radial-gradient(55% 60% at 88% 0%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(143,164,255,.25), transparent 70%),
    linear-gradient(180deg, #dbe3ff 0%, #e3e9fe 100%);
}
.section--tint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(35,64,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(35,64,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 80% 10%, #000, transparent 70%), linear-gradient(transparent, #000 120px, #000 calc(100% - 120px), transparent);
  mask-composite: intersect; -webkit-mask-composite: source-in;
}
.section--tint .why__card:not(.why__card--big) { background: rgba(255,255,255,.85); }

/* ---------------- Roadmap (Como funciona) ---------------- */
.section--road { padding-bottom: 108px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.road { position: relative; margin-top: 72px; }
.road__svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 1; }
.road__track { fill: none; stroke: rgba(35,64,255,.28); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 12; }
.road__fill { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 12px rgba(35,64,255,.35)); }
.road__marker {
  position: absolute; left: 0; top: 0; z-index: 3; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%; background: #fff; border: 6px solid var(--blue);
  box-shadow: 0 0 0 8px rgba(35,64,255,.16), 0 10px 24px rgba(35,64,255,.55);
  will-change: transform; transition: opacity .4s;
}
.road__marker::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(35,64,255,.5); animation: markerPing 1.8s var(--ease) infinite; }
@keyframes markerPing { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.road__marker.is-done { opacity: 0; }
.road__steps { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
.road__step { display: grid; grid-template-columns: 1fr 260px 1fr; align-items: center; }
.road__node {
  grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 2;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font: 600 17px var(--mono); color: #7d86aa; background: #fff; border: 2px dashed rgba(35,64,255,.35);
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s, transform .5s cubic-bezier(.2,1.6,.4,1);
}
.road__node svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.road__step.is-reached .road__node {
  color: #fff; border: 2px solid transparent; background: linear-gradient(180deg, #6f88ff, #2340ff) padding-box;
  transform: scale(1.12); box-shadow: 0 0 0 8px rgba(35,64,255,.12), 0 14px 28px -8px rgba(35,64,255,.8);
}
.road__card {
  grid-row: 1; width: 100%; max-width: 420px; padding: 24px 26px; border-radius: 18px;
  background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 1px 0 #fff inset, 0 24px 50px -36px rgba(20,30,90,.45);
}
.road__step--left .road__card { grid-column: 1; justify-self: end; text-align: right; }
.road__step--right .road__card { grid-column: 3; justify-self: start; }
.road__step.is-reached .road__card { border-color: rgba(79,107,255,.4); box-shadow: 0 1px 0 #fff inset, 0 30px 60px -30px rgba(35,64,255,.5); }
.road__time { display: inline-block; font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: rgba(35,64,255,.08); color: var(--blue); }
.road__card h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 500; letter-spacing: -.03em; color: #1b1e29; text-wrap: balance; }
.road__card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.road__step--goal .road__node { width: 62px; height: 62px; }
.road__card--goal { background: linear-gradient(150deg, #0a0f3a 0%, #1a30d8 60%, #4f6bff 100%); border-color: rgba(143,164,255,.4); color: #fff; }
.road__card--goal .road__time { background: rgba(255,255,255,.14); color: #fff; }
.road__card--goal h3 { color: #fff; }
.road__card--goal p { color: #c9d1f5; }
.road__card--goal .link-arrow { margin-top: 16px; color: #fff; }


/* ---------------- Contato: checklist "Antes de começar" ---------------- */
.prep {
  position: relative; overflow: hidden;
  padding: 26px; border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,.95), rgba(240,243,255,.9));
  border: 1px solid #fff;
  box-shadow: 0 1px 0 #fff inset, 0 40px 80px -50px rgba(20,30,90,.5);
}
.prep::before {
  content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,107,255,.22), transparent 70%); pointer-events: none;
  transition: transform 1s var(--ease);
}
.prep.is-complete::before { transform: scale(2.4); }
.prep__head { position: relative; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.prep__eyebrow { margin: 0 0 6px; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.prep__title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; color: #1b1e29; }
.prep__sub { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); max-width: 30ch; }

.ring { position: relative; flex: none; width: 64px; height: 64px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring__bg { stroke: rgba(35,64,255,.1); }
.ring__fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 157.1; stroke-dashoffset: 157.1; transition: stroke-dashoffset .7s var(--ease), stroke .4s; }
.prep.is-complete .ring__fg { stroke: #16a34a; }
.ring__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; font: 500 13px var(--mono); color: var(--muted); }
.ring__label b { color: #1b1e29; font-weight: 600; }

.prep__type { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 20px 0 14px; padding: 4px; border-radius: 10px; background: rgba(35,64,255,.06); }
.prep__type button { border: 0; padding: 7px 14px; border-radius: 7px; background: transparent; color: #5a6180; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.prep__type button[aria-checked="true"] { background: #fff; color: var(--blue); box-shadow: 0 4px 12px -6px rgba(20,30,90,.4); }

.prep__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prep__list li[hidden] { display: none; }
.prep__list li.is-entering { animation: itemIn .5s var(--ease); }
@keyframes itemIn { from { opacity: 0; transform: translateY(-8px); } }
.prep__item {
  width: 100%; display: grid; grid-template-columns: 40px 1fr 26px; gap: 12px; align-items: center;
  padding: 10px 12px 10px 10px; border-radius: 12px; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid rgba(20,30,80,.08); color: inherit;
  transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s;
}
.prep__item:hover { border-color: rgba(79,107,255,.4); transform: translateX(3px); }
.prep__item:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.prep__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(35,64,255,.07); color: var(--blue); transition: background .3s, color .3s; }
.prep__icon svg, .prep__check svg, .prep__channels svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prep__text { display: grid; gap: 2px; min-width: 0; }
.prep__text strong { font-size: 14px; font-weight: 500; color: #1b1e29; }
.prep__text small { font-size: 12px; color: var(--muted); }
.prep__check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(20,30,80,.18); color: #fff; transition: background .3s, border-color .3s, transform .4s cubic-bezier(.2,1.8,.4,1); }
.prep__check svg { width: 15px; height: 15px; stroke-width: 2.4; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease) .1s; }
.prep__item[aria-checked="true"] { background: rgba(35,64,255,.04); border-color: rgba(35,64,255,.25); }
.prep__item[aria-checked="true"] .prep__icon { background: var(--blue); color: #fff; }
.prep__item[aria-checked="true"] .prep__check { background: var(--blue); border-color: var(--blue); transform: scale(1.1); }
.prep__item[aria-checked="true"] .prep__check svg { stroke-dashoffset: 0; }
.prep__item[aria-checked="true"] .prep__text strong { text-decoration: line-through; text-decoration-color: rgba(35,64,255,.4); }

.prep__status { margin: 12px 2px 0; min-height: 18px; font-size: 12.5px; color: var(--muted); }
.prep__done {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; padding: 0 16px; border-radius: 14px;
  background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff;
  transition: max-height .5s var(--ease), opacity .4s, padding .5s var(--ease), margin .5s var(--ease);
}
.prep__done > div { display: grid; gap: 2px; }
.prep__done strong { font-size: 15px; font-weight: 600; }
.prep__done span { font-size: 12.5px; opacity: .9; }
.prep__done .btn { color: #15803d; flex: none; border: 0; cursor: pointer; font-family: inherit; }
.prep.is-complete .prep__done { max-height: 140px; opacity: 1; margin-top: 10px; padding: 14px 16px; animation: doneIn .6s cubic-bezier(.2,1.5,.4,1); }
@keyframes doneIn { from { transform: scale(.94); } }

.prep__channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(20,30,80,.12); }
.prep__channels .channel { display: flex; align-items: center; gap: 10px; }
.prep__channels .channel > svg { flex: none; color: var(--blue); }
.prep__channels .channel > span { display: grid; gap: 2px; min-width: 0; }
@media (max-width: 560px) {
  .prep { padding: 20px 16px; }
  .prep__channels { grid-template-columns: 1fr; }
  .prep__type { display: grid; }
}

.prep__bar, .prep__nav { display: none; }
.prep__prev, .prep__next { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 10px; border: 0; cursor: pointer; font: 500 14px var(--font); transition: background .3s, opacity .3s, transform .2s; }
.prep__prev { width: 42px; background: rgba(35,64,255,.08); color: var(--blue); }
.prep__prev:disabled { opacity: .35; cursor: default; }
.prep__next { padding: 0 18px; color: #fff; background: linear-gradient(180deg, #5c78ff, #2340ff); box-shadow: 0 8px 20px -10px rgba(35,64,255,.9); }
.prep__next:active, .prep__prev:active { transform: scale(.96); }
.prep__prev svg, .prep__next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prep__count { font: 500 12px var(--mono); color: var(--muted); }
@keyframes slideNext { from { opacity: 0; transform: translateX(28px); } }
@keyframes slidePrev { from { opacity: 0; transform: translateX(-28px); } }

/* ---------------- Reveal on scroll (só com JS ativo) ---------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .digest:not(.is-in) .steps li { opacity: 0; transform: translateY(10px); }
.js .digest:not(.is-in) .docs li { opacity: 0; transform: scale(.9); }
.steps li, .docs li { transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ---------------- Toque: sem efeitos de hover ---------------- */
@media (hover: none) {
  .plans .plan.is-in:hover, .why .why__card.is-in:hover { transform: none; }
  .plans:hover .plan.is-in:not(:hover) { opacity: 1; transform: none; }
  .feature:hover .feature__art img { transform: none; }
}

/* ---------------- Tablet ---------------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why { grid-template-columns: 1fr 1fr; }
  .why__card--big { grid-column: 1 / -1; grid-row: auto; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .plan { min-height: 0; padding: 36px 26px 26px; }
}

/* ---------------- Celular ---------------- */
@media (max-width: 860px) {
  /* navbar */
  .nav { padding: 10px 0; }
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: block; }
  .nav__inner { grid-template-columns: 1fr auto; height: 54px; width: calc(100% - 20px); }
  .nav__mobile { width: calc(100% - 20px); }
  .logo { font-size: 18px; }
  .logo__mark { width: 24px; height: 24px; }

  /* hero */
  .hero { padding: 92px 0 24px; justify-content: space-between; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; width: calc(100% - 32px); }
  .hero__copy { top: 0; }
  .tags { margin-bottom: 18px; }
  .tag { font-size: 10px; padding: 5px 7px; }
  .line--sm { font-size: 17px; margin-bottom: .35em; }
  .line--xl { font-size: clamp(40px, 11.5vw, 64px); }
  .hero__sub { font-size: 15px; margin: 16px 0 24px; max-width: 34ch; }
  .hero .cta { --h: 40px; font-size: 13px; border-radius: 7px; }
  .hero .cta__label { padding: 0 14px; }
  .hero .cta svg { width: 14px; height: 14px; }
  .hero__visual { margin: 8px -24px 0; }
  .hero__visual img { max-height: 34svh; margin-inline: auto; width: auto; }
  .trust { margin-top: 12px; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; }
  .marquee__track { gap: 32px; }
  .marquee__track span { font-size: 16px; }
  .mq { height: 26px; }
  .mq__logo { height: 20px; }
  .mq__logo[src*="govbr"], .mq__logo[src*="esocial"] { height: 23px; }
  .mq__logo[src*="receita"] { height: 26px; }
  .mq__logo[src*="caixa"] { height: 17px; }

  /* seções */
  .section { padding: 60px 0; }
  #solucoes { padding-bottom: 54px; }
  .section--pricing { padding-top: 54px; }
  .section--contact { padding-bottom: 68px; }
  .h2 { font-size: clamp(30px, 8.4vw, 42px); }
  .lead { font-size: 15px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-head--flip { text-align: left; }
  .js [data-reveal] { filter: none; transform: translateY(18px); }

  /* dica de deslizar */
  .swipe-hint {
    display: flex; align-items: center; gap: 8px; margin: 28px 0 0;
    font: 500 11px var(--mono); letter-spacing: .04em; color: var(--muted);
  }
  .swipe-hint::after { content: "→"; animation: nudge 1.4s var(--ease) infinite; }
  .container.swipe-hint { margin-inline: auto; }

  /* Como funciona: carrossel */
  .features {
    display: flex; gap: 12px; width: 100%; margin: 14px 0 24px; padding: 4px 16px 12px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    overscroll-behavior-x: contain; touch-action: pan-x pan-y;
    border: 0; scrollbar-width: none;
  }
  .features::-webkit-scrollbar { display: none; }
  .feature {
    flex: 0 0 min(78%, 320px); scroll-snap-align: start;
    padding: 14px 18px 22px; border: 1px solid var(--line) !important; border-radius: 16px;
    background: rgba(255,255,255,.65);
  }
  .feature__art { height: 160px; margin: 0 0 10px; }
  .feature__art img { max-width: 190px; }
  .feature h3 { font-size: 15px; margin-bottom: 8px; }
  .feature p { font-size: 13px; }

  /* Por que ter?: cartões em linha, mais compactos */
  .why { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .why__card--big { grid-column: auto; padding: 24px; }
  .why__card--big h3 { font-size: 24px; }
  .why__doc { padding-top: 22px; }
  .why__paper { width: min(250px, 100%); padding: 18px; }
  .why__card:not(.why__card--big) { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px; align-items: start; }
  .why__card:not(.why__card--big) .why__icon { grid-row: span 2; width: 44px; height: 44px; }
  .why__card:not(.why__card--big) h3 { margin: 2px 0 0; font-size: 16px; }
  .why__card:not(.why__card--big) p { font-size: 13px; }

  /* Planos: carrossel começando no destaque */
  .pricing__head { gap: 20px; }
  .switch { width: 100%; }
  .switch__btn { padding: 9px 14px; font-size: 14px; }
  .plans {
    display: flex; gap: 14px; width: auto; max-width: none;
    margin: 6px -16px 0; padding: 22px 16px 16px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    overscroll-behavior-x: contain; touch-action: pan-x pan-y;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(84%, 340px); scroll-snap-align: center; padding: 32px 22px 22px; }
  .plan__desc { min-height: 0; margin-bottom: 20px; }
  .price__val { font-size: 44px; }
  .price__note { margin-bottom: 18px; }
  .plan__list { gap: 10px; padding-top: 18px; margin-bottom: 22px; }
  .pricing__foot { margin-top: 18px; font-size: 13px; text-align: left; }

  /* Contato: título, checklist e depois o formulário */
  .contact { gap: 22px; }
  .contact__copy { display: contents; }
  .contact__copy > .h2 { order: 1; }
  .contact__copy > .lead { order: 2; margin-top: -6px; }
  .contact .prep { order: 3; }
  .contact .form { order: 4; margin-top: 6px; }

  /* Checklist vira passo a passo */
  .prep__sub { max-width: none; }
  .prep__bar { display: flex; gap: 5px; margin: 0 0 12px; }
  .prep__bar span { flex: 1; height: 4px; border-radius: 4px; background: rgba(35,64,255,.12); transition: background .4s; }
  .prep__bar span.is-done { background: var(--blue); }
  .prep__bar span.is-current { box-shadow: 0 0 0 2px rgba(79,107,255,.3); }
  .js .prep__list li:not(.is-current) { display: none; }
  .prep__list li.slide-next { animation: slideNext .45s var(--ease); }
  .prep__list li.slide-prev { animation: slidePrev .45s var(--ease); }
  .prep__item { grid-template-columns: 52px 1fr 30px; padding: 16px 14px; min-height: 92px; }
  .prep__item:hover { transform: none; }
  .prep__icon { width: 52px; height: 52px; border-radius: 14px; }
  .prep__icon svg { width: 24px; height: 24px; }
  .prep__text strong { font-size: 16px; }
  .prep__text small { font-size: 12.5px; }
  .prep__check { width: 30px; height: 30px; }
  .prep__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
  .prep.is-complete .prep__nav { display: none; }
  .prep__status { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .cta--submit { width: 100%; justify-self: stretch; }
  .cta--submit .cta__label { flex: 1; justify-content: center; }
  .digest { padding: 18px; }

  /* Rodapé */
  .footer { padding-top: 130px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }

  /* Roadmap: trilha à esquerda, cartões à direita */
  .section--road { padding-bottom: 66px; }
  .road { margin-top: 40px; }
  .road__steps { gap: 26px; }
  .road__steps { gap: 40px; }
  .road__step { column-gap: 12px; align-items: center; }
  .road__step--left { grid-template-columns: 46px 1fr; }
  .road__step--right { grid-template-columns: 1fr 46px; }
  .road__node { width: 44px; height: 44px; font-size: 15px; }
  .road__step--left .road__node { grid-column: 1; }
  .road__step--right .road__node { grid-column: 2; }
  .road__step--goal .road__node { width: 46px; height: 46px; }
  .road__step--left .road__card { grid-column: 2; }
  .road__step--right .road__card { grid-column: 1; }
  .road__step--left .road__card, .road__step--right .road__card { justify-self: stretch; text-align: left; max-width: none; background: #fff; }
  .road__step--goal .road__card { background: linear-gradient(150deg, #0a0f3a 0%, #1a30d8 60%, #4f6bff 100%); }
  .road__card { padding: 18px 18px 20px; }
  .road__card h3 { font-size: 17px; margin-top: 10px; }
  .road__card p { font-size: 13.5px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .digest__channels { grid-template-columns: 1fr; }
  .hero__title .line { white-space: normal; }
}

@media (max-height: 760px) and (min-width: 861px) { .hero__copy { top: -5vh; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .word > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
