/* Paginas de solucao com mais vida (assinatura-eletronica, assinar-pdf-online, assinar-contrato-online,
   assinatura-eletronica-sankhya): hero escuro com cena animada e foto real, fotos nas secoes, passo a passo
   em linha do tempo, cards com icone, faixa de confianca, planos com preco vindo da API e CTA com rostos.
   Carregado depois de seo-pages.css e escopado em .seo-v2: as demais paginas /assinatura-* nao mudam.
   Os textos das paginas nao mudam; so a apresentacao. Animacoes usam transform/opacity, pausam fora da
   tela (.is-offscreen via public-motion.js) e desligam com prefers-reduced-motion.
   Ver docs/paginas-solucao-humanizadas.md. */

.seo-v2 {
  --sv-deep: #22093b;
  --sv-violet: #8b4fd0;
  --sv-lilac: #dccdee;
  --sv-ease: cubic-bezier(.2, .8, .2, 1);
  background: #fff;
}
.seo-v2 .seo-page { max-width: none; padding: 0; }
.seo-v2 .seo-page > section:not(.seo-hero):not(.seo-cta-band) {
  max-width: 1180px; margin-inline: auto; padding-inline: 24px;
}

/* ---------- Cabecalho escuro (igual a landing) ---------- */
.seo-v2 .marketing-header { border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(34, 9, 59, .86); }
.seo-v2 .marketing-header.is-scrolled { background: rgba(34, 9, 59, .96); box-shadow: 0 10px 30px rgba(14, 3, 26, .35); }
.seo-v2 .marketing-brand img { width: 176px; }
.seo-v2 .nav-burger { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
@media (min-width: 901px) {
  .seo-v2 .marketing-header nav > a:not(.button),
  .seo-v2 .marketing-header .nav-dd > summary { position: relative; color: #e9ddf7; }
  .seo-v2 .marketing-header .nav-dd > summary::after { color: #b9a5d4; }
  .seo-v2 .marketing-header nav > a:not(.button)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--sv-ease);
  }
  .seo-v2 .marketing-header nav > a:not(.button):hover { color: #fff; }
  .seo-v2 .marketing-header nav > a:not(.button):hover::after { transform: scaleX(1); }
  .seo-v2 .marketing-header .button.ghost { border-color: rgba(255, 255, 255, .3); background: transparent; color: #fff; }
  .seo-v2 .marketing-header .button.primary { background: var(--accent); color: #241032; box-shadow: 0 10px 24px rgba(255, 190, 0, .3); }
}

/* ---------- Hero ---------- */
.seo-v2 .seo-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
  padding: 40px max(24px, calc((100vw - 1180px) / 2 + 24px)) 120px;
  border: 0; color: #fff;
  background:
    radial-gradient(1000px 620px at 85% 0%, #5a1f96 0%, transparent 62%),
    linear-gradient(160deg, #3b1063 0%, #2a0b47 55%, #1e0834 100%);
}
.seo-v2 .seo-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
/* curva branca na base: o hero "derrama" na primeira secao */
.seo-v2 .seo-hero::after {
  content: ''; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 70px; z-index: -1;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.seo-v2 .sv-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; animation: svDrift 18s ease-in-out infinite alternate; }
.seo-v2 .sv-glow--a { top: -160px; right: 6%; width: 520px; height: 520px; background: var(--sv-violet); opacity: .5; }
.seo-v2 .sv-glow--b { bottom: 0; left: 28%; width: 360px; height: 360px; background: var(--accent); opacity: .13; animation-duration: 23s; }
@keyframes svDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 40px) scale(.95); } }

.seo-v2 .seo-hero-copy { min-width: 0; }
.seo-v2 .seo-hero .breadcrumb { margin: 0 0 26px; color: #bfaed6; animation: svSlide .7s both; }
.seo-v2 .seo-hero .breadcrumb a { color: #e7d9f7; }
.seo-v2 .seo-hero .breadcrumb [aria-current="page"] { color: #fff; }
.seo-v2 .seo-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .1); color: #f2e9fc;
  animation: svSlide .8s .05s var(--sv-ease) both;
}
.seo-v2 .seo-hero .eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #53dd93; animation: svPing 2s infinite; }
@keyframes svPing { 0% { box-shadow: 0 0 0 0 rgba(83, 221, 147, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(83, 221, 147, 0); } }
.seo-v2 .seo-hero h1 { margin: 20px 0 18px; max-width: 18ch; color: #fff; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; animation: svSlide .9s .15s var(--sv-ease) both; }
.seo-v2 .seo-hero-sub { color: #e3d6f2; opacity: 1; animation: svSlide .9s .25s var(--sv-ease) both; }
.seo-v2 .seo-hero-actions { animation: svSlide .9s .35s var(--sv-ease) both; }
.seo-v2 .seo-hero .button.primary { background: var(--accent); color: #241032; box-shadow: 0 14px 30px rgba(255, 190, 0, .28); transition: transform .2s var(--sv-ease), box-shadow .2s var(--sv-ease); }
.seo-v2 .seo-hero .button.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(255, 190, 0, .38); }
.seo-v2 .seo-hero .button.ghost { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); color: #fff; }
.seo-v2 .seo-hero .button.ghost:hover { background: rgba(255, 255, 255, .12); }
.seo-v2 .seo-hero-proof { color: #d9c9ec; animation: svSlide .9s .45s var(--sv-ease) both; }
.seo-v2 .seo-hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.seo-v2 .seo-hero-proof li::before {
  content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(83, 221, 147, .18); color: #7ef0b0; font-size: 11px;
}
@keyframes svRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* textos do hero: so deslizam, sem comecar invisiveis (o titulo conta como primeira pintura para o Google) */
@keyframes svSlide { from { transform: translateY(14px); } to { transform: none; } }

/* ---------- Cena do hero (decorativa: aria-hidden) ---------- */
.seo-v2 .sv-scene :is(.sv-erp, .sv-pdf, .sv-card, .sv-toast, .sv-cert, .sv-chat-body, .sv-chat-foot) { color: var(--ink); }
.seo-v2 .sv-scene { position: relative; min-height: 440px; animation: svRise 1s .3s var(--sv-ease) both; }
.seo-v2 .sv-photo {
  position: absolute; inset: 0 0 40px 40px; overflow: hidden; border-radius: 28px;
  box-shadow: 0 40px 80px rgba(8, 1, 18, .5); transform: rotate(1.5deg);
}
.seo-v2 .sv-photo img { width: 100%; height: 100%; object-fit: cover; animation: svKen 22s ease-in-out infinite alternate; }
.seo-v2 .sv-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(34, 9, 59, .55)); }
@keyframes svKen { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-2%, -1%); } }

.seo-v2 .sv-card {
  position: absolute; z-index: 2; display: grid; gap: 10px; padding: 18px 18px 16px; border-radius: 20px;
  background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgba(14, 3, 26, .38);
}
.seo-v2 .sv-card small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.seo-v2 .sv-card strong { font-family: var(--font-titulo); font-size: 17px; line-height: 1.15; }
.seo-v2 .sv-line { display: block; height: 7px; border-radius: 6px; background: #eee6f6; }
.seo-v2 .sv-line--s { width: 62%; }

.seo-v2 .sv-toast {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 18px 40px rgba(14, 3, 26, .35);
  font-size: 13px; opacity: 0; animation: svToast 9s var(--sv-ease) infinite;
}
.seo-v2 .sv-toast img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.seo-v2 .sv-toast span { display: grid; gap: 1px; }
.seo-v2 .sv-toast b { font-size: 13px; }
.seo-v2 .sv-toast small { color: var(--muted); font-size: 11px; }
.seo-v2 .sv-ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1fa85b; color: #fff; font-weight: 900; }
.seo-v2 .sv-toast--2 { animation-delay: 3s; }
.seo-v2 .sv-toast--3 { animation-delay: 6s; }
@keyframes svToast {
  0% { opacity: 0; transform: translateY(14px) scale(.96); }
  6%, 30% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); }
}

/* trilha de evidencias que se acende em sequencia */
.seo-v2 .sv-trail { display: grid; gap: 9px; margin: 2px 0 0; padding: 0; list-style: none; }
.seo-v2 .sv-trail li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: #9a90a3; animation: svTrail 9s infinite; }
.seo-v2 .sv-trail li::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #d9cde6; background: #fff; }
.seo-v2 .sv-trail li:nth-child(2) { animation-delay: 1.4s; }
.seo-v2 .sv-trail li:nth-child(3) { animation-delay: 2.8s; }
.seo-v2 .sv-trail li:nth-child(4) { animation-delay: 4.2s; }
.seo-v2 .sv-trail time { margin-left: auto; color: #b3a9bc; font-size: 11px; font-weight: 700; }
@keyframes svTrail {
  0%, 8% { color: #9a90a3; }
  12%, 88% { color: var(--ink); }
  100% { color: #9a90a3; }
}
.seo-v2 .sv-trail li { --dot: #d9cde6; }
.seo-v2 .sv-trail li::before { animation: svDot 9s infinite; animation-delay: inherit; }
@keyframes svDot { 0%, 8% { border-color: #d9cde6; background: #fff; } 12%, 88% { border-color: #1fa85b; background: #1fa85b; box-shadow: 0 0 0 4px rgba(31, 168, 91, .15); } 100% { border-color: #d9cde6; background: #fff; } }

/* assinatura desenhada */
.seo-v2 .sv-sig { width: 100%; height: 52px; fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: svDraw 9s ease-in-out infinite; }
@keyframes svDraw { 0%, 15% { stroke-dashoffset: 420; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.seo-v2 .sv-sigbox { padding: 8px 10px 4px; border: 1.5px dashed #cdb6e6; border-radius: 12px; background: #fbf8fe; }

/* pagina do PDF com campos que "caem" no lugar */
.seo-v2 .sv-pdf { inset: 10px 70px 30px 0; position: absolute; z-index: 1; padding: 26px 24px; border-radius: 18px; background: #fff; box-shadow: 0 40px 80px rgba(8, 1, 18, .5); transform: rotate(-2deg); display: grid; align-content: start; gap: 11px; }
.seo-v2 .sv-pdf-tag { justify-self: start; padding: 5px 10px; border-radius: 8px; background: #fde8e8; color: #b42318; font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.seo-v2 .sv-field {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 2px solid var(--secondary); border-radius: 10px;
  background: rgba(111, 53, 165, .08); color: var(--primary); font-size: 12px; font-weight: 900; animation: svDrop 9s var(--sv-ease) infinite;
}
.seo-v2 .sv-field::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--secondary); }
.seo-v2 .sv-fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.seo-v2 .sv-field:nth-child(2) { animation-delay: .5s; }
.seo-v2 .sv-field:nth-child(3) { animation-delay: 1s; }
@keyframes svDrop { 0%, 6% { opacity: 0; transform: translate(30px, -26px) rotate(6deg); } 16%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.seo-v2 .sv-person { position: absolute; right: -8px; bottom: -14px; z-index: 2; width: 150px; height: 186px; overflow: hidden; border-radius: 24px; border: 5px solid #fff; box-shadow: 0 30px 60px rgba(8, 1, 18, .45); transform: rotate(3deg); }
.seo-v2 .sv-person img { width: 100%; height: 100%; object-fit: cover; }

/* partes do contrato */
.seo-v2 :is(.sv-parties, .sv-areas) { display: grid; gap: 9px; margin: 2px 0 0; padding: 0; list-style: none; }
.seo-v2 :is(.sv-parties, .sv-areas) li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.seo-v2 :is(.sv-parties, .sv-areas) img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.seo-v2 :is(.sv-parties, .sv-areas) em { margin-left: auto; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 900; }
.seo-v2 .sv-done { background: #e3f6ea; color: #157a42; }
.seo-v2 .sv-wait { background: #fff3c8; color: #7a5600; animation: svFlip 9s infinite; }
@keyframes svFlip { 0%, 45% { background: #fff3c8; color: #7a5600; } 52%, 100% { background: #e3f6ea; color: #157a42; } }
.seo-v2 .sv-wait { display: grid; }
.seo-v2 .sv-wait > span { grid-area: 1 / 1; text-align: center; }
.seo-v2 .sv-wait > span:last-child { opacity: 0; animation: svSwapIn 9s infinite; }
.seo-v2 .sv-wait > span:first-child { animation: svSwapOut 9s infinite; }
@keyframes svSwapOut { 0%, 45% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes svSwapIn { 0%, 45% { opacity: 0; } 52%, 100% { opacity: 1; } }

/* janela do ERP (Sankhya) */
.seo-v2 .sv-erp { position: absolute; inset: 0 30px 50px 0; z-index: 1; overflow: hidden; border-radius: 18px; background: #f6f3fa; box-shadow: 0 40px 80px rgba(8, 1, 18, .5); transform: rotate(-1.5deg); }
.seo-v2 .sv-erp-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #ece4f4; font-size: 12px; font-weight: 900; color: var(--primary); }
.seo-v2 .sv-erp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3d8ef; }
.seo-v2 .sv-erp-bar b { margin-left: 8px; }
.seo-v2 .sv-erp-body { display: grid; gap: 12px; padding: 20px; }
.seo-v2 .sv-erp-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 800; }
.seo-v2 .sv-erp-row span { height: 30px; border-radius: 8px; background: #fff; border: 1px solid #ece4f4; display: flex; align-items: center; padding: 0 10px; color: var(--ink); }
.seo-v2 .sv-attach { display: grid; gap: 8px; margin-top: 4px; }
.seo-v2 .sv-attach div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #ece4f4; font-size: 12px; font-weight: 800; animation: svAttach 9s var(--sv-ease) infinite; }
.seo-v2 .sv-attach div:nth-child(2) { animation-delay: 3.2s; }
.seo-v2 .sv-attach div::before { content: 'PDF'; padding: 4px 6px; border-radius: 6px; background: #fde8e8; color: #b42318; font-size: 10px; }
.seo-v2 .sv-attach em { margin-left: auto; color: #157a42; font-style: normal; }
@keyframes svAttach { 0%, 5% { opacity: 0; transform: translateY(10px); } 12%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.seo-v2 .sv-link {
  position: absolute; z-index: 3; right: 0; top: 46%; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 16px; background: var(--accent); color: #241032; font-size: 13px; font-weight: 900; box-shadow: 0 18px 36px rgba(255, 190, 0, .35);
  animation: svFloat 6s ease-in-out infinite;
}
@keyframes svFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* janela de codigo (API) */
.seo-v2 .sv-code { position: absolute; inset: 10px 40px 60px 0; z-index: 1; overflow: hidden; border-radius: 18px; background: #160627; box-shadow: 0 40px 80px rgba(8, 1, 18, .55); transform: rotate(-1.5deg); }
.seo-v2 .sv-code .sv-erp-bar { background: #241038; border-color: #2f1748; color: #d9c2f2; }
.seo-v2 .sv-code .sv-erp-bar i { background: #3c2158; }
.seo-v2 .sv-code pre {
  margin: 0; padding: 20px 22px; overflow: hidden; color: #e9ddf7; font: 600 13px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre;
}
.seo-v2 .sv-code .c-m { color: var(--accent); }
.seo-v2 .sv-code .c-g { color: #7ef0b0; }
.seo-v2 .sv-code .c-k { color: #c49bf5; }
.seo-v2 .sv-code .c-t { color: #7ef0b0; }
.seo-v2 .sv-code pre::after { content: ''; display: inline-block; width: 8px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: svBlink 1s steps(1) infinite; }
@keyframes svBlink { 50% { opacity: 0; } }

/* botao dentro do cartao (assinar documento) */
.seo-v2 .sv-btn { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 900; animation: svPress 9s infinite; }
@keyframes svPress { 0%, 44% { transform: none; background: var(--primary); } 48% { transform: scale(.96); } 52%, 100% { transform: none; background: #1fa85b; } }

/* certificado ICP-Brasil */
.seo-v2 .sv-cert { position: absolute; inset: 0 40px 50px 0; z-index: 1; display: grid; align-content: start; gap: 14px; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px rgba(8, 1, 18, .5); transform: rotate(-1.5deg); }
.seo-v2 .sv-cert::before { content: ''; position: absolute; inset: 10px; border: 2px dashed #e3d6f0; border-radius: 16px; pointer-events: none; }
.seo-v2 .sv-cert-head { display: flex; align-items: center; gap: 12px; }
.seo-v2 .sv-cert-head img { width: 54px; height: 54px; object-fit: contain; }
.seo-v2 .sv-cert-head span { display: grid; }
.seo-v2 .sv-cert-head small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.seo-v2 .sv-cert-head b { font-family: var(--font-titulo); font-size: 20px; color: var(--primary); }
.seo-v2 .sv-cert-doc { font-size: 15px; }
.seo-v2 .sv-seal {
  position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), #ffe28a, var(--accent)); box-shadow: 0 10px 24px rgba(255, 190, 0, .35); animation: svSpin 12s linear infinite;
}
.seo-v2 .sv-seal span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; animation: svSpin 12s linear infinite reverse; }
@keyframes svSpin { to { transform: rotate(360deg); } }

/* conversa (convite pelo WhatsApp): generica, sem marca de terceiros */
.seo-v2 .sv-chat { position: absolute; inset: 0 30px 56px 40px; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border-radius: 26px; background: #efe9e2; box-shadow: 0 40px 80px rgba(8, 1, 18, .5); transform: rotate(1.5deg); }
.seo-v2 .sv-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #128c4f; color: #fff; }
.seo-v2 .sv-chat-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.seo-v2 .sv-chat-head span { display: grid; }
.seo-v2 .sv-chat-head small { opacity: .8; font-size: 11px; }
.seo-v2 .sv-chat-body { display: grid; align-content: start; gap: 10px; padding: 16px; }
.seo-v2 .sv-bubble { max-width: 82%; margin: 0; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; box-shadow: 0 2px 4px rgba(0, 0, 0, .08); }
.seo-v2 .sv-bubble--in { justify-self: start; background: #fff; border-top-left-radius: 4px; }
.seo-v2 .sv-bubble--out { justify-self: end; background: #d8f8c6; border-top-right-radius: 4px; overflow-wrap: anywhere; animation: svBubble 9s var(--sv-ease) infinite; animation-delay: 1.5s; }
.seo-v2 .sv-bubble--late { animation: svBubble 9s var(--sv-ease) infinite; animation-delay: 4.5s; }
@keyframes svBubble { 0%, 4% { opacity: 0; transform: translateY(10px) scale(.96); } 10%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.seo-v2 .sv-chat-foot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f7f3ee; }
.seo-v2 .sv-chat-foot span { flex: 1; padding: 9px 12px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; }
.seo-v2 .sv-chat-foot b { padding: 9px 14px; border-radius: 999px; background: #128c4f; color: #fff; font-size: 12px; animation: svPress 9s infinite; animation-delay: -3.5s; }

/* fluxo em etapas (seo-flow) no visual novo */
.seo-v2 .seo-flow { gap: 12px; margin-top: 26px; }
.seo-v2 .seo-flow span { padding: 16px 18px; border: 0; border-radius: 16px; background: linear-gradient(140deg, #f1e7fb, #fff6d6); color: var(--primary); font-weight: 900; box-shadow: 0 10px 24px rgba(42, 20, 60, .06); }
.seo-v2 .seo-flow span:last-child { background: linear-gradient(140deg, #1fa85b, #157a42); color: #fff; }

/* ---------- Secoes ---------- */
.seo-v2 .seo-section { position: relative; padding-block: 72px; border-bottom: 0; display: flow-root; }
.seo-v2 .seo-section + .seo-section::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.seo-v2 .seo-section > h2 { position: relative; max-width: 24ch; margin-bottom: 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.seo-v2 .seo-section > h2::before {
  content: ''; display: block; width: 44px; height: 5px; margin-bottom: 18px; border-radius: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}
.seo-v2 .seo-section > .seo-lead { font-size: 18px; line-height: 1.65; opacity: .85; }
.seo-v2 .seo-section > p { max-width: 70ch; color: #3b3045; font-size: 16px; }

/* foto real ao lado do texto */
.seo-v2 .seo-photo {
  float: right; width: min(44%, 480px); margin: 0 0 24px 48px; position: relative;
}
.seo-v2 .seo-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lift); }
.seo-v2 .seo-photo::before {
  content: ''; position: absolute; inset: 18px -14px -14px 18px; z-index: -1; border-radius: 26px;
  background: linear-gradient(135deg, var(--sv-lilac), #fff3c8);
}
.seo-v2 .seo-photo--shot img { aspect-ratio: auto; object-fit: contain; background: #fff; padding: 10px; }
.seo-v2 .seo-photo figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* passo a passo em linha do tempo */
.seo-v2 .seo-steps {
  counter-reset: sv-step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px;
  position: relative; margin-top: 34px; padding: 0; list-style: none;
}
.seo-v2 .seo-steps::before {
  content: ''; position: absolute; top: 27px; left: 10%; right: 10%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent)); opacity: .35;
}
.seo-v2 .seo-steps li {
  counter-increment: sv-step; position: relative; display: grid; gap: 8px; align-content: start; justify-items: start;
  padding: 0; border: 0; background: none; box-shadow: none;
}
.seo-v2 .seo-steps li::before {
  content: counter(sv-step); position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px;
  border-radius: 18px; background: linear-gradient(140deg, var(--secondary), var(--primary)); color: #fff;
  font-family: var(--font-titulo); font-size: 24px; font-weight: 800; box-shadow: 0 14px 28px rgba(72, 23, 117, .28);
  transition: transform .3s var(--sv-ease);
}
.seo-v2 .seo-steps li:last-child::before { background: linear-gradient(140deg, #1fa85b, #157a42); content: '✓'; }
.seo-v2 .seo-steps li:hover::before { transform: translateY(-4px) rotate(-4deg); }
.seo-v2 .seo-steps li strong { font-family: var(--font-titulo); font-size: 19px; line-height: 1.2; }
.seo-v2 .seo-steps li span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* cards com icone */
.seo-v2 .seo-grid { gap: 18px; margin-top: 28px; }
.seo-v2 .seo-grid article {
  position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff;
  box-shadow: 0 12px 30px rgba(42, 20, 60, .05); transition: transform .3s var(--sv-ease), box-shadow .3s var(--sv-ease), border-color .3s;
}
.seo-v2 .seo-grid article::before {
  content: ''; display: block; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23481775' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E") center / 24px no-repeat,
    linear-gradient(140deg, #f1e7fb, #fff6d6);
}
.seo-v2 .seo-grid article:nth-child(3n+2)::before { background-color: #fff; }
.seo-v2 .seo-grid article:hover { transform: translateY(-6px); border-color: rgba(111, 53, 165, .3); box-shadow: 0 26px 50px rgba(42, 20, 60, .12); }
.seo-v2 .seo-grid article h3 { margin: 0 0 8px; font-size: 20px; }
.seo-v2 .seo-grid article p { margin: 0; color: var(--muted); line-height: 1.6; }

/* faixa de confianca em roxo */
.seo-v2 .seo-trust {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 26px; padding: 40px 44px; border: 0; border-radius: 30px; color: #fff;
  background: radial-gradient(500px 280px at 90% 10%, rgba(255, 190, 0, .2), transparent 60%), linear-gradient(140deg, #4c1a7e, #2a0b47);
  box-shadow: 0 30px 60px rgba(42, 20, 60, .2);
}
.seo-v2 .seo-trust::after {
  content: ''; position: absolute; right: -30px; bottom: -40px; z-index: -1; width: 220px; height: 220px; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.4 8 9 4.6-.6 8-4 8-9V6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.seo-v2 .seo-trust > p { color: #e3d6f2; }
.seo-v2 .seo-trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 18px 0; padding: 0; list-style: none; }
.seo-v2 .seo-trust li { position: relative; padding: 16px 16px 16px 50px; border-radius: 16px; background: rgba(255, 255, 255, .07); color: #e9def5; line-height: 1.55; }
.seo-v2 .seo-trust li::before {
  content: '✓'; position: absolute; left: 14px; top: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #241032; font-size: 12px; font-weight: 900;
}
.seo-v2 .seo-trust li strong { color: #fff; }
.seo-v2 .seo-trust .seo-note { margin: 6px 0 0; color: #c9b8dd; font-size: 13px; }

/* links relacionados */
.seo-v2 .seo-related-grid a {
  position: relative; padding: 22px 52px 22px 22px; border-radius: 20px; border: 1px solid var(--line); background: #fbf8fe;
  transition: transform .25s var(--sv-ease), background .25s, border-color .25s;
}
.seo-v2 .seo-related-grid a::after {
  content: '→'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--secondary); font-weight: 900; font-size: 18px;
  transition: transform .25s var(--sv-ease);
}
.seo-v2 .seo-related-grid a:hover { transform: translateY(-3px); background: #fff; border-color: rgba(111, 53, 165, .3); }
.seo-v2 .seo-related-grid a:hover::after { transform: translate(5px, -50%); }

/* ---------- Planos (precos vindos da API, ver seo-planos.js) ---------- */
.seo-v2 .seo-plans { padding-block: 80px; }
.seo-v2 .seo-plans-box {
  position: relative; overflow: hidden; padding: 52px 48px; border-radius: 34px; background: var(--bg-alt);
}
.seo-v2 .seo-plans-box::before { content: ''; position: absolute; top: -120px; right: -80px; width: 340px; height: 340px; border-radius: 50%; background: rgba(139, 79, 208, .16); filter: blur(10px); }
.seo-v2 .seo-plans-head { position: relative; max-width: 640px; margin-bottom: 30px; }
.seo-v2 .seo-plans-head .eyebrow { margin: 0 0 10px; color: var(--secondary); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.seo-v2 .seo-plans-head h2 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.seo-v2 .seo-plans-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.seo-v2 .seo-plans-list { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.seo-v2 .seo-plan {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff;
  box-shadow: 0 18px 44px rgba(42, 20, 60, .08); animation: svRise .6s var(--sv-ease) both; animation-delay: calc(var(--i, 0) * .08s);
  transition: transform .25s var(--sv-ease), box-shadow .25s var(--sv-ease);
}
.seo-v2 .seo-plan:hover { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(42, 20, 60, .14); }
.seo-v2 .seo-plan--trial { border: 2px solid var(--accent); }
.seo-v2 .seo-plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.seo-v2 .seo-plan-audience { color: var(--secondary); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.seo-v2 .seo-plan-badge { padding: 6px 10px; border-radius: 999px; background: #fff3c8; color: #6a4c00; font-size: 11px; font-weight: 900; }
.seo-v2 .seo-plan h3 { margin: 6px 0 0; font-size: 24px; }
.seo-v2 .seo-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.seo-v2 .seo-plan-price strong { color: var(--primary); font-size: 34px; font-weight: 950; letter-spacing: -.03em; }
.seo-v2 .seo-plan-price span { color: var(--muted); font-size: 13px; }
.seo-v2 .seo-plan ul { display: grid; gap: 9px; margin: 4px 0 6px; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.seo-v2 .seo-plan li { position: relative; padding-left: 24px; font-size: 14px; font-weight: 750; }
.seo-v2 .seo-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 950; }
.seo-v2 .seo-plan-condition { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.seo-v2 .seo-plan .button { margin-top: auto; width: 100%; text-align: center; }
.seo-v2 .seo-plan--loading { min-height: 330px; position: relative; overflow: hidden; }
.seo-v2 .seo-plan--loading::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(111, 53, 165, .08), transparent); animation: loading 1.2s infinite; }
.seo-v2 .seo-plans-more { position: relative; margin: 22px 0 0; font-size: 14px; font-weight: 800; }
.seo-v2 .seo-plans-more a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.seo-v2 .seo-faq details {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .25s, box-shadow .25s;
}
.seo-v2 .seo-faq details[open] { border-color: rgba(111, 53, 165, .3); box-shadow: 0 16px 36px rgba(42, 20, 60, .08); }
.seo-v2 .seo-faq summary { position: relative; padding: 20px 60px 20px 22px; font-size: 17px; font-weight: 800; list-style: none; cursor: pointer; }
.seo-v2 .seo-faq summary::-webkit-details-marker { display: none; }
.seo-v2 .seo-faq summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: #f1e7fb; color: var(--primary); font-size: 20px; font-weight: 700; transition: transform .3s var(--sv-ease), background .3s;
}
.seo-v2 .seo-faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.seo-v2 .seo-faq details p { margin: 0; padding: 0 22px 20px; color: #4a3f55; line-height: 1.65; }
.seo-v2 .seo-faq details[open] p { animation: svRise .35s var(--sv-ease) both; }

/* ---------- CTA final com rostos ---------- */
.seo-v2 .seo-cta-band {
  position: relative; overflow: hidden; isolation: isolate; max-width: none;
  margin: 40px clamp(12px, 3vw, 40px) clamp(56px, 7vw, 88px); padding: 80px max(28px, calc((100vw - 1100px) / 2)); border-radius: 44px;
  color: #fff; text-align: center;
  background: radial-gradient(600px 320px at 85% 15%, rgba(255, 190, 0, .22), transparent 60%), linear-gradient(140deg, #6f35a5, #3b1063);
}
.seo-v2 .seo-cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.seo-v2 .seo-cta-band p { color: #e3d6f2; }
.seo-v2 .seo-cta-band .button.primary { background: var(--accent); color: #241032; }
.seo-v2 .seo-cta-band .button.ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.seo-v2 .seo-cta-band .seo-hero-actions { justify-content: center; }
.seo-v2 .sv-faces { display: flex; justify-content: center; margin-bottom: 22px; }
.seo-v2 .sv-faces img { width: 52px; height: 52px; margin-left: -12px; border: 3px solid #5a2690; border-radius: 50%; object-fit: cover; animation: svFloat 5s ease-in-out infinite; }
.seo-v2 .sv-faces img:first-child { margin-left: 0; }
.seo-v2 .sv-faces img:nth-child(2) { animation-delay: .4s; }
.seo-v2 .sv-faces img:nth-child(3) { animation-delay: .8s; }
.seo-v2 .sv-faces img:nth-child(4) { animation-delay: 1.2s; }

/* ---------- Pausas e acessibilidade ---------- */
.seo-v2 .seo-hero.is-offscreen *,
.seo-v2 .seo-hero.is-offscreen::before { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .seo-v2 *, .seo-v2 *::before, .seo-v2 *::after { animation: none !important; transition: none !important; }
  .seo-v2 .sv-toast--1, .seo-v2 .sv-field { opacity: 1; }
  .seo-v2 .sv-sig { stroke-dashoffset: 0; }
  .seo-v2 .sv-attach div { opacity: 1; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .seo-v2 .seo-hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 100px; }
  .seo-v2 .sv-scene { max-width: 560px; width: 100%; min-height: 400px; }
  .seo-v2 .seo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .seo-v2 .seo-steps::before { display: none; }
  .seo-v2 .seo-trust ul { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .seo-v2 .seo-page > section:not(.seo-hero):not(.seo-cta-band) { padding-inline: 18px; }
  .seo-v2 .seo-hero { padding: 26px 18px 84px; }
  .seo-v2 .seo-hero h1 { font-size: 36px; }
  .seo-v2 .sv-scene { min-height: 330px; }
  .seo-v2 .sv-photo { inset: 0 0 30px 18px; }
  .seo-v2 .sv-card { max-width: 230px; padding: 14px; }
  .seo-v2 .sv-toast { font-size: 12px; }
  .seo-v2 .sv-pdf { inset: 0 40px 30px 0; padding: 20px 18px; }
  .seo-v2 .sv-person { width: 120px; height: 150px; }
  .seo-v2 .sv-erp { inset: 0 0 60px 0; }
  .seo-v2 .sv-code { inset: 0 0 70px 0; }
  .seo-v2 .sv-cert { inset: 0 0 60px 0; padding: 18px; }
  .seo-v2 .sv-seal { width: 52px; height: 52px; }
  .seo-v2 .sv-seal span { width: 40px; height: 40px; }
  .seo-v2 .sv-chat { inset: 0 0 64px 0; }
  .seo-v2 .sv-code pre { padding: 16px; font-size: 10.5px; }
  .seo-v2 .sv-erp-row { grid-template-columns: 86px 1fr; }
  .seo-v2 .sv-link { top: auto; bottom: 10px; right: 10px; }
  .seo-v2 .seo-section { padding-block: 52px; }
  .seo-v2 .seo-photo { float: none; width: 100%; margin: 0 0 26px; }
  .seo-v2 .seo-steps { grid-template-columns: 1fr; gap: 0; }
  .seo-v2 .seo-steps li { grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 4px; padding-bottom: 22px; }
  .seo-v2 .seo-steps li::before { grid-row: span 2; margin: 0; }
  .seo-v2 .seo-steps li:not(:last-child)::after { content: ''; position: absolute; left: 27px; top: 60px; bottom: 2px; width: 2px; background: #e3d6f0; }
  .seo-v2 .seo-trust { padding: 30px 20px; border-radius: 24px; }
  .seo-v2 .seo-plans-box { padding: 34px 20px; border-radius: 26px; }
  .seo-v2 .seo-cta-band { padding: 56px 20px; border-radius: 30px; }
}
