/* ================= 1. BASE & LAYOUT ================= */
.slide-15-container {
  display: grid;
  grid-template-columns: 0.8fr 2fr 0.8fr; /* Central expandida para a timeline */
  gap: 30px;
  align-items: center;
  padding: 60px;
  height: 100dvh;
  width: 100vw;
  position: relative;
  background-color: #0a1128;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

/* ================= 2. TIMELINE (COLUNA CENTRAL) ================= */
.slide-15-center {
  z-index: 2;
  position: relative;
}

.timeline-wrapper {
  position: relative;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 45px; /* Alinhado ao centro dos números */
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1, #22c55e);
  opacity: 0.3;
  z-index: 0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  position: relative;
  z-index: 1;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
}

/* Estilo dos Números e Tempos */
.step-number {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
  box-shadow: 0 0 15px currentColor;
}
.step-1 {
  background: #0ea5e9;
  color: #fff;
}
.step-2 {
  background: #6366f1;
  color: #fff;
}
.step-3 {
  background: #f97316;
  color: #fff;
}
.step-4 {
  background: #22c55e;
  color: #fff;
}

.step-time {
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.step-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #fff;
}
.step-card p {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Badge de Suporte (Esquerda) */
.support-badge {
  margin-top: 40px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.badge-icon {
  font-size: 1.8rem;
}
.badge-text strong {
  display: block;
  color: #22c55e;
  font-size: 0.9rem;
}
.badge-text p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

/* ================= 3. RESPONSIVIDADE (MOBILE) ================= */
@media (max-width: 768px) {
  .slide-15-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 60px 20px !important;
    overflow-y: auto !important;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .timeline-line {
    display: none;
  } /* Remove a linha horizontal no mobile */
  .step-card {
    width: 100%;
  }
}
/* Efeito de Malha (Grid) no fundo - Padrão Cachina */
.slide-15-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1; /* Fica atrás dos cards, mas acima do fundo azul */
}

/* Garante que os brilhos radiais também apareçam */
.slide-15-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.12) 0%,
    rgba(99, 102, 241, 0.08) 40%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
}
/* =============================================================
   PÁGINA 02: VALORES (RESPONSIVIDADE BLINDADA TOTAL)
   ============================================================= */

.slide-02-container.values-page {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 60px;
  height: 100vh;
  height: 100dvh; /* Altura dinâmica para iOS */
  width: 100vw;
  background-color: #0a1128;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* FUNDO E BRILHOS (IDÊNTICO AO SLIDE 01) */
.slide-02-container.values-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.slide-02-container.values-page::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

/* ... (Mantenha seus estilos de .sidebar-identity, .value-card, etc aqui) ... */

/* =============================================================
   6. RESPONSIVIDADE (VERTICAL - MOBILE & TABLET)
   ============================================================= */
@media (max-width: 1024px) {
  .slide-02-container.values-page {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
    padding: 60px 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  /* Remove efeitos pesados no mobile para fluidez */
  .slide-02-container.values-page::before,
  .slide-02-container.values-page::after {
    display: none;
  }

  .sidebar-identity {
    min-width: 100%;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .values-content {
    padding-left: 0;
    width: 100%;
    text-align: center;
  }

  .cards-wrapper {
    flex-direction: column; /* Empilha os cards */
    gap: 20px;
  }

  .value-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .slide-01-footer {
    position: relative;
    margin-top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* =============================================================
   7. RESPONSIVIDADE (HORIZONTAL - LANDSCAPE)
   ============================================================= */
@media (max-height: 550px) and (orientation: landscape) {
  .slide-15-container.values-page {
    height: auto;
    min-height: 100dvh;
    padding: 30px;
    flex-direction: row; /* Volta para row para aproveitar a largura */
    align-items: flex-start;
  }

  .sidebar-identity {
    min-width: 200px;
    border-right: 1px solid rgba(14, 165, 233, 0.2);
    border-bottom: none;
    padding-bottom: 0;
  }

  .sidebar-identity .mini-logo {
    width: 120px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .cards-wrapper {
    flex-direction: row; /* Cards lado a lado no landscape */
    flex-wrap: wrap; /* Quebra se não couber */
    justify-content: center;
  }

  .value-card {
    flex: 1 1 200px; /* Base de 200px mas pode crescer */
    padding: 20px 15px;
  }

  .card-icon {
    font-size: 1.8rem;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }

  .value-card p {
    font-size: 0.8rem;
  }
}