/* =============================================================
   PÁGINA 02: VALORES (ESTILO CACHINA)
   ============================================================= */

.slide-02-container.values-page {
  display: flex !important;
  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;
}

/* 1. FUNDO DE GRADE (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;
  pointer-events: none;
  z-index: 0;
}

/* 2. BRILHO RADIAL AZUL (IDÊNTICO AO SLIDE 01) */
.slide-02-container.values-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-20%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.15) 0%,
    rgba(99, 102, 241, 0.12) 40%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
}

/* ELEMENTOS DA SIDEBAR */
.sidebar-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 300px;
  padding-right: 50px;
  border-right: 1px solid rgba(14, 165, 233, 0.2);
  z-index: 2;
}

.sidebar-identity .mini-logo {
  width: 160px;
  margin-top: 25px;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
}

/* CONTEÚDO E CARDS */
.values-content {
  flex: 1;
  padding-left: 60px;
  z-index: 2;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.section-title span {
  color: #0ea5e9;
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.cards-wrapper {
  display: flex;
  gap: 25px;
  width: 100%;
}

.value-card {
  flex: 1;
  padding: 40px 25px;
  background: rgba(10, 17, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #0ea5e9;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.value-card:hover {
  transform: translateY(-15px);
  background: #0ea5e9;
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.value-card:hover h3,
.value-card:hover p {
  color: #fff !important;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}
.value-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* =============================================================
   RESPONSIVIDADE BLINDADA (iOS & ANDROID)
   ============================================================= */

@media (max-width: 768px) {
  /* Container Flexível para Mobile */
  .slide-01-container,
  .slide-02-container.values-page {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100dvh !important;
    padding: 60px 20px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
  }

  /* Foto e Logo no Topo */
  .sidebar-identity,
  .slide-01-center {
    order: -1;
    min-width: 100% !important;
    padding-right: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    padding-bottom: 30px;
    margin-bottom: 20px;
  }

  .avatar-gradient-border {
    width: 200px !important;
    height: 200px !important;
  }

  /* Cards em Coluna */
  .values-content {
    padding-left: 0 !important;
    width: 100%;
  }

  .cards-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .value-card {
    width: 100%;
    border-left: 4px solid #0ea5e9;
    padding: 30px 20px !important;
  }

  .section-title {
    font-size: 2.2rem !important;
    text-align: center;
  }

  /* Footer Fixo no Fundo do Scroll */
  .slide-01-footer {
    position: relative !important;
    margin-top: 50px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-bottom: 20px;
  }
}
/* =============================================================
   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-02-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;
  }
}
