/* VeritaSign — site institucional
   Paleta: tinta azul da marca sobre papel frio; verde reservado ao estado "autêntico". */
:root {
  --paper: #F3F6FC;
  --paper-2: #E6ECF8;
  --white: #FFFFFF;
  --ink: #13204A;
  --ink-2: #44507A;
  --ink-3: #5A6589;
  --brand: #4C6EF5;
  --brand-deep: #2F45B5;
  --sky: #A5D8FF;
  --verified: #128A5C;
  --verified-soft: #DDF5EA;
  --line: rgba(19, 32, 74, .12);

  --f-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.8rem, 1.6rem + 5.2vw, 5.6rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h2 { font-size: var(--step-3); text-wrap: balance; }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

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

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .975rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--lg { padding: 16px 26px; font-size: 1.05rem; }
.btn--primary { background: #3B5BDB; color: #fff; }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--paper-2); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky); }
.btn--line-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--line-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Navegação ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .96rem; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 6px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile[hidden] { display: none; }
@media (min-width: 641px) { .nav__mobile { display: none !important; } }
.nav__mobile { padding: 8px var(--gutter) 20px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.nav__mobile a { padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 48px; overflow: hidden; isolation: isolate; }
.hero__ink { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: var(--step-4); line-height: .95; letter-spacing: -.035em; }
.hero__title .line { display: block; }
.hero__title .line:nth-child(2) { color: var(--brand); font-weight: 400; font-variation-settings: "opsz" 96; }
.hero__lead { margin-top: 26px; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__fine { margin-top: 16px; font-size: var(--step--1); color: var(--ink-3); }

/* Entrada orquestrada do título (único movimento de página, não depende de JS) */
.hero__title .line, .hero__lead, .hero__actions, .hero__fine { animation: enter .8s var(--ease-out) both; }
.hero__title .line:nth-child(2) { animation-delay: .08s; }
.hero__title .line:nth-child(3) { animation-delay: .16s; }
.hero__lead { animation-delay: .3s; }
.hero__actions { animation-delay: .4s; }
.hero__fine { animation-delay: .48s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } }

/* Documento */
.hero__stage { position: relative; perspective: 1400px; }
.doc {
  position: relative; background: var(--white); border-radius: 14px; padding: 26px 26px 22px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -28px rgba(19, 32, 74, .35), 0 10px 22px -12px rgba(76, 110, 245, .25);
  transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
}
.doc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.doc__kind { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.doc__id { font-size: var(--step--1); color: var(--ink-3); margin-top: 2px; }
.doc__id span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.doc__status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: .8rem; background: #FFF4DB; color: #8A5A00; white-space: nowrap; transition: background-color .4s, color .4s; }
.doc__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
.doc__status b { font-weight: 600; }
.doc__status[data-state="signing"] { background: #E5EBFF; color: var(--brand-deep); }
.doc__status[data-state="sealed"] { background: var(--verified-soft); color: var(--verified); }
.doc__status[data-state="sealed"] i { animation: none; }
@keyframes pulse { 50% { opacity: .35; } }

.doc__body { display: grid; gap: 10px; padding: 20px 0 6px; }
.doc__body span { height: 7px; border-radius: 4px; background: var(--paper-2); }
.doc__sign { position: relative; padding-top: 6px; }
.sig { width: 78%; height: auto; margin-bottom: -18px; overflow: visible; }
.sig__path { fill: none; stroke: var(--brand-deep); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.doc__line { display: block; height: 1px; background: var(--ink); opacity: .5; width: 82%; }
.doc__signer p { font-size: .9rem; margin-top: 6px; }
.doc__signer .doc__meta { font-size: .78rem; color: var(--ink-3); margin-top: 2px; font-variant-numeric: tabular-nums; }

.doc__seal { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px; border-radius: 10px; background: var(--paper); }
.seal { position: relative; width: 62px; height: 62px; flex: none; padding: 5px; background: #fff; border-radius: 6px; overflow: hidden; }
.seal__qr { width: 100%; height: 100%; opacity: .15; transition: opacity .6s; }
.seal__qr rect { fill: var(--ink); }
.doc.is-sealed .seal__qr { opacity: 1; }
.seal__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--brand); box-shadow: 0 0 12px 3px rgba(76,110,245,.6); opacity: 0; }
.doc.is-scanning .seal__scan { animation: scan 1.1s var(--ease-out) 2; }
@keyframes scan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 1; } }
.seal__title { font-weight: 600; font-size: .9rem; }
.seal__hash { font-size: .78rem; color: var(--ink-3); margin-top: 2px; word-break: break-all; }
.seal__hash code { color: var(--ink-2); }

.stamp { position: absolute; right: -18px; top: 58%; width: 124px; height: 124px; color: var(--verified); opacity: 0; transform: scale(1.8) rotate(-30deg); pointer-events: none; }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp circle, .stamp path { fill: none; stroke: currentColor; stroke-width: 2.5; }
.stamp circle + circle { stroke-width: 1.5; }
.stamp path { stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.stamp text { fill: currentColor; font: 700 9.2px var(--f-body); letter-spacing: .14em; }
.doc.is-sealed .stamp { animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stamp { to { opacity: .92; transform: scale(1) rotate(-12deg); } }

.hero__caption { margin-top: 18px; text-align: center; font-size: var(--step--1); color: var(--ink-3); min-height: 1.6em; }

.trust { margin-top: clamp(48px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-2); }
.trust ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.trust li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--verified-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23128A5C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* ---------- Como funciona ---------- */
.flow { padding: clamp(80px, 11vw, 140px) 0; background: var(--white); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--paper-2); }
.timeline::after { content: ""; position: absolute; left: 22px; top: 22px; height: 2px; width: calc((100% - 44px) * var(--progress, 0)); background: var(--brand); transition: width .2s linear; }
.step { position: relative; z-index: 1; }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 2px solid var(--paper-2); font: 800 1.1rem var(--f-display); color: var(--ink-3); margin-bottom: 22px; transition: background-color .35s, border-color .35s, color .35s; }
.step.is-on .step__n { background: var(--brand); border-color: var(--brand); color: #fff; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .97rem; }

/* ---------- Vídeo ---------- */
.reel { padding: clamp(80px, 11vw, 140px) 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.reel::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; background: radial-gradient(closest-side, rgba(76, 110, 245, .45), transparent); pointer-events: none; }
.reel__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; position: relative; }
.phone { width: min(330px, 78vw); padding: 12px; border-radius: 46px; background: #1d2a57; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.6); }
.phone__screen { position: relative; aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; background: #0c1430; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.reel__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease-out), opacity .25s; }
.reel__play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.reel__play:hover { transform: scale(1.06); }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reel__copy p { margin-top: 18px; color: rgba(255,255,255,.75); font-size: var(--step-1); line-height: 1.5; max-width: 32em; }
.reel__copy h2 { max-width: 14em; }
.reel__chapters { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 2px; max-width: 460px; }
.reel__chapters button { width: 100%; text-align: left; padding: 12px 16px; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.7); font: 500 1rem var(--f-body); cursor: pointer; display: flex; justify-content: space-between; transition: background-color .2s, color .2s; }
.reel__chapters button::after { content: attr(data-label); font-variant-numeric: tabular-nums; opacity: .6; }
.reel__chapters button:hover { background: rgba(255,255,255,.06); color: #fff; }
.reel__chapters button.is-current { background: rgba(76,110,245,.25); color: #fff; }

/* ---------- Recursos ---------- */
.features { padding: clamp(80px, 11vw, 140px) 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.feat { background: var(--paper); padding: 30px 28px 32px; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: .97rem; }
.feat__icon { width: 34px; height: 34px; margin-bottom: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 40px; background: var(--white); }
.feat--wide h3 { font-size: var(--step-2); }
.feat--wide p { font-size: var(--step-0); max-width: 30em; }
.feat--dark { background: var(--brand-deep); color: #fff; }
.feat--dark p { color: rgba(255,255,255,.8); }

.audit { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--paper-2); display: grid; gap: 12px; }
.audit li { position: relative; display: flex; gap: 16px; font-size: .94rem; }
.audit li::before { content: ""; position: absolute; left: -25px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--brand); }
.audit li.is-final::before { background: var(--verified); border-color: var(--verified); }
.audit time { color: var(--ink-3); font-variant-numeric: tabular-nums; flex: none; }
.audit li.is-final span { color: var(--verified); font-weight: 600; }

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.board div { background: rgba(255,255,255,.1); border-radius: 14px; padding: 20px 18px; }
.board b { display: block; font: 800 2.2rem/1 var(--f-display); letter-spacing: -.02em; }
.board span { display: block; margin-top: 8px; font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.35; }

/* ---------- Validar ---------- */
.verify { padding: clamp(80px, 11vw, 140px) 0; background: var(--white); }
.verify__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.verify__copy p { margin-top: 18px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.verify__copy .verify__hint { font-size: var(--step-0); }
.verify__card { background: var(--paper); border-radius: 20px; padding: 30px; border: 1px solid var(--line); }
.verify__card label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 10px; }
.verify__row { display: flex; gap: 10px; }
.verify__row input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 1.05rem var(--f-body); letter-spacing: .04em; color: var(--ink); text-transform: uppercase; }
.verify__row input::placeholder { color: var(--ink-3); opacity: .6; }
.verify__row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(76,110,245,.18); }
.verify__msg { min-height: 1.5em; margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
.verify__msg.is-error { color: #B42318; }
.result { margin-top: 8px; background: #fff; border-radius: 14px; padding: 20px; border: 1.5px solid var(--verified); animation: rise .5s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.result__head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.result__head svg { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 50%; background: var(--verified); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.result__title { font: 800 1.2rem var(--f-display); color: var(--verified); }
.result__sub { font-size: .88rem; color: var(--ink-2); }
.result__list { margin: 14px 0 0; display: grid; gap: 12px; }
.result__list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: .92rem; }
.result__list dt { color: var(--ink-3); }
.result__list dd { margin: 0; }

/* ---------- Planos ---------- */
.plans { padding: clamp(80px, 11vw, 140px) 0; }
.billing { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.billing button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 600 .95rem var(--f-body); color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s; }
.billing button small { font-weight: 500; color: var(--verified); margin-left: 4px; }
.billing button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(19,32,74,.12); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 20px; padding: 32px 28px; border: 1px solid var(--line); }
.plan h3 { font-size: var(--step-2); font-weight: 800; }
.plan__for { margin-top: 6px; color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0; }
.plan__price b { font: 800 3.4rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan__price .cur { font-weight: 600; color: var(--ink-2); align-self: flex-start; margin-top: 8px; }
.plan__price .per { color: var(--ink-3); }
.plan ul { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .95rem; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%234C6EF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan--featured .plan__for, .plan--featured .plan__price .cur, .plan--featured .plan__price .per { color: rgba(255,255,255,.7); }
.plan--featured ul { border-top-color: rgba(255,255,255,.15); }
.plan--featured li::before { filter: brightness(1.6); }
.plan__tag { position: absolute; top: -13px; left: 28px; background: var(--sky); color: var(--ink); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plans__note { margin-top: 26px; color: var(--ink-2); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 11vw, 140px) 0; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 90px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 var(--step-1)/1.35 var(--f-display); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center/100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 100% no-repeat; transition: transform .3s var(--ease-out); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- CTA final ---------- */
.final { padding: clamp(90px, 12vw, 160px) 0; background: var(--brand-deep); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__sig { width: min(560px, 90%); height: auto; margin-bottom: 24px; overflow: visible; }
.final__sig path { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 1600); stroke-dashoffset: var(--len, 1600); }
.final.is-visible .final__sig path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s cubic-bezier(.45, .05, .25, 1); }
.final h2 { font-size: var(--step-4); max-width: 13em; letter-spacing: -.03em; }
.final p { margin-top: 18px; font-size: var(--step-1); color: rgba(255,255,255,.8); }
.final .hero__actions { justify-content: center; }

/* ---------- Rodapé ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot__grid img { height: 28px; width: auto; margin-bottom: 14px; }
.foot__grid p { max-width: 26em; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot h3 { font: 600 .95rem var(--f-body); color: #fff; margin-bottom: 6px; letter-spacing: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero__grid, .reel__grid, .verify__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 520px; margin-inline: auto; width: 100%; }
  .doc { transform: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before, .timeline::after { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .timeline::after { height: calc((100% - 44px) * var(--progress, 0)); bottom: auto; }
  .step { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding-bottom: 34px; }
  .step__n { margin: 0; }
  .reel__grid { justify-items: center; }
  .reel__copy { width: 100%; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat--wide { grid-column: span 2; grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plans .section-head { margin-inline: auto; text-align: center; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat--wide { grid-column: auto; }
  .board { grid-template-columns: 1fr; }
  .board div { display: flex; align-items: baseline; gap: 14px; }
  .board span { margin: 0; }
  .doc { padding: 20px 18px; }
  .doc__head { flex-direction: column; }
  .stamp { right: -6px; width: 96px; height: 96px; }
  .verify__row { flex-direction: column; }
  .verify__card { padding: 22px; }
  .result__list div { grid-template-columns: 1fr; gap: 2px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
