/* ===========================================================
   Sua Vez: landing page
   Segue o design system (design-system/design-system-suavez.html):
   estrutura do jasper.ai + cores, logo e tipografia do
   Manual de Identidade Visual Sua Vez.
   Tokens em css/tokens.css (carregado antes deste arquivo).
   =========================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-heading);
  margin: 0;
  color: var(--color-text);
}
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.no-scroll { overflow: hidden; }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sv-charcoal);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

section { position: relative; }

/* eyebrow: rótulo em caixa alta (papel do "THE JASPER PLATFORM") */
.eyebrow,
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  background: var(--color-accent-tint);
  color: var(--purple-700);
  padding: 4px 9px 3px;
  margin-bottom: var(--space-5);
}

.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
}
.section-head p { margin-top: var(--space-4); color: var(--color-text-muted); font-size: var(--text-lg); max-width: 620px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered p { margin-left: auto; margin-right: auto; }

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }

/* cascata: cards do mesmo grid revelam em sequência */
.problem-grid > [data-reveal]:nth-child(2),
.steps > [data-reveal]:nth-child(2),
.features-grid > [data-reveal]:nth-child(2),
.why-grid > [data-reveal]:nth-child(2),
.faq-list > [data-reveal]:nth-child(2),
.trust-bar .container > [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.problem-grid > [data-reveal]:nth-child(3),
.steps > [data-reveal]:nth-child(3),
.features-grid > [data-reveal]:nth-child(3),
.why-grid > [data-reveal]:nth-child(3),
.faq-list > [data-reveal]:nth-child(3),
.trust-bar .container > [data-reveal]:nth-child(3) { transition-delay: 180ms; }
.problem-grid > [data-reveal]:nth-child(4),
.steps > [data-reveal]:nth-child(4),
.faq-list > [data-reveal]:nth-child(4),
.trust-bar .container > [data-reveal]:nth-child(4) { transition-delay: 270ms; }
.faq-list > [data-reveal]:nth-child(5) { transition-delay: 360ms; }
.faq-list > [data-reveal]:nth-child(6) { transition-delay: 450ms; }

/* ---------- entrada da hero ---------- */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .tag { animation: hero-in 0.7s var(--ease-out) both; }
.hero h1 { animation: hero-in 0.7s var(--ease-out) 0.05s both; }
.hero .lede { animation: hero-in 0.7s var(--ease-out) 0.12s both; }
.hero-actions { animation: hero-in 0.7s var(--ease-out) 0.22s both; }
.hero-visual { animation: hero-in 0.8s var(--ease-out) 0.3s both; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero .tag, .hero h1, .hero .lede, .hero-actions, .hero-visual, .live-dot { animation: none !important; }
  .faq-item .faq-answer, .faq-item .faq-summary .chev { transition: none !important; }
  .steps::after { animation: none !important; width: 88% !important; opacity: 1 !important; }
  .step-num { animation: none !important; border-color: var(--sv-purple) !important; color: var(--sv-purple) !important; }
  .btn, .problem-card, .feature-card, .where-card, .plan, .why-card, .showcase-media img { transition: none !important; }
}

/* ---------- buttons (cantos retos, sombra dura no hover) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px 11px;
  border-radius: var(--radius-none);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
/* manual: roxo é a cor dos botões */
.btn-primary { background: var(--sv-purple); border-color: var(--sv-purple); color: #fff; }
.btn-primary:hover { background: var(--purple-600); border-color: var(--purple-600); transform: translate(-4px, -4px); box-shadow: var(--shadow-hard-sm); }
.btn-outline { background: transparent; border-color: var(--sv-charcoal); color: var(--sv-charcoal); }
.btn-outline:hover { background: var(--sv-charcoal); color: #fff; }
.btn-ghost { background: var(--gray-100); color: var(--sv-charcoal); }
.btn-ghost:hover { background: var(--gray-200); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  transition: border-color var(--duration-base) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--sv-charcoal); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: 76px;
}
.brand { display: flex; align-items: center; }
/* manual: nunca abaixo de 100px de largura na tela */
.brand img { width: 124px; min-width: var(--logo-min-width); height: auto; }

.site-nav { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.site-nav a {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--sv-charcoal);
  transition: color var(--duration-fast) var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--sv-purple); }
.site-nav .btn-primary { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { font-size: var(--text-base); padding: 10px 16px 9px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sv-charcoal);
  padding: 7px;
  color: var(--sv-charcoal);
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* ---------- hero (centralizada, fundo claro com grade, como o Jasper) ---------- */
.hero {
  padding: 148px 0 0;
  overflow: hidden;
  background-color: var(--purple-50);
  background-image:
    linear-gradient(var(--purple-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--purple-100) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center -1px;
  border-bottom: 1px solid var(--sv-charcoal);
}
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero-copy { text-align: center; max-width: 1000px; display: flex; flex-direction: column; align-items: center; }
.hero .tag { background: #fff; color: var(--sv-charcoal); border: 1px solid var(--sv-charcoal); }
.hero h1 {
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.5rem);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  font-weight: var(--weight-black);
}
.hero .lede {
  margin-top: var(--space-5);
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  color: var(--color-text);
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }

.hero-visual { position: relative; width: 100%; max-width: 1040px; margin-top: var(--space-8); padding-bottom: var(--space-6); }
.hero-visual .glow { display: none; }

/* telas do produto recriadas em HTML: moldura reta, com respiro antes da barra de confiança */
.hero-shots { position: relative; z-index: 1; padding: 0 6% 0 0; }
.hero-shots .shot-main,
.hero-shots .shot-float { width: 100%; display: block; border: 1px solid var(--sv-charcoal); }
.hero-shots .shot-float {
  width: 34%;
  position: absolute;
  right: 0;
  bottom: 48px;
  box-shadow: var(--shadow-hard-md);
}

.live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sv-charcoal);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 7px 12px 6px 10px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background: var(--purple-300);
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse { 50% { opacity: .25; } }

/* ---------- hero · painel de TV animado ----------
   Tudo em cqw (largura do próprio painel), para a tela encolher inteira no celular. */
.tv-mock { aspect-ratio: 1100 / 618; container-type: inline-size; overflow: hidden; background: var(--purple-900); }
.tv-screen {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: auto 1fr auto;
  color: #fff;
  background: radial-gradient(ellipse 70% 60% at 50% 46%, var(--purple-800) 0%, var(--purple-900) 62%, #1A0E38 100%);
  font-family: var(--font-body);
}
.tv-mock { position: relative; }
.tv-top { display: flex; justify-content: flex-end; align-items: center; padding: 2.2cqw 2.6cqw; }
.tv-logo { width: 6.5cqw; height: auto; display: block; margin-left: auto; flex-shrink: 0; opacity: .9; }
.tv-top-right { display: inline-flex; align-items: center; gap: 1.2cqw; }
.tv-clock { font-family: var(--font-code); font-size: 1.7cqw; letter-spacing: .04em; color: var(--purple-100); font-variant-numeric: tabular-nums; }
.tv-pill { font-size: .95cqw; font-weight: var(--weight-semibold); padding: .35cqw 1cqw; border-radius: var(--radius-round); }
.tv-pill-ok { background: var(--color-success); color: #fff; }

.tv-call { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4cqw; text-align: center; }
.tv-type {
  font-family: var(--font-display); font-weight: var(--weight-black); font-size: 1.35cqw;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  padding: .45cqw 1.4cqw; border-radius: var(--radius-round);
  background: rgba(255, 255, 255, .12); color: var(--purple-100);
}
.tv-type.is-pref { background: var(--color-warning); color: var(--sv-charcoal); }
.tv-ticket {
  font-family: var(--font-display); font-weight: var(--weight-black);
  font-size: 15cqw; line-height: .9; letter-spacing: -0.02em;
  color: #fff; font-variant-numeric: tabular-nums;
}
.tv-desk {
  font-family: var(--font-display); font-weight: var(--weight-black); font-size: 3cqw;
  background: var(--sv-purple); color: #fff;
  padding: .7cqw 3cqw; border-radius: var(--radius-round);
  box-shadow: 0 0 0 .35cqw rgba(179, 157, 227, .25);
}
.tv-service { font-size: 1.9cqw; color: var(--purple-200); }

/* senha nova: entra crescendo e o guichê pulsa duas vezes */
.tv-call.is-calling .tv-ticket { animation: tv-ticket-in .7s var(--ease-out) both, tv-ticket-glow 1.1s ease-in-out .7s 2; }
.tv-call.is-calling .tv-type,
.tv-call.is-calling .tv-service { animation: tv-fade-up .5s var(--ease-out) both; }
.tv-call.is-calling .tv-desk { animation: tv-fade-up .5s var(--ease-out) .12s both, tv-desk-pulse 1.1s ease-in-out .7s 2; }
@keyframes tv-ticket-in { from { opacity: 0; transform: scale(.78); } to { opacity: 1; transform: none; } }
@keyframes tv-ticket-glow { 50% { color: var(--purple-200); text-shadow: 0 0 4cqw rgba(179, 157, 227, .55); } }
@keyframes tv-fade-up { from { opacity: 0; transform: translateY(1.2cqw); } to { opacity: 1; transform: none; } }
@keyframes tv-desk-pulse { 50% { box-shadow: 0 0 0 1.4cqw rgba(179, 157, 227, 0); transform: scale(1.04); } }

.tv-history {
  display: flex; align-items: center; gap: 1.6cqw;
  padding: 1.5cqw 2.6cqw; border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .18); overflow: hidden;
}
.tv-history-label { flex-shrink: 0; font-size: .95cqw; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--purple-200); }
.tv-history-list { display: flex; gap: .9cqw; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.tv-history-list li {
  display: inline-flex; align-items: baseline; gap: .6cqw;
  font-size: 1.05cqw; color: var(--purple-200);
  padding: .6cqw 1cqw; border: 1px solid rgba(255, 255, 255, .16); border-radius: .5cqw;
  background: rgba(255, 255, 255, .05);
}
.tv-history-list li b { font-family: var(--font-display); font-weight: var(--weight-black); font-size: 1.4cqw; color: #fff; }
.tv-history-list li.is-new { animation: tv-history-in .5s var(--ease-out) both; }
@keyframes tv-history-in { from { opacity: 0; transform: translateX(-2cqw); } to { opacity: 1; transform: none; } }

/* ---------- hero · totem animado ---------- */
.totem-mock { aspect-ratio: 1100 / 687; container-type: inline-size; overflow: hidden; background: var(--gray-50); }
.totem-screen { position: absolute; inset: 0; font-family: var(--font-display); color: var(--sv-charcoal); }
.totem-top {
  height: 13cqw; display: flex; align-items: center; justify-content: center;
  background: #fff; border-bottom: 1px solid var(--gray-200);
  box-shadow: inset 0 .5cqw 0 var(--sv-purple);
}
.totem-top img { width: 12cqw; height: auto; display: block; }
.totem-view {
  position: absolute; left: 0; right: 0; top: 13cqw; bottom: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 14cqw 3cqw;
  opacity: 0; visibility: hidden; transform: translateX(4cqw);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s;
}
.totem-view.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.totem-title { font-size: 4.4cqw; font-weight: var(--weight-black); letter-spacing: var(--tracking-heading); margin: 0 0 4cqw; line-height: 1.1; text-align: center; }
.totem-sub { font-family: var(--font-body); font-size: 2.6cqw; color: var(--gray-500); margin: -2.6cqw 0 3.6cqw; }
.totem-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.totem-btn {
  min-height: 15cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6cqw;
  padding: 1.5cqw 2cqw; text-align: center;
  font-size: 3.6cqw; font-weight: var(--weight-black); line-height: 1.12;
  color: #fff; background: var(--sv-purple);
  border-radius: 1.4cqw; box-shadow: 0 .7cqw 0 var(--purple-700);
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s ease;
}
.totem-grid > .totem-btn:nth-child(2) { background: var(--purple-400); box-shadow: 0 .7cqw 0 var(--purple-600); }
.totem-grid > .totem-btn:nth-child(3) { background: var(--sv-charcoal); box-shadow: 0 .7cqw 0 var(--gray-950); }
.totem-grid > .totem-btn:nth-child(4) { background: var(--purple-700); box-shadow: 0 .7cqw 0 var(--purple-900); }
.totem-grid-2 .totem-btn-type { min-height: 19cqw; background: var(--sv-purple); box-shadow: 0 .7cqw 0 var(--purple-700); }
.totem-grid-2 .totem-btn-type.is-pref { background: var(--color-warning); color: var(--sv-charcoal); box-shadow: 0 .7cqw 0 #B07A05; }
.totem-btn-type b { font-size: 4cqw; }
.totem-btn-type small { font-family: var(--font-body); font-size: 1.9cqw; font-weight: var(--weight-medium); opacity: .85; }
.totem-btn.is-pressed { transform: translateY(.6cqw); box-shadow: 0 .1cqw 0 var(--purple-900) !important; filter: brightness(1.08); }

/* senha emitida: o papel sobe por cima da tela de tipo */
.totem-ticket {
  position: absolute; left: 50%; bottom: 3cqw; width: 34cqw;
  display: flex; flex-direction: column; align-items: center; gap: .4cqw;
  padding: 2.4cqw 2cqw 2.8cqw; background: #fff; color: var(--sv-charcoal);
  border: 1px solid var(--sv-charcoal); box-shadow: 1cqw 1cqw 0 var(--sv-charcoal);
  opacity: 0; transform: translate(-50%, 6cqw);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.totem-ticket.is-visible { opacity: 1; transform: translate(-50%, 0); }
.totem-view.has-ticket > :not(.totem-ticket) { opacity: .25; transition: opacity .3s ease; }
.totem-ticket span { font-family: var(--font-body); font-size: 1.9cqw; color: var(--gray-500); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); }
.totem-ticket b { font-size: 8cqw; font-weight: var(--weight-black); line-height: 1; color: var(--sv-purple); }
.totem-ticket small { font-family: var(--font-body); font-size: 1.8cqw; color: var(--gray-500); }

/* mão: a ponta do dedo fica em (8/24, 2/24) do desenho; o JS posiciona por transform */
.totem-hand {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 12cqw; height: 12cqw;
  margin-left: -4cqw; margin-top: -1cqw;
  transform: translate(80cqw, 44cqw);
  transition: transform .9s cubic-bezier(.45, .05, .25, 1);
  filter: drop-shadow(.4cqw .5cqw 0 rgba(54, 56, 62, .25));
  pointer-events: none; will-change: transform;
}
.totem-hand.is-tapping path { transform-origin: 33% 10%; animation: totem-tap .28s ease-in-out; }
@keyframes totem-tap { 50% { transform: scale(.86); } }
.totem-ripple {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 6cqw; height: 6cqw; margin: -3cqw 0 0 -3cqw;
  border-radius: var(--radius-round); border: .5cqw solid #fff;
  opacity: 0; pointer-events: none;
}
.totem-ripple.is-on { animation: totem-ripple .55s var(--ease-out); }
@keyframes totem-ripple { from { opacity: .9; scale: .3; } to { opacity: 0; scale: 1.8; } }

@media (prefers-reduced-motion: reduce) {
  .totem-ripple { display: none; }
  .totem-hand { transition: none; }
  .tv-call.is-calling *, .tv-history-list li.is-new, .totem-hand.is-tapping path { animation: none !important; }
  .totem-view, .totem-ticket, .totem-btn { transition: none; }
}

/* ---------- trust bar: faixa dividida por linhas finas ---------- */
.trust-bar { border-bottom: 1px solid var(--sv-charcoal); background: #fff; }
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-5);
  border-left: 1px solid var(--gray-200);
}
.trust-item:first-child { border-left: 0; }
.trust-item .icon-badge { flex-shrink: 0; }
.trust-item > span:last-child { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--sv-charcoal); line-height: 1.35; }

.icon-badge {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-100);
  color: var(--sv-purple);
}
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- cards: base comum (borda 1px carvão, canto reto, sombra dura) ---------- */
.problem-card,
.feature-card,
.where-card,
.plan,
.why-card {
  background: #fff;
  border: 1px solid var(--sv-charcoal);
  border-radius: var(--radius-none);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

/* ---------- problem ---------- */
.problem { padding: var(--space-9) 0; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.problem-card { padding: var(--space-5); min-height: 260px; display: flex; flex-direction: column; }
.problem-card .icon-badge { background: var(--surface-danger); color: var(--color-danger); margin-bottom: auto; }
.problem-card h3 { font-size: var(--text-xl); margin: var(--space-6) 0 var(--space-2); }
.problem-card p { color: var(--color-text-muted); font-size: var(--text-base); }

/* ---------- how it works ---------- */
.how { padding: var(--space-9) 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--gray-300);
  z-index: 0;
}
/* linha que "preenche" da esquerda pra direita, em loop lento */
.steps::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 6%;
  width: 0;
  height: 3px;
  background: var(--sv-purple);
  z-index: 0;
  animation: steps-line 7s linear infinite;
}
@keyframes steps-line {
  0% { width: 0; opacity: 1; }
  63% { width: 88%; opacity: 1; }
  70% { width: 88%; opacity: 1; }
  84% { width: 0; opacity: 0; }
  100% { width: 0; opacity: 0; }
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px;
  background: #fff;
  border: 1px solid var(--gray-300);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}
.step:nth-child(1) .step-num { animation: step-light-1 7s ease-in-out infinite; }
.step:nth-child(2) .step-num { animation: step-light-2 7s ease-in-out infinite; }
.step:nth-child(3) .step-num { animation: step-light-3 7s ease-in-out infinite; }
.step:nth-child(4) .step-num { animation: step-light-4 7s ease-in-out infinite; }
/* cada número "acende" quando a linha chega nele */
@keyframes step-light-1 {
  0%, 4% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
  10%, 70% { border-color: var(--sv-purple); color: #fff; background: var(--sv-purple); }
  84%, 100% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
}
@keyframes step-light-2 {
  0%, 20% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
  27%, 70% { border-color: var(--sv-purple); color: #fff; background: var(--sv-purple); }
  84%, 100% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
}
@keyframes step-light-3 {
  0%, 38% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
  45%, 70% { border-color: var(--sv-purple); color: #fff; background: var(--sv-purple); }
  84%, 100% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
}
@keyframes step-light-4 {
  0%, 56% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
  63%, 70% { border-color: var(--sv-purple); color: #fff; background: var(--sv-purple); }
  84%, 100% { border-color: var(--gray-300); color: var(--gray-500); background: #fff; }
}
.step h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.step p { color: var(--color-text-muted); font-size: var(--text-base); }

/* ---------- tick list ---------- */
ul.tick-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; border-top: 1px solid var(--gray-200); }
ul.tick-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: var(--color-text);
  font-size: var(--text-base);
  border-bottom: 1px solid var(--gray-200);
}
ul.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background: var(--sv-purple);
}
/* bullet-exemplo das cores do totem (azul/verde/laranja): são as cores
   configuradas nesta demonstração, não uma paleta do produto —
   cada cliente define as cores dos botões no próprio painel */
ul.tick-list li.tick-service-colors::before {
  width: 15px;
  height: 7px;
  top: 19px;
  border-radius: 0;
  background: linear-gradient(90deg, #3450e0 0% 33%, #1e9e6b 33% 66%, #d77900 66% 100%);
}

/* ---------- telas reais do sistema ---------- */
.showcase { padding: var(--space-9) 0; }
.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-7) 0;
  border-top: 1px solid var(--gray-300);
}
.showcase-item:last-child { border-bottom: 1px solid var(--gray-300); }
.showcase-item:nth-child(even) .showcase-text { order: 2; }
.showcase-text h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: var(--leading-snug); margin-bottom: var(--space-3); }
.showcase-note { color: var(--color-text-muted); font-size: var(--text-lg); }
.showcase-media { background: var(--sv-purple); padding: var(--space-6) 0 var(--space-6) var(--space-6); }
.showcase-item:nth-child(odd) .showcase-media { background: var(--purple-100); }
.showcase-media img {
  width: 100%;
  border: 1px solid var(--sv-charcoal);
  border-right: 0;
  display: block;
  background: #fff;
}
.showcase-gal { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.showcase-gal img:first-child { grid-column: 1 / -1; }
.showcase-gal img:nth-child(2) { border-right: 1px solid var(--sv-charcoal); }

/* ---------- features ---------- */
.features { padding: var(--space-9) 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.feature-card { padding: var(--space-5); min-height: 260px; display: flex; flex-direction: column; }
.feature-card:hover, .problem-card:hover, .where-card:hover { transform: translate(-6px, -6px); box-shadow: var(--shadow-hard-md); }
.feature-card .icon-badge { margin-bottom: auto; }
.feature-card h3 { font-size: var(--text-xl); margin: var(--space-6) 0 var(--space-2); }
.feature-card p { font-size: var(--text-base); color: var(--color-text-muted); }

/* ---------- why different: seção escura, cards brancos (grade de números do Jasper) ---------- */
.why { padding: var(--space-9) 0; background: var(--sv-charcoal); color: #fff; }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: var(--color-on-dark-muted); }
.why .eyebrow { background: var(--gray-700); color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.why-card {
  padding: var(--space-5);
  border-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.why-card .why-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--sv-purple);
  margin-bottom: auto;
}
.why-card h3 { font-size: var(--text-xl); margin: var(--space-6) 0 var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--gray-200); }
.why-card p { color: var(--color-text-muted); font-size: var(--text-base); }
.why-card:hover { transform: translate(-6px, -6px); box-shadow: 12px 12px 0 0 var(--purple-300); }

.why-card.is-featured { background: var(--sv-purple); border-color: var(--sv-purple); }
.why-card.is-featured .why-num { color: #fff; }
.why-card.is-featured h3 { color: #fff; border-top-color: rgba(255, 255, 255, .3); }
.why-card.is-featured p { color: #E6DEF8; }
.why-card.is-featured .why-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  background: #fff;
  color: var(--sv-purple);
  padding: 4px 9px 3px;
  margin-bottom: var(--space-4);
}
.why-card.is-featured:hover { box-shadow: 12px 12px 0 0 #fff; }

/* ---------- onde funciona melhor ---------- */
.where { padding: var(--space-9) 0; }
.where-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.where-card { padding: var(--space-6); }
.where-card h3 { font-size: var(--text-2xl); }
.where-note { margin-top: var(--space-5); text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- pricing ---------- */
.pricing { padding: var(--space-9) 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
.plan {
  padding: var(--space-6) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}
.plan:hover { transform: translate(-6px, -6px); box-shadow: var(--shadow-hard-md); }
.plan.is-highlight { border: 2px solid var(--sv-purple); box-shadow: var(--shadow-hard-accent); }
.plan.is-highlight:hover { box-shadow: 18px 18px 0 0 var(--sv-purple); }
.plan-badge {
  position: absolute;
  top: -13px; left: var(--space-5);
  background: var(--sv-purple);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 5px 10px 4px;
}
.plan-name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-black); }
.plan-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sv-charcoal);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
}
.plan-price small { font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: 0; display: block; color: var(--color-text-muted); margin-top: var(--space-2); }
.plan-list { display: flex; flex-direction: column; gap: 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-base); color: var(--color-text); }
.plan-list svg { width: 18px; height: 18px; color: var(--sv-purple); flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ---------- implantação ---------- */
.info-single { margin-top: var(--space-5); }
.info-card {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  background: #fff;
  border: 1px solid var(--sv-charcoal);
  padding: var(--space-5) var(--space-6);
}
.info-card-head { flex: 0 0 auto; min-width: 230px; }
.info-card-head h3 { font-size: var(--text-xl); margin-bottom: 4px; }
.info-card .plan-price { font-size: var(--text-xl); color: var(--sv-purple); border: 0; padding: 0; }
.info-card .price-note { flex: 1; font-size: var(--text-base); color: var(--color-text-muted); }

/* ---------- faq: lista editorial com divisórias ---------- */
.faq { padding: var(--space-9) 0; }
.faq-list { display: flex; flex-direction: column; max-width: 880px; margin: 0 auto; border-top: 1px solid var(--sv-charcoal); }
.faq-item { border-bottom: 1px solid var(--sv-charcoal); }
.faq-item .faq-summary {
  appearance: none;
  background: none;
  border: none;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.015em;
  text-align: left;
  color: inherit;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: color var(--duration-fast) var(--ease-out);
}
.faq-item .faq-summary:hover { color: var(--sv-purple); }
.faq-item .faq-summary .chev {
  width: 32px; height: 32px; padding: 6px;
  border: 1px solid var(--sv-charcoal);
  color: var(--sv-charcoal);
  transition: transform var(--duration-base) var(--ease-out), background var(--duration-fast), color var(--duration-fast);
  flex-shrink: 0;
}
.faq-item.is-open .faq-summary .chev { transform: rotate(180deg); background: var(--sv-purple); border-color: var(--sv-purple); color: #fff; }
.faq-item .faq-answer { display: grid; grid-template-rows: minmax(0, 0fr); transition: grid-template-rows 0.3s var(--ease-out); }
.faq-item.is-open .faq-answer { grid-template-rows: minmax(0, 1fr); }
.faq-item .faq-answer > div { overflow: hidden; min-height: 0; }
.faq-item .faq-answer p { margin: 0; padding: 0 0 var(--space-5); color: var(--color-text-muted); font-size: var(--text-base); max-width: 66ch; }

/* ---------- final cta: faixa roxa com sombra dura ---------- */
.final-cta { padding: var(--space-9) 0 calc(var(--space-9) + 24px); }
.final-cta-inner {
  background: var(--sv-purple);
  border: 1px solid var(--sv-charcoal);
  box-shadow: var(--shadow-hard-lg);
  padding: var(--space-8) var(--space-7);
  color: #fff;
  margin-right: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: var(--space-6);
  align-items: end;
}
.final-cta h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); color: #fff; grid-column: 1; }
.final-cta-inner > p:not(.final-cta-note) { margin-top: var(--space-3); color: #E6DEF8; font-size: var(--text-lg); grid-column: 1; }
.final-cta .btn-primary { grid-column: 2; grid-row: 1 / span 2; align-self: end; background: #fff; border-color: #fff; color: var(--sv-purple); }
.final-cta .btn-primary:hover { background: var(--purple-50); box-shadow: 6px 6px 0 0 var(--sv-charcoal); }
.final-cta-note { grid-column: 1 / -1; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, .3); font-size: var(--text-sm); color: #E6DEF8; }
.final-cta-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer: carvão, logo negativa (branca) ---------- */
.site-footer { padding: var(--space-8) 0 var(--space-6); background: var(--sv-charcoal); color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.site-footer .brand img { width: 160px; }
.footer-contact { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-bold); color: #fff; }
.footer-contact:hover { color: var(--purple-300); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--gray-700);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .problem-grid, .features-grid, .why-grid, .pricing-grid, .where-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-6); }
  .steps::before, .steps::after { display: none; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--gray-200); }
  .showcase-item { grid-template-columns: 1fr; gap: var(--space-5); }
  .showcase-item:nth-child(even) .showcase-text { order: 0; }
  .hero-shots .shot-float { width: 38%; }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(82vw, 340px);
    background: #fff;
    border-left: 1px solid var(--sv-charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-5) var(--space-5);
    gap: var(--space-5);
    transform: translateX(100%);
    transition: transform var(--duration-base) var(--ease-out);
  }
  .site-nav.is-open { transform: translateX(0); box-shadow: -12px 0 0 0 rgba(54, 56, 62, .08); }
  .site-nav a { font-size: var(--text-xl); }
  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }
  .header-actions .btn-primary { display: none; }
  .site-nav .btn-primary { display: inline-flex; margin-top: var(--space-2); }

  .problem-grid, .features-grid, .why-grid, .pricing-grid, .steps, .where-grid { grid-template-columns: 1fr; }
  .problem-card, .feature-card, .why-card { min-height: 0; }
  .trust-bar .container { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; border-top: 1px solid var(--gray-200); }
  .trust-item:first-child { border-top: 0; }
  .hero { padding-top: 116px; }
  .hero-visual { margin-top: var(--space-7); padding-bottom: var(--space-6); }
  .hero-shots { padding: 0; }
  .live-badge { top: 8px; left: 8px; font-size: 9px; padding: 4px 8px 3px 7px; gap: 6px; }
  .live-dot { width: 6px; height: 6px; }
  .hero-shots .shot-float { position: relative; right: auto; bottom: auto; width: 58%; margin: -40px 0 0 auto; box-shadow: var(--shadow-hard-sm); }
  .showcase-media { padding: var(--space-4) 0 var(--space-4) var(--space-4); }
  .final-cta-inner { grid-template-columns: 1fr; padding: var(--space-7) var(--space-5); margin-right: 12px; box-shadow: var(--shadow-hard-md); }
  .final-cta .btn-primary { grid-column: 1; grid-row: auto; margin-top: var(--space-5); justify-self: start; }
  .info-card { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .plan.is-highlight { margin-right: 12px; }
}

.hero h1 em { font-style: italic; color: var(--sv-purple); }
