/* ============================================================
   Forxia - Estilos das páginas de serviço
   (mesmo design system do index, em arquivo compartilhado)
   ============================================================ */
:root {
  --color-primary:       #0c75fb;
  --color-primary-soft:  #4f9bff; /* azul claro p/ texto pequeno: contraste AA sobre fundo escuro */
  --color-primary-hover: #0a64d6;
  --color-bg:            #050506;
  --color-surface:       #0d0e10;
  --color-elevated:      #16171a;
  --color-ink:           #111111;
  --color-graphite:      #262626;
  --color-text:          #d2d5d8;
  --color-text-strong:   #ffffff;
  --color-text-muted:    #8b9199;
  --color-whatsapp:      #25d366;
  --color-whatsapp-hover:#1fb955;

  --hairline:        rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.16);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --tracking-wide: 0.1em;

  --radius-sm: 8px;  --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);

  --space-1: 4px;  --space-2: 8px;  --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px;

  --maxw: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem; line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--color-text-strong); font-weight: 400; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--space-8); }
.section-alt { background: var(--color-surface); }
.section-divider { border-top: 1px solid var(--hairline); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-primary); color: #fff; padding: 12px 20px; border-radius: var(--radius-md); z-index: 1100; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- Tipografia / helpers ---- */
.overline { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-primary-soft); display: inline-block; }
.section-head { max-width: 720px; margin-bottom: var(--space-6); }
.section-title { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.15; }
.section-title strong { color: var(--color-primary); font-weight: 400; }
.section-title strong.text-danger { color: #ff6b6b; }
.section-sub { margin-top: var(--space-3); color: var(--color-text-muted); font-size: 1.125rem; }

/* ---- Botões ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 16px 32px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease; text-align: center; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-whatsapp { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-whatsapp:active { transform: translateY(0) scale(0.97); box-shadow: var(--shadow-sm); }
.btn-whatsapp .btn-arrow { transition: transform 0.25s ease; }
.btn-whatsapp:hover .btn-arrow, .btn-whatsapp:focus-visible .btn-arrow { transform: translateX(5px); }
.btn-whatsapp:active .btn-arrow { transform: translateX(9px); }

.btn-secondary { background: transparent; color: var(--color-text-strong); border: 1.5px solid rgba(255,255,255,0.55); padding: 14px 30px; }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #fff; border-color: #fff; color: var(--color-primary); transform: translateY(-2px); }

.nav-cta::after { content: none; }

/* ============================================================
   HEADER + NAV + DROPDOWN
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(5,5,6,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.site-header.scrolled { background: rgba(5,5,6,0.9); border-bottom-color: var(--hairline); box-shadow: 0 1px 12px rgba(0,0,0,0.25); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 60px; }
.brand { font-family: var(--font-display); font-size: 1.05rem; color: var(--color-text-strong); display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.02em; }
.brand-logo { height: 42px; width: auto; max-width: 320px; display: block; flex: none; }

.nav-menu { display: flex; align-items: center; gap: var(--space-5); }
.nav-menu > li > a, .dropdown-toggle { font-size: 0.9rem; font-weight: 500; color: var(--color-text); position: relative; padding: 6px 0; transition: color 0.2s ease; }
.nav-menu > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-primary); transition: width 0.25s ease; }
.nav-menu > li > a:hover, .nav-menu > li > a:focus-visible { color: var(--color-text-strong); }
.nav-menu > li > a:hover::after, .nav-menu > li > a:focus-visible::after { width: 100%; }

.nav-cta { display: inline-flex; min-height: 40px; padding: 10px 20px; font-size: 0.9rem; }
.nav-cta-short { display: none; }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; font-family: var(--font-body); cursor: pointer; }
.dropdown-toggle:hover, .dropdown-toggle[aria-expanded="true"] { color: var(--color-text-strong); }
.dropdown-toggle .caret { width: 14px; height: 14px; transition: transform 0.25s ease; }
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 330px; background: var(--color-elevated); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 1001; }
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu, .dropdown-menu.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; min-height: 44px; transition: background 0.2s ease; }
.dropdown-menu li a:hover { background: rgba(12,117,251,0.12); }
.dropdown-menu .ddi-icon { color: var(--color-primary); width: 22px; height: 22px; flex: none; margin-top: 2px; }
.dropdown-menu .ddi-title { font-weight: 600; color: var(--color-text-strong); display: block; font-size: 0.92rem; white-space: nowrap; }
.dropdown-menu .ddi-sub { font-size: 0.78rem; color: var(--color-text-muted); }

.nav-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(210,213,216,0.2); border-radius: var(--radius-sm); cursor: pointer; color: var(--color-text-strong); place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ============================================================
   HERO DO SERVIÇO
   ============================================================ */
.svc-hero { position: relative; overflow: hidden; padding-block: var(--space-7); min-height: calc(100vh - var(--header-h, 80px)); min-height: calc(100svh - var(--header-h, 80px)); display: flex; align-items: center; background-size: cover; background-position: center; background-repeat: no-repeat; }
/* overlay escuro para legibilidade do texto sobre a imagem de fundo */
.svc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,6,0.94) 0%, rgba(5,5,6,0.82) 38%, rgba(5,5,6,0.45) 70%, rgba(5,5,6,0.2) 100%); z-index: 0; pointer-events: none; }
.svc-hero > .container { position: relative; z-index: 1; max-width: 1380px; }
.svc-hero-text { max-width: 760px; text-align: left; }
.svc-breadcrumb { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: var(--space-4); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.svc-breadcrumb a:hover { color: var(--color-primary); }
.svc-breadcrumb .sep { opacity: 0.5; }
.svc-hero-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: center; width: 100%; }
.svc-hero-visual { display: none; }
.svc-hero h1 { font-family: var(--font-display); font-size: 3rem; line-height: 1.1; margin-bottom: var(--space-4); }
.svc-hero h1 .accent { color: var(--color-primary); }
.svc-hero-sub { font-size: 1.15rem; color: var(--color-text); max-width: 640px; margin: 0 0 var(--space-6); }
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-start; }

.svc-hero-visual { display: none; }

/* ============================================================
   SHOWCASE - Mockup de dashboard (impacto visual pós-hero)
   ============================================================ */
.svc-showcase { position: relative; overflow: hidden; }
/* imagem de fundo em camada própria, com leve drift/zoom contínuo (profundidade) */
.svc-showcase::before { content: ""; position: absolute; inset: -4%; z-index: 0; pointer-events: none; background-image: url('fundo_bi.webp'); background-size: cover; background-position: 64% center; background-repeat: no-repeat; transform-origin: 70% 45%; animation: bi-drift 26s ease-in-out infinite alternate; will-change: transform; }
/* overlay mais suave (clareia a imagem) + vinheta + brilho azul = sensação de fundo */
.svc-showcase::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(125% 115% at 50% 50%, transparent 52%, rgba(5,5,6,0.58) 100%),
  radial-gradient(760px circle at 84% 4%, rgba(12,117,251,0.16), transparent 60%),
  linear-gradient(90deg, rgba(5,5,6,0.9) 0%, rgba(5,5,6,0.72) 34%, rgba(5,5,6,0.42) 64%, rgba(5,5,6,0.2) 100%); }
@keyframes bi-drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.1) translateX(-1.5%); } }
/* conteúdo encostado à esquerda; a imagem de fundo aparece à direita */
.showcase-layout { position: relative; z-index: 1; max-width: 600px; }
.showcase-copy { margin-bottom: var(--space-5); }
.showcase-copy h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; margin-bottom: var(--space-4); }
.showcase-copy h2 .accent { color: var(--color-primary); }
.showcase-copy p { color: var(--color-text-muted); font-size: 1.1rem; max-width: 470px; margin-bottom: var(--space-5); }
.showcase-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.showcase-tag { font-size: 0.8rem; font-weight: 600; color: var(--color-text); padding: 8px 14px; border-radius: var(--radius-full); border: 1px solid var(--hairline); background: rgba(255,255,255,0.03); }
.showcase-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); margin-right: 8px; vertical-align: middle; }

/* cards de valor premium (A Virada) */
.value-cards { display: flex; flex-direction: column; gap: var(--space-3); position: relative; z-index: 1; }
.value-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(20,22,26,0.62), rgba(12,13,16,0.7));
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid var(--hairline);
  transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1), border-color 0.45s ease, box-shadow 0.45s ease;
}
/* borda em gradiente revelada no hover */
.value-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(12,117,251,0.9), transparent 52%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
/* spotlight seguindo o mouse */
.value-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: radial-gradient(480px circle at var(--mx,50%) var(--my,0%), rgba(12,117,251,0.16), transparent 45%); }
.value-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 56px rgba(0,0,0,0.55); }
.value-card:hover::before, .value-card:hover::after { opacity: 1; }
.value-ico {
  position: relative; flex: none; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 12px;
  background: rgba(12,117,251,0.12); border: 1px solid rgba(12,117,251,0.28);
  color: var(--color-primary);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.value-ico::after { content: ""; position: absolute; inset: -8px; border-radius: 20px; background: radial-gradient(circle, rgba(12,117,251,0.32), transparent 68%); opacity: 0; transition: opacity 0.4s ease; z-index: -1; }
.value-card:hover .value-ico { transform: translateY(-2px) scale(1.06); }
.value-card:hover .value-ico::after { opacity: 1; }
.value-ico svg { width: 22px; height: 22px; }
.value-body h3 { font-size: 1.02rem; font-weight: 700; color: var(--color-text-strong); line-height: 1.25; margin-bottom: 3px; }
.value-body p { color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.45; }

/* Painel mockup */
.dash-mock { position: relative; }
.dash-panel { background: linear-gradient(160deg, rgba(22,23,26,0.92), rgba(13,14,16,0.94)); border: 1px solid var(--hairline-strong); border-radius: var(--radius-xl); padding: var(--space-4); box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; gap: var(--space-3); }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.dash-head-title { font-family: var(--font-display); font-size: 1rem; color: var(--color-text-strong); display: flex; align-items: center; gap: 8px; }
.dash-head-title svg { width: 18px; height: 18px; color: var(--color-primary); }
.dash-live { font-size: 0.7rem; font-weight: 600; color: #34d399; display: inline-flex; align-items: center; gap: 6px; }
.dash-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,0.5); animation: dash-pulse 1.8s ease-out infinite; }
@keyframes dash-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.kpi { background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--space-3); }
.kpi-label { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.kpi-value { font-family: var(--font-display); font-size: 1.45rem; color: var(--color-text-strong); margin-top: 4px; line-height: 1.1; }
.kpi-delta { font-size: 0.74rem; font-weight: 600; margin-top: 3px; }
.kpi-delta.up { color: #34d399; }
.kpi-delta.down { color: #f87171; }

.dash-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: var(--space-3); }
.dash-card { background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--space-3); }
.dash-card-title { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 12px; }
.dash-chart svg { width: 100%; height: auto; display: block; }
.dash-bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; }
.dash-bars span { flex: 1; background: linear-gradient(180deg, var(--color-primary), rgba(12,117,251,0.22)); border-radius: 4px 4px 0 0; min-height: 6px; }
.dash-foot { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.dash-meter { }
.dash-meter-row { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--color-text); margin-bottom: 6px; }
.dash-meter-row span:last-child { color: var(--color-text-strong); font-weight: 600; }
.dash-meter-track { height: 6px; border-radius: var(--radius-full); background: rgba(255,255,255,0.07); overflow: hidden; margin-bottom: 12px; }
.dash-meter-fill { height: 100%; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--color-primary), #5aa6ff); }

/* ============================================================
   DIAGNÓSTICO  - layout editorial (sintoma → custo oculto)
   ============================================================ */
.diag-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--space-7); align-items: start; }
.diag-intro { position: sticky; top: 96px; }
.diag-intro .overline { margin-bottom: var(--space-3); }
.diag-bridge { margin-top: var(--space-5); padding-left: var(--space-4); border-left: 2px solid rgba(12,117,251,0.45); color: var(--color-text); font-size: 1.08rem; line-height: 1.55; }
.diag-bridge em { font-style: normal; color: var(--color-text-strong); font-weight: 700; }
.diag-bridge .accent { color: var(--color-primary); font-weight: 600; }

.diag-list { display: flex; flex-direction: column; }
.diag-row {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4); align-items: center;
  padding: var(--space-4) var(--space-3) var(--space-4) var(--space-4);
  border-top: 1px solid var(--hairline);
  overflow: hidden;
  transition: background 0.4s ease;
}
.diag-row:last-child { border-bottom: 1px solid var(--hairline); }
/* faixa de acento (vermelha = problema) que cresce no hover */
.diag-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, #ef4444, transparent); transform: scaleY(0); transform-origin: top; transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1); }
/* spotlight vermelho sutil */
.diag-row::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: radial-gradient(520px circle at var(--mx,0%) var(--my,50%), rgba(239,68,68,0.12), transparent 42%); }
.diag-row:hover { background: rgba(239,68,68,0.04); }
.diag-row:hover::before { transform: scaleY(1); }
.diag-row:hover::after { opacity: 1; }

.diag-index { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; color: #ef4444; opacity: 0.5; min-width: 2ch; transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease; }
.diag-row:hover .diag-index { color: #f87171; opacity: 1; transform: translateY(-2px); }

.diag-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 7px; }
.diag-body h3 { font-size: 1.18rem; font-weight: 700; color: var(--color-text-strong); line-height: 1.3; margin-bottom: 5px; }
.diag-body p { font-size: 0.94rem; color: var(--color-text-muted); line-height: 1.5; }

.diag-cost { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; color: #f8a6a6; padding: 7px 13px; border-radius: var(--radius-full); border: 1px solid rgba(239,68,68,0.28); background: rgba(239,68,68,0.07); transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease; }
.diag-cost svg { width: 13px; height: 13px; }
.diag-row:hover .diag-cost { border-color: rgba(239,68,68,0.55); background: rgba(239,68,68,0.13); transform: scale(1.04); }

/* ============================================================
   POR QUE INVESTIR - 5 cards premium, borda animada + motion
   ============================================================ */
/* subgrid: alinha ícone, título, descrição e impacto na mesma faixa em todos os cards */
.entrega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }

/* ============================================================
   O QUE ESTÁ INCLUÍDO  - cards com borda em gradiente + glow
   ============================================================ */
/* ângulo animável para a borda giratória dos blocos de automação */
@property --nx-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes nx-border-rotate { to { --nx-angle: 360deg; } }

.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
/* container do card: aplica perspectiva para o efeito de dobra (flip 3D) */
.flip-card {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  background: transparent;
  perspective: 1600px;
  transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1);
}
.flip-card:hover { transform: translateY(-6px); }
/* o elemento que gira em torno do eixo Y */
.flip-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.2,0.7,0.2,1);
}
/* vira no hover (desktop), no foco (teclado) e via classe .is-flipped (toque, alternada por JS) */
.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner,
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }
/* faces frente e verso - conteúdo centralizado para destaque */
.flip-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1683ff, #0a57bd);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(8,60,140,0.34), inset 0 1px 0 rgba(255,255,255,0.30);
  overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-back { transform: rotateY(180deg); background: linear-gradient(160deg, #0e63c8, #0a3f8f); }
.flip-card:hover .flip-face { box-shadow: 0 30px 64px rgba(8,60,140,0.50), inset 0 1px 0 rgba(255,255,255,0.30); }
/* reflexo: faixa de luz que varre o card só na interação (loop infinito em vários cards distrai) */
.flip-face::before {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -75%; width: 55%;
  pointer-events: none; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}
.flip-card:hover .flip-face::before,
.flip-card:focus-within .flip-face::before,
.flip-card.is-flipped .flip-face::before { opacity: 1; animation: nx-sheen 1.6s ease-in-out; }
@keyframes nx-sheen { 0% { left: -75%; } 55%, 100% { left: 150%; } }
/* brilho que segue o mouse (herda --mx/--my do data-spotlight) */
.flip-face::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.45s ease;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,0.20), transparent 45%);
}
.flip-card:hover .flip-front::after { opacity: 1; }
.flip-face .inc-ico { position: relative; z-index: 1; width: 62px; height: 62px; flex: none; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.38); color: #fff; margin-bottom: var(--space-3); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.flip-face .inc-ico svg { width: 28px; height: 28px; }
.flip-face h3 { font-size: clamp(1.05rem, 0.7vw + 0.85rem, 1.4rem); font-weight: 700; color: #fff; margin: 0; line-height: 1.25; position: relative; z-index: 1; letter-spacing: -0.01em; }
.flip-back h3 { font-size: clamp(1rem, 0.5vw + 0.8rem, 1.2rem); }
.flip-back p { color: rgba(255,255,255,0.92); font-size: 0.95rem; line-height: 1.55; margin-top: 12px; max-width: 32ch; position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .flip-inner, .flip-card, .flip-face::after { transition: none; }
  .flip-face::before { animation: none; opacity: 0; }
}
/* seção de impactos (Data Analytics) - centralizada, sem fundo */
.impacto-block { margin-top: var(--space-5); padding: var(--space-5) 0; text-align: center; perspective: 900px; }
/* só a palavra "impacto" é grande; o resto fica em tamanho padrão */
.impacto-title { font-size: 1.15rem; font-weight: 600; color: var(--color-text-strong); margin-bottom: var(--space-6); }
.impacto-title strong {
  display: inline-block;
  color: var(--color-primary); font-weight: 800;
  font-size: clamp(3rem, 4vw + 1.6rem, 4.8rem);
  text-transform: uppercase; letter-spacing: 0.01em;
  vertical-align: -8px; margin: 0 8px;
  opacity: 0;
  transform: translateZ(-460px) scale(0.72);
  transform-origin: center;
}
/* ao entrar na tela, a palavra "salta" para frente - grande, lento e fluido */
.impacto-block.is-visible .impacto-title strong {
  animation: nx-impacto-jump 1.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes nx-impacto-jump {
  0%   { opacity: 0; transform: translateZ(-460px) scale(0.72); }
  55%  { opacity: 1; transform: translateZ(150px) scale(1.14); }
  100% { opacity: 1; transform: translateZ(0) scale(1); }
}
/* lista: grade 2x2, itens destacados em cartões */
.impacto-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin-inline: auto; text-align: left; }
.impacto-list li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; line-height: 1.4; color: var(--color-text-strong); padding: 16px 18px; border-radius: var(--radius-md); background: rgba(12,117,251,0.05); border: 1px solid var(--hairline); transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease; }
.impacto-list li:hover { border-color: rgba(12,117,251,0.45); background: rgba(12,117,251,0.1); transform: translateY(-3px); }
.impacto-list li svg { flex: none; width: 34px; height: 34px; padding: 7px; box-sizing: border-box; border-radius: 10px; background: rgba(12,117,251,0.14); border: 1px solid rgba(12,117,251,0.32); color: var(--color-primary); transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.impacto-list li:hover svg { background: #fff; border-color: #fff; color: var(--color-primary); }
.impacto-list li strong { color: var(--color-primary); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .impacto-title strong { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 640px) {
  .impacto-list { grid-template-columns: 1fr; }
}
/* cards do "Por que investir" maiores, para o verso não cortar */
.entrega-grid .flip-card { min-height: 280px; }
.entrega-grid .flip-face { padding: var(--space-4) 20px; }
.entrega-grid .flip-face h3 { font-size: clamp(1rem, 0.3vw + 0.9rem, 1.15rem); }
.entrega-grid .flip-back p { font-size: 0.88rem; line-height: 1.5; }
.entrega-grid .flip-face .inc-ico { width: 54px; height: 54px; }

/* ============================================================
   DOR / O PROBLEMA (Você se identifica?)
   ============================================================ */
.problem-title strong { color: var(--color-text-strong); font-weight: 400; }

/* cards estáticos da seção "O Que Você Recebe" (checklist) */
.include-item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(22,23,26,0.9), rgba(13,14,16,0.94));
  border: 1px solid var(--hairline);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.4s ease;
}
.include-item:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(0,0,0,0.55); }
.include-item p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.5; }
/* selo de check da seção "O Que Você Recebe" */
.include-item .chk {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(12,117,251,0.12);
  border: 1px solid rgba(12,117,251,0.28);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.include-item .chk svg { width: 22px; height: 22px; }

/* ============================================================
   BENEFÍCIOS (O QUE VOCÊ GANHA)
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.benefit {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(22,23,26,0.9), rgba(13,14,16,0.94));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.benefit::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(150deg, rgba(12,117,251,0.8), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.benefit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: radial-gradient(460px circle at var(--mx,50%) var(--my,0%), rgba(12,117,251,0.14), transparent 45%); }
.benefit:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 22px 52px rgba(0,0,0,0.55); }
.benefit:hover::before, .benefit:hover::after { opacity: 1; }
.benefit-icon { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--radius-md); background: rgba(12,117,251,0.12); border: 1px solid rgba(12,117,251,0.25); color: var(--color-primary); margin-bottom: var(--space-4); transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.benefit-icon::after { content: ""; position: absolute; inset: -8px; border-radius: 20px; background: radial-gradient(circle, rgba(12,117,251,0.30), transparent 68%); opacity: 0; transition: opacity 0.4s ease; z-index: -1; }
.benefit:hover .benefit-icon { transform: translateY(-2px) scale(1.06); }
.benefit:hover .benefit-icon::after { opacity: 1; }
.benefit-icon svg { width: 28px; height: 28px; }
.benefit h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--color-text-strong); position: relative; z-index: 1; }

/* ============================================================
   COMO FUNCIONA (ETAPAS)
   ============================================================ */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: step; }
/* linha-base do fluxo, centralizada verticalmente; visível nos vãos entre os blocos */
.steps::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); background: rgba(255,255,255,0.12); z-index: 0; }
/* A luz da linha central NÃO desliza: cada bloco acende o pedaço do vão à sua direita
   (ver .step::before), no instante exato em que a borda termina de preencher. */

.step { position: relative; z-index: 1; background: linear-gradient(160deg, #16171a, #0d0e10); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1), border-color 0.4s ease, box-shadow 0.4s ease; }
.step:hover { transform: translateY(-6px); border-color: var(--hairline-strong); box-shadow: 0 22px 52px rgba(0,0,0,0.55); }
/* BORDA (.step::after): ao chegar no bloco, a luz se divide no meio do lado esquerdo e
   preenche a borda por cima E por baixo ao mesmo tempo (--len: 0 -> 180°), fechando no meio
   do lado direito. Preenche por COMPLETO, segura um instante, e só então some. */
@property --len { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: conic-gradient(from 270deg,
    #5aa6ff 0deg,
    #5aa6ff var(--len),
    transparent var(--len),
    transparent calc(360deg - var(--len)),
    #5aa6ff calc(360deg - var(--len)),
    #5aa6ff 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 2; opacity: 0;
}
/* SEGMENTO DA LINHA CENTRAL (.step::before): o pedaço do vão à direita do bloco. Aparece
   INSTANTANEAMENTE quando a borda termina de preencher, fazendo a passagem para o próximo. */
.step::before {
  content: ""; position: absolute; top: 50%; right: calc(-1 * var(--space-6)); width: var(--space-6);
  height: 3px; transform: translateY(-50%) scaleX(0); transform-origin: left center;
  border-radius: 2px; z-index: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(90,166,255,0.85), #5aa6ff, rgba(90,166,255,0.85));
}
.steps .step:nth-child(4)::before { display: none; } /* último bloco não tem vão à direita */

/* Sequência lenta: 1 bloco de cada vez (1 -> 4). Borda e segmento compartilham o mesmo
   delay por bloco, então a borda preenche e o vão acende em sincronia perfeita. */
.steps.is-visible .step::after  { animation: beam 14s linear infinite; animation-delay: 1s; }
.steps.is-visible .step::before { animation: seg  14s linear infinite; animation-delay: 1s; }
.steps.is-visible .step:nth-child(2)::after,
.steps.is-visible .step:nth-child(2)::before { animation-delay: 4.2s; }
.steps.is-visible .step:nth-child(3)::after,
.steps.is-visible .step:nth-child(3)::before { animation-delay: 7.4s; }
.steps.is-visible .step:nth-child(4)::after,
.steps.is-visible .step:nth-child(4)::before { animation-delay: 10.6s; }

/* FUNDO DO BLOCO: acende em sincronia com a borda - só no bloco que está sendo percorrido.
   Mesmo ciclo (14s) e mesmos delays da borda, então a cor "anda" de bloco em bloco. */
.steps.is-visible .step { animation: step-glow 14s linear infinite; animation-delay: 1s; }
.steps.is-visible .step:nth-child(2) { animation-delay: 4.2s; }
.steps.is-visible .step:nth-child(3) { animation-delay: 7.4s; }
.steps.is-visible .step:nth-child(4) { animation-delay: 10.6s; }
@keyframes step-glow {
  0%    { box-shadow: inset 0 0 0 0 rgba(60,130,230,0),    0 0 0 0 rgba(90,166,255,0); }
  0.7%  { box-shadow: inset 0 0 0 0 rgba(60,130,230,0),    0 0 0 0 rgba(90,166,255,0); }
  10%   { box-shadow: inset 0 0 60px 4px rgba(60,130,230,0.16), 0 12px 40px rgba(0,0,0,0.38), 0 0 24px rgba(90,166,255,0.10); }
  18.6% { box-shadow: inset 0 0 95px 12px rgba(60,130,230,0.30), 0 18px 50px rgba(0,0,0,0.45), 0 0 34px rgba(90,166,255,0.18); }
  21.4% { box-shadow: inset 0 0 95px 12px rgba(60,130,230,0.30), 0 18px 50px rgba(0,0,0,0.45), 0 0 34px rgba(90,166,255,0.18); }
  30%   { box-shadow: inset 0 0 55px 4px rgba(60,130,230,0.12), 0 10px 34px rgba(0,0,0,0.3),  0 0 18px rgba(90,166,255,0.07); }
  40%   { box-shadow: inset 0 0 0 0 rgba(60,130,230,0),    0 0 0 0 rgba(90,166,255,0); }
  100%  { box-shadow: inset 0 0 0 0 rgba(60,130,230,0),    0 0 0 0 rgba(90,166,255,0); }
}
@keyframes beam {
  0%    { --len: 0deg;   opacity: 0; }
  0.7%  { opacity: 1; }
  18.6% { --len: 180deg; opacity: 1; } /* borda totalmente preenchida (~2,6s) */
  20.7% { --len: 180deg; opacity: 1; } /* segura cheia um instante */
  21.4% { --len: 180deg; opacity: 0; } /* some */
  100%  { --len: 180deg; opacity: 0; }
}
@keyframes seg {
  0%    { opacity: 0; transform: translateY(-50%) scaleX(0); }
  18.5% { opacity: 0; transform: translateY(-50%) scaleX(0); }
  18.6% { opacity: 1; transform: translateY(-50%) scaleX(0); } /* acende vazio quando a borda fecha */
  23.5% { opacity: 1; transform: translateY(-50%) scaleX(1); } /* carrega da esquerda p/ direita até o próximo bloco */
  24.3% { opacity: 1; transform: translateY(-50%) scaleX(1); }
  25%   { opacity: 0; transform: translateY(-50%) scaleX(1); }
  100%  { opacity: 0; transform: translateY(-50%) scaleX(1); }
}
/* número: quadrado de cantos levemente arredondados, fundo sólido, sem neon */
.step-num { position: relative; z-index: 1; counter-increment: step; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--color-primary); color: #fff; margin-bottom: var(--space-3); transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.step-num::before { content: counter(step); }
.step:hover .step-num { transform: scale(1.06); }
.step h3 { position: relative; z-index: 1; font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--color-text-strong); }
.step p { position: relative; z-index: 1; font-size: 0.95rem; color: var(--color-text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-layout { max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--color-elevated); border: 1px solid var(--hairline); border-radius: var(--radius-md); margin-bottom: var(--space-3); overflow: hidden; transition: border-color 0.25s ease; }
.faq-item:hover { border-color: rgba(12,117,251,0.4); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); text-align: left; background: transparent; border: none; cursor: pointer; color: var(--color-text-strong); font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; padding: var(--space-4); min-height: 56px; }
.faq-question .chevron { flex: none; width: 22px; height: 22px; color: var(--color-primary); transition: transform 0.3s ease; }
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }
/* abre/fecha via grid-rows: robusto a reflow (zoom de texto, rotação), sem JS medindo altura */
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-answer.open { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; min-height: 0; padding: 0 var(--space-4); color: var(--color-text); }
.faq-answer.open .faq-answer-inner { padding-bottom: var(--space-4); }

/* ============================================================
   COMO APOIAMOS - imagem + accordion (Data Analytics)
   ============================================================ */
.support-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--space-7); align-items: stretch; }
.support-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--hairline-strong); box-shadow: var(--shadow-lg); min-height: 340px; }
.support-media--cut { border-radius: 0; clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px); }
.support-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Parallax: imagem mais alta que o container (que tem overflow:hidden), deslocada conforme o scroll */
.support-media[data-parallax] img {
  position: absolute;
  left: 0;
  top: -12%;
  height: 124%;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .support-media[data-parallax] img { transform: none; }
}
.support-content { display: flex; flex-direction: column; justify-content: center; }
.support-content .section-title { font-family: var(--font-display); margin-bottom: var(--space-5); }
.support-accordion .faq-item:last-child { margin-bottom: 0; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.svc-cta { position: relative; overflow: hidden; background: var(--color-primary); text-align: center; }
.svc-cta-card { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; padding-block: var(--space-6); }
.svc-cta-card > * { position: relative; z-index: 1; }
.svc-cta-card h2 { font-family: var(--font-display); font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: #ffffff; margin-bottom: var(--space-4); text-wrap: balance; }
/* destaque com sublinhado, igual ao CTA da home */
.svc-cta-card h2 .accent { position: relative; white-space: nowrap; color: #ffffff; background: none; -webkit-text-fill-color: currentColor; }
.svc-cta-card h2 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.12em; height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #ffffff 18%, #ffffff 82%, rgba(255,255,255,0) 100%); }
.svc-cta-card p { max-width: 600px; margin: 0 auto var(--space-6); color: rgba(234,242,255,0.9); font-size: 1.15rem; line-height: 1.6; }
/* botão branco sobre o fundo azul */
.svc-cta .btn-whatsapp { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.svc-cta .btn-whatsapp:hover, .svc-cta .btn-whatsapp:focus-visible { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============================================================
   FAB WHATSAPP
   ============================================================ */
/* chama atenção ao carregar e depois para: movimento infinito cansa e distrai */
.fab-whatsapp { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: var(--radius-full); background: var(--color-whatsapp); box-shadow: var(--shadow-md); display: grid; place-items: center; z-index: 999; color: #fff; animation: bounce 1.8s ease-in-out 4; transition: transform 0.2s ease, background 0.2s ease; }
.fab-whatsapp:hover, .fab-whatsapp:focus-visible { background: var(--color-whatsapp-hover); animation-play-state: paused; transform: scale(1.08); }
.fab-whatsapp svg { width: 32px; height: 32px; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   EVOLUÇÃO - antes (planilha) → depois (painel) + feixe
   ============================================================ */
.evo { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--hairline-strong); box-shadow: var(--shadow-lg), 0 0 60px -18px rgba(12,117,251,0.45); background: linear-gradient(160deg, rgba(12,14,18,0.94), rgba(8,9,11,0.96)); }
/* borda animada percorrendo o painel (segmento luminoso girando) */
@property --evo-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.evo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--evo-angle),
    transparent 0deg, transparent 235deg,
    rgba(90,166,255,0.35) 280deg, #5aa6ff 320deg, #0c75fb 340deg, rgba(90,166,255,0.35) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 6; opacity: 0; transition: opacity 0.8s ease 0.4s;
}
.evo.is-visible::after { opacity: 1; animation: evo-border 5.5s linear infinite; }
@keyframes evo-border { to { --evo-angle: 360deg; } }
.evo-stage { display: grid; grid-template-columns: 0.82fr 1.18fr; min-height: 430px; }
.evo-before, .evo-after { position: relative; padding: var(--space-4); overflow: hidden; }
.evo-before { background: linear-gradient(180deg, #101216, #0a0b0d); }
.evo-after { display: flex; flex-direction: column; gap: var(--space-3); background: radial-gradient(130% 120% at 90% 0%, rgba(12,117,251,0.16), transparent 55%), #0a0b0d; }
.evo-after .dash-card { position: relative; background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--space-3); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.evo-after .dash-card.dash-chart { flex: 1; }
.evo-label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.evo-label svg { width: 14px; height: 14px; }
.evo-label-before { color: var(--color-text-muted); margin-bottom: var(--space-3); }
.evo-label-after { color: var(--color-primary); }
.evo-after .dash-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.evo-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.evo-after .kpi { position: relative; background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--space-3); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
/* entrada elegante e escalonada dos cards internos */
.evo-after .kpi, .evo-after .dash-card { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,0.7,0.2,1); }
.evo.is-visible .evo-after .kpi, .evo.is-visible .evo-after .dash-card { opacity: 1; transform: none; }
.evo.is-visible .evo-after .kpi:nth-child(1) { transition-delay: 0.45s; }
.evo.is-visible .evo-after .kpi:nth-child(2) { transition-delay: 0.55s; }
.evo.is-visible .evo-after .dash-card.dash-chart { transition-delay: 0.65s; }
.evo.is-visible .evo-after .dash-card:not(.dash-chart) { transition-delay: 0.8s; }

/* planilha caótica */
.sheet { border: 1px solid rgba(255,255,255,0.07); border-radius: 6px; overflow: hidden; filter: grayscale(0.45); opacity: 0.72; font-family: ui-monospace, "Cascadia Code", monospace; }
.sheet-row { display: grid; grid-template-columns: 26px repeat(5, 1fr); }
.sheet-row > span { font-size: 0.62rem; line-height: 1.1; color: var(--color-text-muted); padding: 6px 7px; border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); white-space: nowrap; overflow: hidden; }
.sheet-row > span:last-child { border-right: none; }
.sheet-row:last-child > span { border-bottom: none; }
.sheet-head > span { background: rgba(255,255,255,0.05); color: var(--color-text); font-weight: 600; text-align: center; }
.sheet-row > span:first-child { background: rgba(255,255,255,0.04); text-align: center; }
.sheet .err { color: #f87171; font-weight: 600; }
/* esmaece a planilha em direção ao feixe */
.evo-before::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, rgba(10,11,13,0.85) 92%); pointer-events: none; }

/* feixe de luz da virada */
.evo-beam { position: absolute; top: -6%; bottom: -6%; left: 41%; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(120,180,255,0.9), #0c75fb, rgba(120,180,255,0.9), transparent); box-shadow: 0 0 28px 7px rgba(12,117,251,0.55), 0 0 80px 20px rgba(12,117,251,0.22); opacity: 0; transition: opacity 0.8s ease 0.3s; z-index: 3; }
.evo.is-visible .evo-beam { opacity: 1; animation: beam-flicker 3.6s ease-in-out 1.2s infinite; }
@keyframes beam-flicker { 0%, 100% { opacity: 1; } 48% { opacity: 0.72; } }
.evo-arrow { position: absolute; top: 50%; left: 41%; transform: translate(-50%,-50%) scale(0.5); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--color-primary); color: #fff; box-shadow: 0 0 26px rgba(12,117,251,0.7); z-index: 4; opacity: 0; transition: opacity 0.5s ease 0.55s, transform 0.55s cubic-bezier(0.2,1.6,0.4,1) 0.55s; }
.evo.is-visible .evo-arrow { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.evo-arrow svg { width: 20px; height: 20px; }

/* ============================================================
   MOTION - animações do painel + reveals
   ============================================================ */
/* entrada do bloco evolutivo */
.evo { opacity: 0; transform: translateY(34px) scale(0.98); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.evo.is-visible { opacity: 1; transform: none; }

/* gráfico de linha que se desenha */
.dash-chart polyline { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.65,0,0.35,1) 0.6s; }
.evo.is-visible .dash-chart polyline { stroke-dashoffset: 0; }
.dash-chart path { opacity: 0; transition: opacity 1s ease 1.4s; }
.evo.is-visible .dash-chart path { opacity: 1; }
.dash-chart circle { opacity: 0; transform: scale(0); transform-origin: center; transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2,1.5,0.4,1); }
.evo.is-visible .dash-chart circle { opacity: 1; transform: scale(1); }
.evo.is-visible .dash-chart circle:nth-child(1) { transition-delay: 1.5s; }
.evo.is-visible .dash-chart circle:nth-child(2) { transition-delay: 1.7s; }
.evo.is-visible .dash-chart circle:nth-child(3) { transition-delay: 1.9s; }

/* barras crescem */
.dash-bars span { height: 0 !important; transition: height 0.9s cubic-bezier(0.2,0.7,0.2,1); }
.evo.is-visible .dash-bars span { height: var(--h) !important; }
.evo.is-visible .dash-bars span:nth-child(1) { transition-delay: 0.6s; }
.evo.is-visible .dash-bars span:nth-child(2) { transition-delay: 0.7s; }
.evo.is-visible .dash-bars span:nth-child(3) { transition-delay: 0.8s; }
.evo.is-visible .dash-bars span:nth-child(4) { transition-delay: 0.9s; }
.evo.is-visible .dash-bars span:nth-child(5) { transition-delay: 1s; }
.evo.is-visible .dash-bars span:nth-child(6) { transition-delay: 1.1s; }

/* reveal com stagger automático para grids marcados */
.stagger > .reveal { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .svc-hero-layout { grid-template-columns: 1fr; gap: var(--space-5); }
  .svc-hero-visual { order: -1; min-height: 220px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .step::before { display: none; } /* sem linha central horizontal fora do layout de 4 colunas */
  .showcase-layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .support-layout { grid-template-columns: 1fr; gap: var(--space-5); }
  .support-media { min-height: 260px; max-height: 360px; }
  .entrega-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .diag-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .diag-intro { position: static; }
}

@media (max-width: 768px) {
  :root { --space-8: 56px; }
  .nav-menu {
    position: fixed; inset: 60px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,5,6,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline);
    padding: var(--space-3) var(--gutter) var(--space-4);
    transform: translateY(-130%); transition: transform 0.3s ease; box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu > li > a, .dropdown-toggle { min-height: 48px; display: flex; align-items: center; width: 100%; border-bottom: 1px solid var(--hairline); }
  .nav-menu > li > a::after { display: none; }
  /* CTA continua visível no mobile, em versão compacta */
  .nav-cta { min-height: 36px; padding: 8px 12px; font-size: 0.8rem; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .nav-toggle { display: grid; }

  /* dropdown vira lista inline e o texto SEMPRE quebra (some o corte lateral) */
  .has-dropdown { width: 100%; }
  .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; min-width: 0; max-width: 100%; box-shadow: none; border: none; background: transparent; padding: var(--space-2) 0 var(--space-3); }
  .dropdown-menu.open { display: block; }
  .has-dropdown:hover .dropdown-menu:not(.open) { opacity: 0; visibility: hidden; }
  .dropdown-menu li a { gap: 12px; padding: 12px 6px; min-height: 44px; }
  .dropdown-menu .ddi-title { white-space: normal; font-size: 0.95rem; }
  .dropdown-menu .ddi-sub { display: none; }

  /* hero do serviço: altura pelo conteúdo (sem lacuna) + degradê vertical p/ contraste */
  .svc-hero { min-height: 0; padding-block: var(--space-6) var(--space-7); align-items: flex-start; }
  .svc-hero::before { background: linear-gradient(180deg, rgba(5,5,6,0.82) 0%, rgba(5,5,6,0.58) 40%, rgba(5,5,6,0.86) 100%); }
  .svc-hero h1 { font-size: 1.95rem; line-height: 1.14; }
  .svc-hero-sub { font-size: 1rem; line-height: 1.55; }
  .section-title { font-size: 1.7rem; line-height: 1.18; }
  .svc-hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .svc-hero-actions .btn { width: 100%; }
  .svc-cta-card p { font-size: 1rem; }
  /* FAB menor e fora do caminho, igual à home */
  .fab-whatsapp { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .fab-whatsapp svg { width: 28px; height: 28px; }
  .kpi-value { font-size: 1.25rem; }
  .includes-grid { grid-template-columns: 1fr; }
  .entrega-grid { grid-template-columns: 1fr; }
  /* diagnóstico empilha o custo */
  .diag-row { grid-template-columns: auto 1fr; row-gap: 10px; padding-left: var(--space-3); }
  .diag-cost { grid-column: 1 / -1; justify-self: start; }
  /* evolutiva empilha antes/depois */
  .evo-stage { grid-template-columns: 1fr; }
  .evo-before { border-bottom: 1px solid rgba(12,117,251,0.45); box-shadow: 0 6px 24px -6px rgba(12,117,251,0.4); }
  .evo-before::after { background: linear-gradient(180deg, transparent 55%, rgba(10,11,13,0.85) 96%); }
  .evo-beam, .evo-arrow { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .showcase-layout { max-width: none; }
  .svc-showcase::after { background: radial-gradient(130% 120% at 50% 40%, transparent 46%, rgba(5,5,6,0.62) 100%), linear-gradient(180deg, rgba(5,5,6,0.84) 0%, rgba(5,5,6,0.9) 100%); }
  .svc-cta-card { padding: var(--space-6) var(--space-4); }
  .svc-cta-card h2 { font-size: clamp(1.9rem, 8vw, 2.5rem); letter-spacing: -0.015em; }
}

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

/* ============================================================
   APLICATIVOS E SISTEMAS - reformulação da página
   (desafios → solução → o que desenvolvemos → ganhos → CTA)
   Reutiliza tokens, .reveal/observer, [data-spotlight] e motion.
   ============================================================ */

/* slide-in reutilizáveis (mesmo observer .reveal - só muda o eixo) */
.reveal.reveal-left  { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px) scale(0.985); }
.reveal.reveal-left.is-visible,
.reveal.reveal-right.is-visible { transform: none; }

/* cabeçalho de seção centralizado */
.head-center { max-width: 760px; margin-inline: auto; text-align: center; }

/* ---------- SEÇÃO 1 - DESAFIOS (6 cards) ---------- */
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.challenge-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(22,23,26,0.92), rgba(13,14,16,0.95));
  border: 1px solid var(--hairline);
  transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.challenge-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(239,68,68,0.12), transparent 46%); }
.challenge-card:hover { transform: translateY(-4px); border-color: rgba(239,68,68,0.38); box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 22px -6px rgba(239,68,68,0.32); }
.challenge-card:hover::after { opacity: 1; }
.challenge-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.26); color: #f87171; transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.challenge-card:hover .challenge-ico { transform: translateY(-2px) scale(1.05); }
.challenge-ico svg { width: 22px; height: 22px; }
.challenge-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--color-text-strong); line-height: 1.3; }
.challenge-card p { font-size: 0.93rem; color: var(--color-text-muted); line-height: 1.55; }

/* ---------- SEÇÃO 2 - A SOLUÇÃO (showcase com imagem de fundo) ---------- */
/* mesmo efeito do Data Analytics (.svc-showcase), trocando a imagem de fundo */
.svc-showcase--sistemas::before { background-image: url('fundo_sistemas.webp'); }

/* ---------- SEÇÃO 3 - O QUE DESENVOLVEMOS (4 cards) ---------- */
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }

/* ---------- SEÇÃO 4 - RESULTADO PARA O NEGÓCIO ---------- */
.gain-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; grid-template-rows: auto 1fr; column-gap: var(--space-7); row-gap: var(--space-5); align-items: stretch; }
.gain-head { grid-column: 1 / -1; grid-row: 1; }
.gain-head .section-title { margin-top: var(--space-3); }
.gain-main { grid-column: 1; grid-row: 2; }
.gain-lead { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.6; max-width: 480px; margin-bottom: var(--space-5); }
.gain-list { display: flex; flex-direction: column; }
.gain-row { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-3); border-top: 1px solid var(--hairline); transition: background 0.4s ease; }
.gain-row:last-child { border-bottom: 1px solid var(--hairline); }
.gain-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--color-primary), transparent); transform: scaleY(0); transform-origin: top; transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1); }
.gain-row:hover { background: rgba(12,117,251,0.04); }
.gain-row:hover::before { transform: scaleY(1); }
.gain-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(12,117,251,0.1); border: 1px solid rgba(12,117,251,0.26); color: var(--color-primary); transition: transform 0.4s ease; }
.gain-row:hover .gain-ico { transform: scale(1.06); }
.gain-ico svg { width: 21px; height: 21px; }
.gain-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-text-strong); line-height: 1.3; margin-bottom: 5px; }
.gain-body p { font-size: 0.94rem; color: var(--color-text-muted); line-height: 1.55; }

/* imagem única com cantos diagonais + parallax */
.gain-figure {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}
.gain-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gain-figure[data-parallax] img {
  position: absolute;
  left: 0;
  top: -12%;
  height: 124%;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .gain-figure[data-parallax] img { transform: none; }
}
/* seção dedicada - frase de impacto */
.quote-feature { position: relative; overflow: hidden; padding-block: clamp(var(--space-6), 7vw, var(--space-7)); background-color: #050506; }
.quote-bg { position: absolute; left: 0; right: 0; top: -22%; bottom: -22%; z-index: 0; background: url('fundo_frase.webp') center / cover no-repeat; will-change: transform; }
.quote-feature-card { position: relative; z-index: 1; overflow: hidden; max-width: 900px; margin-inline: auto; text-align: left; padding: clamp(var(--space-4), 3.5vw, var(--space-5)) clamp(var(--space-5), 4.5vw, var(--space-6)); padding-left: clamp(var(--space-5), 4.5vw, var(--space-6)); border-radius: var(--radius-xl); background: linear-gradient(150deg, rgba(13,16,22,0.97), rgba(8,9,11,0.99)); border: 1px solid var(--hairline); box-shadow: 0 0 80px -30px rgba(12,117,251,0.6); }
.quote-feature-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #5aa6ff, var(--color-primary)); box-shadow: 0 0 18px 1px rgba(12,117,251,0.85); }
.quote-feature blockquote { position: relative; z-index: 1; margin: 0; }
.quote-feature blockquote p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.5; color: var(--color-text-strong); }
.quote-feature .accent { color: var(--color-primary); }

/* CTA final desta página: título em 2 linhas (fonte um pouco menor que o padrão) */
#contato .svc-cta-card h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }

/* ---------- responsivo das novas seções ---------- */
@media (max-width: 1024px) {
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
  .gain-layout { grid-template-columns: 1fr; grid-template-rows: none; gap: var(--space-6); }
  .gain-head, .gain-main, .gain-figure { grid-column: 1; grid-row: auto; }
  .gain-figure { min-height: 0; height: 64vw; max-height: 520px; order: 3; }
  .reveal.reveal-right { transform: translateY(24px); }
}
@media (max-width: 768px) {
  .challenge-grid { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
  .gain-figure { height: 78vw; }
  .reveal.reveal-left { transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-left, .reveal.reveal-right { transform: none; }
}

/* ============================================================
   AUTOMAÇÕES - reformulação da página
   (problemas → solução + workflow → possibilidades → como
    funciona → resultados → CTA final)
   Reutiliza tokens, .reveal/observer, [data-spotlight] e motion.
   ============================================================ */

/* ---------- SEÇÃO 2 - A SOLUÇÃO (showcase com imagem de fundo) ---------- */
/* mesmo efeito de "A Virada" (.svc-showcase), trocando a imagem de fundo */
.svc-showcase--automacao::before { background-image: url('fundo_automacao.webp'); }
@media (prefers-reduced-motion: reduce) {
  .flow .reveal { transform: none; }
  .flow-link::after { animation: none; opacity: 0; }
}

/* ============================================================
   SITES - Rede social × Site (reframe) + Jornada (a ponte)
   Reutiliza tokens, .reveal/observer, [data-spotlight] e .stagger.
   ============================================================ */

/* ---- Vantagem competitiva: só rede social × com site ---- */
.vs { position: relative; display: grid; grid-template-columns: 0.85fr 1.2fr; gap: var(--space-5); align-items: center; }
.vs-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.45s ease;
}
/* lado fraco - só rede social: apagado, recuado */
.vs-card--weak { background: linear-gradient(160deg, rgba(18,19,22,0.6), rgba(11,12,14,0.72)); }
.vs-card--weak .vs-title { color: var(--color-text-muted); }
/* lado forte - com site: destaque azul forte, borda em gradiente + glow */
.vs-card--strong {
  background:
    radial-gradient(130% 100% at 82% 0%, rgba(12,117,251,0.32), transparent 58%),
    linear-gradient(160deg, rgba(16,52,108,0.82), rgba(9,14,24,0.96));
  border-color: rgba(12,117,251,0.6);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.vs-card--strong::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(150deg, rgba(90,166,255,1), rgba(12,117,251,0.5) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.vs-card--strong:hover { transform: translateY(-5px); box-shadow: 0 24px 56px rgba(0,0,0,0.6); }

.vs-badge { align-self: flex-start; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-full); }
.vs-card--weak .vs-badge { color: #f8a6a6; border: 1px solid rgba(239,68,68,0.3); background: rgba(239,68,68,0.08); }
.vs-card--strong .vs-badge { color: #0a3f8f; border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.92); }
.vs-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; line-height: 1.2; color: var(--color-text-strong); margin-top: calc(-1 * var(--space-2)); }

.vs-list { display: flex; flex-direction: column; gap: var(--space-3); }
.vs-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; line-height: 1.5; }
.vs-item svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.vs-card--weak .vs-item { color: var(--color-text-muted); }
.vs-card--weak .vs-item svg { color: #ef4444; opacity: 0.85; }
.vs-card--strong .vs-item { color: var(--color-text); }
.vs-card--strong .vs-item svg { color: var(--color-primary); }

/* lado fraco menor / lado forte maior - o forte prevalece */
.vs-card--weak { padding: var(--space-4); }
.vs-card--weak .vs-title { font-size: 1.18rem; }
.vs-card--weak .vs-item { font-size: 0.9rem; }
.vs-card--weak .vs-item svg { width: 20px; height: 20px; }
.vs-card--strong { padding: var(--space-6); gap: var(--space-5); }
.vs-card--strong .vs-title { font-size: 1.75rem; }
.vs-card--strong .vs-list { gap: var(--space-4); }
.vs-card--strong .vs-item { font-size: 1.05rem; color: var(--color-text-strong); gap: 14px; align-items: center; }
/* selo do check: fundo branco com reflexo varrendo da esquerda p/ direita */
.vs-card--strong .vs-check {
  position: relative; overflow: hidden; isolation: isolate; flex: none;
  width: 32px; height: 32px; margin-top: 0;
  display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(150deg, #f4f8ff 0%, #bdd2ee 100%);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 3px 10px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.9);
}
.vs-card--strong .vs-check svg { position: relative; z-index: 2; width: 18px; height: 18px; color: #0a57bd; }
.vs-card--strong .vs-check::before {
  content: ""; position: absolute; top: -60%; bottom: -60%; left: -130%; width: 75%; z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 22%, rgba(255,255,255,0.55) 42%, rgba(255,255,255,0.98) 50%, rgba(255,255,255,0.55) 58%, transparent 78%);
  transform: skewX(-22deg);
  animation: nx-sheen 4.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .vs-card--strong .vs-check::before { animation: none; opacity: 0; } }

@media (max-width: 768px) {
  .vs { grid-template-columns: 1fr; }
  .vs-card--strong { padding: var(--space-5); }
}

/* frase de fechamento (reaproveitada nas duas seções) */
.roles-kicker { margin-top: var(--space-5); text-align: center; font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--color-text); max-width: 760px; margin-inline: auto; }
.roles-kicker strong { color: var(--color-primary); font-weight: 700; }

/* ---- Jornada: do conteúdo ao contato ---- */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.journey::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(12,117,251,0.45) 18%, rgba(12,117,251,0.45) 82%, transparent); z-index: 0; }
.journey-step { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.journey-num { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(160deg, #1683ff, #0a57bd); border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 10px 26px rgba(8,60,140,0.4); transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.journey-step:hover .journey-num { transform: translateY(-3px) scale(1.06); }
.journey-step h3 { font-size: 1rem; font-weight: 700; color: var(--color-text-strong); line-height: 1.3; }
.journey-step p { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.5; max-width: 22ch; margin-inline: auto; }

@media (max-width: 1024px) {
  .roles { grid-template-columns: 1fr; }
  .role-link { transform: rotate(90deg); margin-block: calc(-1 * var(--space-2)); }
  .journey { grid-template-columns: 1fr; gap: var(--space-5); max-width: 460px; margin-inline: auto; }
  .journey::before { top: 0; bottom: 0; left: 30px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, transparent, rgba(12,117,251,0.45) 12%, rgba(12,117,251,0.45) 88%, transparent); }
  .journey-step { flex-direction: row; align-items: flex-start; text-align: left; gap: var(--space-3); }
  .journey-num { flex: none; }
  .journey-step h3, .journey-step p { max-width: none; margin-inline: 0; }
}

/* ============================================================
   SITES - Motion automático nos X (sinais de problema)
   Sem hover/clique: os ícones de "X" balançam em loop.
   ============================================================ */
@keyframes nx-x-shake {
  0%, 80%, 100% { transform: rotate(0); }
  84% { transform: rotate(-11deg) scale(1.08); }
  88% { transform: rotate(9deg)  scale(1.06); }
  92% { transform: rotate(-6deg) scale(1.03); }
  96% { transform: rotate(3deg); }
}
.vs-card--weak .vs-item svg { transform-origin: center; animation: nx-x-shake 4.2s ease-in-out infinite; }
.vs-card--weak .vs-item:nth-child(2) svg { animation-delay: 0.7s; }
.vs-card--weak .vs-item:nth-child(3) svg { animation-delay: 1.4s; }
.vs-card--weak .vs-item:nth-child(4) svg { animation-delay: 2.1s; }

/* figura "O Seu Melhor Vendedor": mostra o monitor (topo) e o pé do notebook (base) */
.gain-figure--monitor { background: #06080d; }
.gain-figure--monitor[data-parallax] img { top: -4%; height: 108%; object-position: center; }

/* ============================================================
   SITES - Benefícios (imagem + cards empilhados, com destaque)
   ============================================================ */
.support-content .ben-stack { margin-top: 0; }
.ben-stack { display: flex; flex-direction: column; gap: var(--space-3); }
.ben-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(22,23,26,0.92), rgba(13,14,16,0.95));
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.ben-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(150deg, rgba(12,117,251,0.9), transparent 52%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.ben-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: radial-gradient(460px circle at var(--mx,50%) var(--my,0%), rgba(12,117,251,0.16), transparent 45%); }
.ben-card:hover { transform: translateX(6px); border-color: transparent; box-shadow: 0 20px 48px rgba(0,0,0,0.55), 0 0 26px -8px rgba(12,117,251,0.5); }
.ben-card:hover::before, .ben-card:hover::after { opacity: 1; }
.ben-ico {
  position: relative; flex: none; width: 58px; height: 58px;
  display: grid; place-items: center; border-radius: 14px;
  background: rgba(12,117,251,0.14); border: 1px solid rgba(12,117,251,0.3);
  color: var(--color-primary);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.ben-card:hover .ben-ico { transform: scale(1.08); }
.ben-ico svg { width: 27px; height: 27px; }
.ben-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--color-text-strong); line-height: 1.3; margin-bottom: 4px; }
.ben-body p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.5; }

/* ============================================================
   SITES - A Ponte (fluxo minimalista)
   ============================================================ */
.bridge { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.bridge::before { content: ""; position: absolute; top: 19px; left: 10%; right: 10%; height: 1px; background: var(--hairline-strong); z-index: 0; }
.bridge-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; }
.bridge-num {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--color-primary); background: var(--color-surface);
  border: 1px solid rgba(12,117,251,0.45);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.bridge-step:hover .bridge-num { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.bridge-step:last-child .bridge-num {
  background: linear-gradient(160deg, #2b93ff, #0a57bd);
  color: #fff; border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 5px rgba(12,117,251,0.14), 0 6px 18px rgba(8,60,140,0.5), 0 0 18px rgba(12,117,251,0.6);
}
.bridge-label { font-size: 0.95rem; font-weight: 600; color: var(--color-text-strong); line-height: 1.35; max-width: 16ch; }
.bridge-step:last-child .bridge-label { color: var(--color-primary); font-weight: 700; }

@media (max-width: 768px) {
  .bridge { grid-template-columns: 1fr; gap: var(--space-4); max-width: 360px; margin-inline: auto; }
  .bridge::before { top: 0; bottom: 0; left: 19px; right: auto; width: 1px; height: auto; }
  .bridge-step { flex-direction: row; align-items: center; text-align: left; gap: var(--space-3); }
  .bridge-label { max-width: none; }
}

/* ============================================================
   BREADCRUMB (acima do hero das páginas de serviço)
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.breadcrumb a { color: var(--color-text-muted); transition: color 0.2s ease; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--color-text-strong); }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: 600; }
.breadcrumb .sep { color: var(--color-text-muted); }

/* ============================================================
   FERRAMENTAS / STACK (chips)
   ============================================================ */
.tools-block { margin-top: var(--space-6); text-align: center; }
.tools-block h3 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.tools-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.tools-row li { display: inline-flex; align-items: center; padding: 8px 16px; font-size: 0.85rem; font-weight: 600; color: var(--color-text); background: rgba(255,255,255,0.03); border: 1px solid var(--hairline-strong); border-radius: var(--radius-full); }

/* ============================================================
   SERVIÇOS RELACIONADOS (cross-links antes do CTA final)
   ============================================================ */
.related { padding-block: var(--space-7); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); max-width: 880px; margin-inline: auto; }
.related-card { display: block; background: var(--color-elevated); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-5); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.related-card:hover, .related-card:focus-visible { transform: translateY(-4px); border-color: rgba(12,117,251,0.55); box-shadow: var(--shadow-md); }
.related-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--space-2); }
.related-card p { font-size: 0.95rem; color: var(--color-text-muted); }
.related-card .related-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-3); font-weight: 600; font-size: 0.9rem; color: var(--color-primary-soft); }
.related-head { text-align: center; margin-bottom: var(--space-5); }
.related-head h2 { font-family: var(--font-display); font-size: 1.6rem; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--hairline); padding: var(--space-7) 0 var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); }
.footer-logo { height: 34px; width: auto; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.95rem; margin-top: var(--space-3); max-width: 320px; }
.footer-brand .footer-nap { font-weight: 600; color: var(--color-text); }
.footer-col h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-strong); margin-bottom: var(--space-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--color-text-muted); font-size: 0.95rem; transition: color 0.2s ease; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--color-text-strong); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); border-top: 1px solid var(--hairline); margin-top: var(--space-6); padding-top: var(--space-4); color: var(--color-text-muted); font-size: 0.85rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
