/* ================= 1. BASE & LAYOUT (DESKTOP) ================= */
.slide-01-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 60px;
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #0a1128;
  color: #ffffff;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  overflow: hidden;
}

/* Efeito de Malha (Grid) no fundo */
.slide-01-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;
}

/* Brilho Radial Centralizado */
.slide-01-container::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;
}

.slide-01-center .title span {
  color: #0ea5e9;
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}
.slide-01-center .title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #e2e8f0;
  margin-top: 70px;
  margin-bottom: 40px;
  text-align: center;
}
.slide-01-center .subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 15px;
}

/* ================= 2. COLUNA ESQUERDA ================= */
.slide-01-left {
  z-index: 2;
}

.slide-01-left .title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #e2e8f0;
  margin-bottom: 15px;
}

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

.slide-01-left .subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
}

.slide-01-left .experience-box {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slide-01-left .year {
  font-size: 15rem;
  font-weight: 800;
}

/* ================= 3. COLUNA CENTRAL (FOTO) ================= */
.slide-01-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.avatar-gradient-border {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1, #0a1128);
  box-shadow:
    0 0 35px rgba(99, 102, 241, 0.3),
    0 0 80px rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.avatar-gradient-border img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ================= 4. COLUNA DIREITA (LOGO + FRASE) ================= */
.slide-01-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  z-index: 2;
}

.company-logo {
  width: 320px;
  max-width: 100%;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
  animation: fadeUp 1s ease;
}

.slide-01-right .quote-box {
  position: relative;
  padding: 30px;
  border-radius: 15px;
  overflow: hidden;
  border-left: 3px solid #0ea5e9;
  background-color: rgba(10, 17, 40, 0.6);
  width: 100%;
  max-width: 420px;
}

/* Imagem de Fundo da Frase */
.quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Ajuste para não brigar com o texto */
}

.slide-01-right .quote-box p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e2e8f0;
  font-style: italic;
  margin: 0;
}

/* ================= 5. RODAPÉ & ASSINATURA ================= */
.slide-01-footer {
  position: absolute;
  bottom: 25px;
  left: 60px;
  right: 60px;
  display: flex;
  justify-content: space-between;
  color: #475569;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

/*vai para todos os slides individuais para celular*/

/* ================= 6. RESPONSIVIDADE (MOBILE) ================= */
@media (max-width: 768px) {
  .slide-01-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 60px 20px;
    gap: 40px;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: center;
  }

  /* Desativa brilhos pesados no mobile para fluidez */
  .slide-01-container::before,
  .slide-01-container::after {
    display: none;
  }

  .slide-01-left {
    text-align: center;
  }
  .slide-01-left .title {
    font-size: 2.2rem;
  }
  .slide-01-left .experience-box {
    justify-content: center;
  }

  .slide-01-center {
    order: -1;
  } /* Foto no topo no celular */
  .avatar-gradient-border {
    width: 200px;
    height: 200px;
  }

  .slide-01-right {
    align-items: center;
    width: 100%;
  }

  .company-logo {
    width: 250px;
    margin-bottom: 0;
  }

  .slide-01-right .quote-box {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

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

/* ================= 1. BASE (Ajustada para iOS) ================= */
.slide-01-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 60px;
  height: 100vh;
  height: 100dvh; /* Altura dinâmica para Safari Mobile */
  width: 100vw;
  position: relative;
  background-color: #0a1128;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased; /* Suaviza fontes no iPhone */
}

/* ================= 6. RESPONSIVIDADE (Blindada para Safari) ================= */
@media (max-width: 768px) {
  .slide-01-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
    padding: 50px 20px;
    gap: 35px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Scroll suave no iPhone */
    justify-content: flex-start;
    align-items: center;
  }

  .avatar-gradient-border {
    width: 200px;
    height: 200px;
    flex-shrink: 0; /* Impede que o Safari "esmague" a foto */
  }

  .slide-01-right .quote-box {
    width: 95%; /* Evita colagem nas bordas laterais */
    max-width: 100%;
  }

  .slide-01-footer {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 30px;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
  }
}
/* ================= 7. RESPONSIVIDADE (MODO HORIZONTAL / LANDSCAPE) ================= */
@media (max-height: 500px) and (orientation: landscape) {
  .slide-01-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas para aproveitar a largura */
    grid-template-rows: auto auto;
    height: auto;
    min-height: 100dvh;
    padding: 30px;
    gap: 20px;
    overflow-y: auto;
    align-items: start;
  }

  /* Ajusta o Avatar para não ocupar a tela toda */
  .slide-01-center {
    grid-column: 1;
    grid-row: 1;
  }

  .avatar-gradient-border {
    width: 140px;
    height: 140px;
  }

  /* Ajusta o Título e Texto ao lado da foto */
  .slide-01-left {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .slide-01-left .title {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }

  .slide-01-left .experience-box {
    margin-top: 15px;
  }

  .slide-01-left .year {
    font-size: 4rem; /* Reduz drasticamente o número gigante */
  }

  /* Logo e Quote em baixo ou na lateral */
  .slide-01-right {
    grid-column: 1 / span 2;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: rgba(10, 17, 40, 0.4);
    padding: 15px;
    border-radius: 12px;
  }

  .company-logo {
    width: 150px;
  }

  .slide-01-right .quote-box {
    padding: 15px;
    max-width: 100%;
  }

  .slide-01-right .quote-box p {
    font-size: 0.9rem;
  }

  /* Rodapé fixo no fluxo */
  .slide-01-footer {
    grid-column: 1 / span 2;
    position: relative;
    margin-top: 20px;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.7rem;
  }
}
/* =============================================================
   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-01-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;
  }
}