/* ============================================================
   VISÃO GERAL — Conteúdo da página plataforma.html
   Hero full-width · KPIs sobrepostos · Cards de ambientes
   Fluxo 01→05 · Mockup funcional
   ============================================================ */

/* ─────────────────────────────────────────────────────────
   HERO FULL-WIDTH (dark)
   ───────────────────────────────────────────────────────── */
.vg-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(2, 184, 191, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 70%, rgba(123, 97, 255, 0.14) 0%, transparent 60%),
    linear-gradient(135deg, #050B17 0%, #0B1F38 100%);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px) clamp(48px, 6vw, 88px);
  overflow: hidden;
  color: var(--pl-ink);
}
.vg-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(127, 231, 235, 0.36) 50%, transparent 100%);
}
.vg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 100%, rgba(127, 231, 235, 0.06) 0%, transparent 30%);
  pointer-events: none;
}

.vg-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 1080px) {
  .vg-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.vg-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--pl-teal-2);
  text-transform: uppercase;
  margin: 0 0 22px;
}
.vg-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pl-teal-2);
  box-shadow: 0 0 12px rgba(2, 212, 220, 0.6);
}

.vg-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--pl-ink);
  margin: 0 0 22px;
}
.vg-hero-title .serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--pl-teal-2);
}

.vg-hero-lead {
  font-size: 16px;
  color: var(--pl-ink-2);
  line-height: 1.6;
  max-width: 54ch;
  margin: 0 0 32px;
}

/* ===== BOTÕES DO HERO — hierarquia de 3 níveis ===== */
.vg-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
/* Linha 1: botões principal + premium lado a lado (pode estender levemente
   para o gap em telas onde a coluna de texto é mais estreita). */
.vg-hero-cta-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  width: max-content;
}
@media (max-width: 1080px) {
  .vg-hero-cta-row { flex-wrap: wrap; width: auto; }
}

/* PRIMÁRIO — gradient + glow + ícone em círculo + elevação */
.vg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px 15px 16px;
  background: linear-gradient(135deg, #02D4DC 0%, #02888F 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  position: relative;
  box-shadow: 0 10px 30px rgba(2, 184, 191, 0.40), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s;
}
.vg-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.20), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
}
.vg-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(2, 184, 191, 0.58), inset 0 1px 0 rgba(255,255,255,0.30);
}
.vg-btn-primary:hover::after { opacity: 1; }
.vg-btn-primary .vg-btn-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.vg-btn-primary span { position: relative; z-index: 1; }

/* PREMIUM — glass com borda gradiente teal→violeta */
.vg-btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 15px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  color: var(--pl-ink);
  position: relative;
  background:
    linear-gradient(rgba(8, 17, 31, 0.85), rgba(8, 17, 31, 0.85)) padding-box,
    linear-gradient(135deg, #7FE7EB 0%, #7B61FF 100%) border-box;
  border: 1.5px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px rgba(123, 97, 255, 0.22), inset 0 0 22px rgba(127, 231, 235, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  overflow: hidden;
}
.vg-btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(123, 97, 255, 0.38), inset 0 0 30px rgba(127, 231, 235, 0.12);
}
.vg-btn-premium .vg-btn-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(127, 231, 235, 0.30), rgba(123, 97, 255, 0.30));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.vg-btn-premium:hover .vg-btn-icon { transform: translateX(3px); }

/* TERCIÁRIO — minimalista, seta desliza no hover */
.vg-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 8px;
  background: transparent;
  color: var(--pl-ink-2);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: color 0.25s;
  position: relative;
}
.vg-btn-ghost::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  height: 1px;
  background: var(--pl-teal-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.vg-btn-ghost:hover { color: var(--pl-teal-2); }
.vg-btn-ghost:hover::after { transform: scaleX(1); }
.vg-btn-ghost svg { transition: transform 0.25s; }
.vg-btn-ghost:hover svg { transform: translateX(4px); }

/* SECUNDÁRIO CLARO — usado em seções light (preservado) */
.vg-btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
  background: var(--pl-card);
  color: var(--pl-text);
  border: 1px solid var(--pl-border);
}
.vg-btn-ghost-light:hover {
  border-color: var(--pl-teal);
  transform: translateY(-2px);
  box-shadow: var(--pl-shadow-md);
}

/* Imagem + KPIs sobrepostos */
.vg-hero-visual {
  position: relative;
  min-height: 460px;
}
@media (max-width: 1080px) {
  .vg-hero-visual { min-height: 380px; }
}
.vg-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(2, 184, 191, 0.18) 0%, transparent 60%),
    linear-gradient(225deg, rgba(11, 22, 40, 0.45) 0%, transparent 50%),
    url('assets/hero-bg.png') center/cover no-repeat;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(127, 231, 235, 0.18);
}
.vg-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(5, 11, 23, 0.5) 100%);
}

/* Grid de 4 KPIs sobrepostos */
.vg-hero-kpis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
  height: 100%;
}
.vg-hero-kpi {
  background:
    radial-gradient(ellipse at top, rgba(127, 231, 235, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(5, 11, 23, 0.78) 0%, rgba(8, 17, 31, 0.62) 100%);
  border: 1px solid rgba(127, 231, 235, 0.22);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.vg-hero-kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 231, 235, 0.42);
  box-shadow: 0 16px 40px rgba(2, 184, 191, 0.18);
}
.vg-hero-kpi-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pl-teal-2);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.vg-hero-kpi-value {
  font-size: clamp(2.2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  color: var(--pl-ink);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0 0 6px;
}
.vg-hero-kpi-meta {
  font-size: 12px;
  color: var(--pl-ink-2);
  margin: 0;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────
   MINI KPIs (3 cards light após o hero)
   ───────────────────────────────────────────────────────── */
/* ===== MINI KPIs (dark glass, casando com os 4 KPIs grandes do hero) ===== */
.vg-mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1280px;
  margin: -42px auto 0;
  padding: 0 clamp(24px, 4vw, 56px);
  position: relative;
  z-index: 3;
}
@media (max-width: 760px) {
  .vg-mini-kpis { grid-template-columns: 1fr; gap: 10px; margin-top: -28px; }
}
.vg-mini-kpi {
  background:
    radial-gradient(ellipse at top, rgba(127, 231, 235, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, rgba(5, 11, 23, 0.94) 0%, rgba(11, 31, 56, 0.86) 100%);
  border: 1px solid rgba(127, 231, 235, 0.26);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(2, 184, 191, 0.16), inset 0 1px 0 rgba(127, 231, 235, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.vg-mini-kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 231, 235, 0.46);
  box-shadow: 0 24px 60px rgba(2, 184, 191, 0.28);
}
.vg-mini-kpi-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(127, 231, 235, 0.10);
  border: 1px solid rgba(127, 231, 235, 0.22);
  color: var(--pl-teal-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vg-mini-kpi-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vg-mini-kpi-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--pl-teal-2);
  text-transform: uppercase;
}
.vg-mini-kpi-value {
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--pl-ink);
  line-height: 1;
  letter-spacing: -0.022em;
}

/* ─────────────────────────────────────────────────────────
   BANNER COMECE PELA BASE (dark)
   ───────────────────────────────────────────────────────── */
.vg-banner-base {
  background:
    linear-gradient(120deg, rgba(6,19,35,0.94) 0%, rgba(11,31,56,0.80) 55%, rgba(11,31,56,0.50) 100%),
    url('assets/qualificacao-bg.png') center / cover no-repeat;
  border: 1px solid rgba(127, 231, 235, 0.18);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px);
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: calc(1280px - clamp(48px, 8vw, 112px));
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.vg-banner-base::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pl-teal) 0%, var(--pl-violet) 100%);
}
@media (max-width: 920px) {
  .vg-banner-base { grid-template-columns: 1fr; gap: 22px; }
}

.vg-banner-base-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--pl-teal-2);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.vg-banner-base-title {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  color: var(--pl-ink);
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 52ch;
}
.vg-banner-base-title .serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--pl-teal-2);
}
.vg-banner-base-text {
  font-size: 13.5px;
  color: var(--pl-ink-2);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}

/* ─────────────────────────────────────────────────────────
   AMBIENTES DA PLATAFORMA (seção light)
   ───────────────────────────────────────────────────────── */
.vg-section-light {
  background: linear-gradient(180deg, var(--pl-bg-light) 0%, #FFFFFF 100%);
  padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 56px);
  position: relative;
}

.vg-section-head {
  max-width: 1280px;
  margin: 0 auto 44px;
}
.vg-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--pl-teal-d);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.vg-section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--pl-teal);
}
.vg-section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--pl-text);
  margin: 0;
  max-width: 30ch;
}
.vg-section-title .serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--pl-teal-d);
}

/* Ambientes Large (3 cards grandes) */
.vg-ambientes-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto 22px;
}
@media (max-width: 1024px) {
  .vg-ambientes-large { grid-template-columns: 1fr; }
}

.vg-amb-card {
  background: var(--pl-card);
  border: 1px solid var(--pl-border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  position: relative;
}
.vg-amb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 184, 191, 0.32);
  box-shadow: var(--pl-shadow-lg);
}
.vg-amb-cover {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #0B1F38;
}
.vg-amb-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 19, 35, 0.75) 100%);
}
.vg-amb-cover.is-base { background-image: linear-gradient(135deg, rgba(2, 184, 191, 0.30), rgba(11, 22, 40, 0.45)), url('assets/clinic-background-1.png'); }
.vg-amb-cover.is-jornada { background-image: linear-gradient(135deg, rgba(123, 97, 255, 0.30), rgba(11, 22, 40, 0.45)), url('assets/crm-bg.png'); }
.vg-amb-cover.is-cockpit { background-image: linear-gradient(135deg, rgba(2, 184, 191, 0.30), rgba(11, 22, 40, 0.45)), url('assets/atendimento-bg.png'); }

.vg-amb-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(2, 184, 191, 0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(127, 231, 235, 0.40);
  border-radius: 100px;
  color: var(--pl-teal-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vg-amb-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pl-teal-2);
  box-shadow: 0 0 8px var(--pl-teal-2);
}

.vg-amb-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vg-amb-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--pl-text);
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.vg-amb-text {
  font-size: 13.5px;
  color: var(--pl-text-2);
  line-height: 1.6;
  margin: 0 0 24px;
  flex: 1;
}
.vg-amb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #02D4DC 0%, #02888F 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(2, 184, 191, 0.32);
  font-family: inherit;
  align-self: stretch;
}
.vg-amb-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(2, 184, 191, 0.48);
}
.vg-amb-cta svg { flex-shrink: 0; }

/* Ambientes Small (3 cards menores dark) */
.vg-ambientes-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .vg-ambientes-small { grid-template-columns: 1fr; }
}
.vg-amb-small {
  background:
    linear-gradient(135deg, rgba(11,31,56,0.90) 0%, rgba(6,19,35,0.82) 100%),
    url('assets/blue-background-6.png') center / cover no-repeat;
  border: 1px solid rgba(127, 231, 235, 0.18);
  border-radius: 20px;
  padding: 26px 28px 28px;
  color: var(--pl-ink);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}
.vg-amb-small:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 231, 235, 0.36);
  box-shadow: 0 18px 48px rgba(2, 184, 191, 0.12);
}
.vg-amb-small-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--pl-teal-2);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.vg-amb-small-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--pl-ink);
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0 0 12px;
}
.vg-amb-small-text {
  font-size: 13px;
  color: var(--pl-ink-2);
  line-height: 1.6;
  margin: 0 0 22px;
  flex: 1;
}
.vg-amb-small-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: rgba(2, 184, 191, 0.10);
  color: var(--pl-teal-2);
  border: 1px solid rgba(127, 231, 235, 0.32);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  align-self: stretch;
}
.vg-amb-small-cta:hover {
  background: rgba(2, 184, 191, 0.18);
  border-color: var(--pl-teal-2);
  color: #fff;
}

/* ─────────────────────────────────────────────────────────
   FLUXO 01 → 05 (integração assistencial)
   ───────────────────────────────────────────────────────── */
.vg-section-light-2 {
  background: var(--pl-bg-light);
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
}

.vg-fluxo-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 44px;
}
@media (max-width: 920px) {
  .vg-fluxo-head { grid-template-columns: 1fr; }
}

.vg-fluxo-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  background: rgba(2, 184, 191, 0.10);
  border: 1px solid rgba(127, 231, 235, 0.30);
  color: var(--pl-teal-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  justify-self: end;
  box-shadow: 0 10px 28px -14px rgba(2, 184, 191, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.vg-fluxo-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 920px) { .vg-fluxo-pill { justify-self: start; } }

.vg-fluxo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 1180px) {
  .vg-fluxo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 760px) {
  .vg-fluxo-grid { grid-template-columns: 1fr; max-width: 460px; gap: 14px; }
}

.vg-fluxo-step {
  --vg-line: rgba(127, 231, 235, 0.75);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 26px;
  border-radius: 20px;
  border: 1px solid rgba(127, 231, 235, 0.14);
  background: linear-gradient(165deg, rgba(15, 34, 58, 0.60) 0%, rgba(8, 19, 35, 0.40) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .45s, box-shadow .45s, background .45s;
  outline: none;
}
/* moldura de luz superior (gradient border via mask) */
.vg-fluxo-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(127, 231, 235, 0.55), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55;
  transition: opacity .45s;
  pointer-events: none;
}
.vg-fluxo-step:hover,
.vg-fluxo-step:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(127, 231, 235, 0.40);
  background: linear-gradient(165deg, rgba(19, 44, 73, 0.80) 0%, rgba(10, 24, 43, 0.55) 100%);
  box-shadow: 0 26px 54px -26px rgba(2, 184, 191, 0.6), 0 0 0 1px rgba(127, 231, 235, 0.16);
}
.vg-fluxo-step:hover::before,
.vg-fluxo-step:focus-visible::before { opacity: 1; }

/* número (canto superior direito) */
.vg-fluxo-step-num {
  position: absolute;
  top: 18px; right: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pl-teal-2);
  background: rgba(2, 184, 191, 0.08);
  border: 1px solid rgba(127, 231, 235, 0.22);
  border-radius: 9px;
  padding: 3px 9px;
  letter-spacing: 0.06em;
  transition: color .4s, border-color .4s, box-shadow .4s;
  z-index: 4;
}
.vg-fluxo-step:hover .vg-fluxo-step-num,
.vg-fluxo-step:focus-visible .vg-fluxo-step-num {
  color: #C7F7F9;
  border-color: rgba(127, 231, 235, 0.5);
  box-shadow: 0 0 16px rgba(2, 184, 191, 0.4);
}

/* anel do ícone — glow + arco luminoso giratório no hover */
.vg-fluxo-step-icon {
  position: relative;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pl-teal-2);
  background: radial-gradient(circle at 50% 42%, rgba(5, 22, 33, 0.92), rgba(2, 11, 20, 0.98) 70%);
  box-shadow:
    inset 0 0 0 1.5px rgba(104, 233, 240, 0.8),
    inset 0 0 16px rgba(2, 184, 191, 0.28),
    0 0 20px rgba(2, 184, 191, 0.5),
    0 0 6px rgba(127, 231, 235, 0.7);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.vg-fluxo-step-icon svg { width: 27px; height: 27px; position: relative; z-index: 2; }
/* Glifo via máscara (usa o SVG exato do arquivo, recolorido com currentColor) */
.vg-fluxo-step-icon .vg-fluxo-glyph {
  position: relative;
  z-index: 2;
  width: 28px; height: 28px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-image: var(--glyph); mask-image: var(--glyph);
  mask-mode: alpha;
}
.vg-fluxo-step-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(127,231,235,0.95) 74%, transparent 86% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  opacity: 0;
  transition: opacity .4s;
  animation: vgSpin 4.5s linear infinite;
}
.vg-fluxo-step:hover .vg-fluxo-step-icon,
.vg-fluxo-step:focus-visible .vg-fluxo-step-icon {
  transform: translateY(-2px) scale(1.07);
  box-shadow:
    inset 0 0 0 1.5px rgba(155, 243, 247, 1),
    inset 0 0 24px rgba(2, 184, 191, 0.38),
    0 0 38px rgba(2, 184, 191, 0.75),
    0 0 12px rgba(127, 231, 235, 0.95);
}
.vg-fluxo-step:hover .vg-fluxo-step-icon::before,
.vg-fluxo-step:focus-visible .vg-fluxo-step-icon::before { opacity: 1; }
@keyframes vgSpin { to { transform: rotate(360deg); } }

/* título + acento */
.vg-fluxo-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #F4FAFB;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 22px 0 0;
}
.vg-fluxo-step-title::after {
  content: '';
  display: block;
  width: 26px; height: 2px;
  margin: 11px 0 13px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pl-teal-2), rgba(2,184,191,0));
  box-shadow: 0 0 10px rgba(2,184,191,0.6);
  transition: width .45s cubic-bezier(.2,.8,.2,1);
}
.vg-fluxo-step:hover .vg-fluxo-step-title::after,
.vg-fluxo-step:focus-visible .vg-fluxo-step-title::after { width: 48px; }

.vg-fluxo-step-text {
  font-size: 12.8px;
  color: rgba(214, 232, 240, 0.62);
  line-height: 1.6;
  margin: 0;
}

/* conectores entre os steps (somente no layout de 5 colunas) */
@media (min-width: 1181px) {
  .vg-fluxo-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 62px;
    right: -22px;
    width: 26px; height: 18px;
    transform: translateY(-50%);
    z-index: 5;
    background:
      radial-gradient(circle at 50% 50%, #b6f6f9 0 2.2px, transparent 2.7px 4.6px, #6fe3eb 4.6px 6.4px, transparent 6.9px) no-repeat 50% 50% / 17px 17px,
      linear-gradient(90deg, rgba(127,231,235,0.9), rgba(127,231,235,0.25)) no-repeat 0 50% / 100% 2px;
    filter: drop-shadow(0 0 7px rgba(2, 212, 220, 0.95)) drop-shadow(0 0 3px rgba(127, 231, 235, 0.85));
    transition: filter .4s, transform .4s;
    pointer-events: none;
  }
  .vg-fluxo-step:hover::after {
    filter: drop-shadow(0 0 12px rgba(2, 212, 220, 1)) drop-shadow(0 0 5px rgba(155, 243, 247, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .vg-fluxo-step,
  .vg-fluxo-step-icon,
  .vg-fluxo-step-num,
  .vg-fluxo-step-title::after { transition: none; }
  .vg-fluxo-step-icon::before { animation: none; }
}

/* ─────────────────────────────────────────────────────────
   A PLATAFORMA EM FUNCIONAMENTO (seção final)
   ───────────────────────────────────────────────────────── */
.vg-section-light-3 {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--pl-bg-light) 100%);
  padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 56px) clamp(72px, 8vw, 120px);
}

.vg-func-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 44px;
}
@media (max-width: 920px) {
  .vg-func-head { grid-template-columns: 1fr; }
}

.vg-func-mockup {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #061323 0%, #0B1F38 100%);
  border: 1px solid var(--pl-border);
  box-shadow: var(--pl-shadow-lg);
  aspect-ratio: 16 / 9;
}
.vg-func-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vg-func-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 60%, rgba(2, 184, 191, 0.10) 100%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   BOTÕES — padrão landing: seta+círculo + logo SOMA
   ───────────────────────────────────────────────────────── */
/* Logo SOMA dentro do botão primário principal */
.vg-btn-soma-ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.22));
}

/* Seta dentro de círculo (igual .btn .arr da landing) */
.vg-arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}
.vg-btn-primary:hover .vg-arr,
.vg-btn-ghost:hover .vg-arr,
.vg-btn-ghost-light:hover .vg-arr,
.vg-amb-card:hover .vg-arr,
.vg-amb-small:hover .vg-arr {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.28);
}
/* Nos cards/botões claros e ghost-light, círculo teal-tingido para contraste */
.vg-btn-ghost-light .vg-arr { background: rgba(2, 184, 191, 0.16); }
.vg-amb-small-cta .vg-arr { background: rgba(127, 231, 235, 0.18); }
.vg-amb-small:hover .vg-amb-small-cta .vg-arr { background: rgba(127, 231, 235, 0.30); }

/* ─────────────────────────────────────────────────────────
   SLIDER — "A plataforma em funcionamento" (.vg-func-mockup)
   ───────────────────────────────────────────────────────── */
.vg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.vg-slide.is-active { opacity: 1; }
.vg-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.vg-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.40);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.vg-slider-dot:hover { background: rgba(255, 255, 255, 0.65); }
.vg-slider-dot.is-active {
  background: var(--pl-teal-2, #7FE7EB);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(2, 212, 220, 0.6);
}

/* ─────────────────────────────────────────────────────────
   FLUXO 01→05 — variante dark com background hero-bg
   ───────────────────────────────────────────────────────── */
.vg-section-light-2 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 360px at 16% -12%, rgba(2, 184, 191, 0.16), transparent 60%),
    radial-gradient(900px 340px at 94% 6%, rgba(2, 184, 191, 0.12), transparent 62%),
    linear-gradient(135deg, rgba(5, 11, 23, 0.94) 0%, rgba(11, 31, 56, 0.86) 60%, rgba(6, 19, 35, 0.92) 100%),
    url('assets/hero-bg.png') center / cover no-repeat;
}
.vg-section-light-2 .vg-section-eyebrow { color: var(--pl-teal-2); }
.vg-section-light-2 .vg-section-eyebrow::before { background: var(--pl-teal-2); }
.vg-section-light-2 .vg-section-title { color: #FFFFFF; }
.vg-section-light-2 .vg-section-title .serif { color: var(--pl-teal-2); }
.vg-section-light-2 .vg-fluxo-pill {
  background: rgba(2, 184, 191, 0.14);
  color: var(--pl-teal-2);
  border-color: rgba(127, 231, 235, 0.34);
}
