/* =========================================================
   PÁGINA: SINGLE STEP LEVEL (Dark Mode Identity)
   ========================================================= */

/* Variáveis Globais (Herdadas da Front Page para consistência) */
:root {
  --bg: #070A12;
  --panel: #0B1020;
  --card: #0E1630;
  --text: #EAF0FF;
  --muted: rgba(234, 240, 255, .78);
  --soft: rgba(234, 240, 255, .10);
  --soft2: rgba(234, 240, 255, .16);
  --line: rgba(234, 240, 255, .14);

  --accent: #6BE4FF;
  --accent2: #64FFB6;
  --accent3: #B58CFF;

  --radius: 18px;
  --radius2: 24px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .40);
  --shadow2: 0 10px 26px rgba(0, 0, 0, .34);
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid var(--soft2);
  font-weight: 800;
  white-space: nowrap;
  background: rgba(234, 240, 255, .06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(234, 240, 255, .08);
}

.btn.primary {
  border-color: rgba(107, 228, 255, .38);
  background: linear-gradient(180deg, rgba(107, 228, 255, .16), rgba(107, 228, 255, .07));
  color: var(--text);
  border-radius: 999px;
}

.btn.primary:hover {
  border-color: rgba(107, 228, 255, .55);
}

.btn.ghost {
  border-color: rgba(234, 240, 255, .14);
  background: rgba(234, 240, 255, .04);
  color: rgba(234, 240, 255, .92);
  border-radius: 999px;
  font-size: 15px;
  padding: 12px 24px;
}

.page-single-step-level {
  color: var(--text);
}

.container {
  margin: 0 10%;
}

.sl-main-section {
  margin: 50px 0;
}

/* ==========================================
   1. SUBCARDS DO STEP LEVEL
   ========================================== */
.sl-resumo h2 {
  color: var(--text) !important;
  /* Sobrescreve a cor preta herdada do HTML antigo */
}

/* Grid layout (2 colunas no desktop, como na imagem) */
.sl-subcards-wrapper.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Os cartões inseridos via WYSIWYG */
.sl-subcards-wrapper>* {
  background: rgba(234, 240, 255, 0.04);
  border: 1px solid var(--soft2);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sl-subcards-wrapper>*:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 240, 255, 0.25);
}

/* Títulos dos Subcards (Com o ponto luminoso verde) */
.sl-subcards-wrapper h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(234, 240, 255, 0.05);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--soft);
}

/* O ponto verde criado via CSS */
.sl-subcards-wrapper h3::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(100, 255, 182, 0.15);
  /* Efeito de brilho / glow */
}

.sl-subcards-wrapper p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   PROOF & TESTEMUNHOS BLOCK (ESTRUTURA CODEPEN + CORES ORIGINAIS/DARK)
   ========================================================= */
#proof {
  padding: 80px 0;
  color: var(--text);
  background: linear-gradient(90deg, #42146F 0%, #182C71 100%);
}

#proof .proof-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  /* background: linear-gradient(180deg, rgba(11,16,32,.76), rgba(11,16,32,.58)); */
  box-shadow: var(--shadow2);
  overflow: hidden;
}

#proof .proof-inner {
  padding: 22px;
}

#proof .proof-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

#proof .proof-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.02em;
  color: #FFFFFF;
}

#proof .proof-head p {
  margin: 0;
  color: var(--muted);
  max-width: 78ch;
}

#proof .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

#proof .proof-col {
  border: 1px solid var(--soft2);
  border-radius: var(--radius);
  background: rgba(234, 240, 255, .04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  overflow: hidden;
  position: relative;
}

#proof .proof-col-head {
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(234, 240, 255, .10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#proof .proof-col-head h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: .02em;
  color: rgba(234, 240, 255, .92);
}

/* Brilhos das colunas (mantidos do seu design escuro) */
#proof .proof-col[data-kind="demos"] {
  --a: rgba(107, 228, 255, .16);
}

#proof .proof-col[data-kind="cases"] {
  --a: rgba(100, 255, 182, .14);
}

#proof .proof-col[data-kind="products"] {
  --a: rgba(181, 140, 255, .14);
}

#proof .proof-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 240px at 25% 8%, var(--a), transparent 60%);
  pointer-events: none;
}

/* Carrossel Vertical */
#proof .vcar {
  position: relative;
  display: grid;
  grid-template-rows: 28px 1fr 28px;
  /* O segredo do layout fixo */
  gap: 8px;
  padding: 12px 12px 14px 12px;
}

#proof .vcar-btn {
  width: 100%;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(234, 240, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  /* box-shadow: 0px 10px 26px 0px rgba(0, 0, 0, 0.22); */
}

#proof .vcar-btn:hover {
  transform: translateY(-1px);
  background: rgba(234, 240, 255, .06);
  border-color: rgba(234, 240, 255, .26);
}

#proof .vcar-btn svg {
  width: 16px;
  height: 16px;
  opacity: .9;
}

/* Item Card (Poster Style) */
#proof .vcar-item {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(234, 240, 255, .16);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(234, 240, 255, .04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#proof .vcar-img {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .48)),
    radial-gradient(520px 240px at 20% 15%, rgba(107, 228, 255, .16), transparent 62%),
    linear-gradient(135deg, rgba(14, 22, 48, .85), rgba(11, 16, 32, .65));
  border-bottom: 1px solid rgba(234, 240, 255, .12);
  position: relative;
  overflow: hidden;
  height: 180px;
}

#proof .vcar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  filter: saturate(1.05) contrast(1.03);
}

#proof .vcar-img .ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(234, 240, 255, .86);
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 12px;
  text-align: center;
}

#proof .vcar-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

#proof .vcar-title {
  margin: 0;
  font-size: 15px;
  color: rgba(234, 240, 255, .92);
  letter-spacing: -.01em;
  font-weight: 800;
}

#proof .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

#proof .tag {
  font-size: 10.5px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}

/* Botão "Ver detalhes" */
#proof .vcar-actions .btn.ghost {
  display: inline-block;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  text-decoration: none;
  /* background: transparent; */
  transition: all 0.2s ease;
}

#proof .vcar-actions .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   TESTEMUNHOS (ESTRUTURA CODEPEN + CORES DARK)
   ========================================================= */
#proof .proof-divider {
  height: 1px;
  background: rgba(234, 240, 255, .14);
  margin: 18px 0;
}

#proof .t-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

#proof .t-head h3 {
  margin: 0;
  font-size: 18px;
  color: rgba(234, 240, 255, .92);
  font-weight: 800;
}

#proof .t-head p {
  margin: 4px 0 0 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 15px;
}

#proof .t-carousel-wrap {
  position: relative;
  border-radius: var(--radius);
  padding: 0 46px;
  /* Espaço para as setas não cortarem os cards */
}

#proof .t-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 16px);
  gap: 24px;
  overflow: hidden;
  padding-bottom: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

#proof .t-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(234, 240, 255, .18);
  background: rgba(11, 16, 32, .55);
  backdrop-filter: blur(8px);
  color: rgba(234, 240, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  z-index: 5;
  opacity: .95;
}

#proof .t-nav:hover {
  transform: translateY(-50%) translateY(-1px);
  background: rgba(11, 16, 32, .68);
  border-color: rgba(234, 240, 255, .26);
  opacity: 1;
}

#proof .t-prev {
  left: -6px;
}

#proof .t-next {
  right: -6px;
}

#proof .t-card {
  scroll-snap-align: start;
  border: 1px solid rgba(234, 240, 255, .16);
  border-radius: var(--radius);
  background: rgba(234, 240, 255, .04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  padding: 14px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

#proof .t-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

#proof .t-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(234, 240, 255, .18);
  background: radial-gradient(circle at 30% 20%, rgba(107, 228, 255, .55), rgba(181, 140, 255, .28) 55%, rgba(100, 255, 182, .16) 100%), rgba(234, 240, 255, .03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(234, 240, 255, .90);
  flex: 0 0 auto;
}

#proof .t-name {
  margin: 0;
  font-weight: 900;
  color: rgba(234, 240, 255, .92);
  line-height: 1.1;
}

#proof .t-role {
  margin: 3px 0 0 0;
  font-size: 12px;
  color: rgba(234, 240, 255, .70);
}

#proof .t-quote {
  margin: 0;
  color: rgba(234, 240, 255, .82);
  line-height: 1.55;
}

/* Responsividade */
@media (max-width: 980px) {
  #proof .proof-grid {
    grid-template-columns: 1fr;
  }

  #proof .vcar-item {
    grid-template-columns: 1fr;
    grid-template-rows: 170px auto;
  }

  #proof .t-carousel {
    grid-auto-columns: calc(50% - 6px);
  }
}

@media (max-width: 680px) {
  #proof .t-carousel-wrap {
    padding: 0 42px;
  }

  #proof .t-prev {
    left: 6px;
  }

  #proof .t-next {
    right: 6px;
  }

  #proof .t-carousel {
    grid-auto-columns: 100%;
  }
}

/* =========================================================
   CARTÃO MESTRE STEP LEVEL (Figma Light Mode)
   ========================================================= */
.sl-master-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.sl-master-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sl-master-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.sl-master-text p {
  font-size: 16px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

/* Botão do Header (Ver Sobre) */
.btn-outline-dark {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #D1D5DB;
  color: #111827;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.btn-outline-dark:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
  transform: translateY(-1px);
}

/* ==========================================
   A GRELHA INTERNA (4 Subcards)
   ========================================== */
.sl-inner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 Cartões Lado a Lado */
  gap: 16px;
}

.sl-inner-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sl-inner-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Título com a Bolinha Ciano */
.sl-inner-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 16px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F9FAFB;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #F3F4F6;
  width: fit-content;
}

.sl-inner-card h3::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background-color: #24DBFF;
  /* Bolinha Ciano da Vulpis */
  border-radius: 50%;
}

.sl-inner-card p {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

/* Responsividade */
@media (max-width: 1024px) {
  .sl-inner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sl-master-card {
    padding: 24px;
  }

  .sl-master-head {
    flex-direction: column;
  }

  .sl-inner-grid {
    grid-template-columns: 1fr;
  }
}