/* ================= CONTAINER PRINCIPAL ================= */
.slide-ia-v3-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza horizontalmente */
  justify-content: center; /* Centraliza verticalmente */
  padding: 40px 60px;
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #0a1128; /* Fundo do modelo */
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

/* EFEITOS DE FUNDO (MALHA E BRILHO DO SEU MODELO) */
.slide-ia-v3-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;
  z-index: 1;
}

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

.slide-ia-v3-container > * {
  z-index: 2;
  position: relative;
}

/* ================= ELEMENTOS DE TEXTO ================= */
.ia-header-v3 {
  text-align: center;
  margin-bottom: 30px;
}

.ia-badge-v3 {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.ia-title-v3 {
  font-size: 2.8rem;
  margin: 15px 0 5px;
  font-weight: 800;
}
.ia-title-v3 span {
  color: #0ea5e9;
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}
.ia-subtitle-v3 {
  color: #94a3b8;
  font-size: 1.1rem;
}

/* ================= WORKFLOW CENTRAL ================= */
.ia-workflow-v3 {
  width: 100%;
  max-width: 850px;
  margin-bottom: 30px;
}

.workflow-card-v3 {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.workflow-tag {
  color: #22c55e;
  font-size: 0.7rem;
  letter-spacing: 2px;
  font-weight: bold;
}

.workflow-view {
  background: #0f172a;
  border-radius: 12px;
  margin: 15px 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-view img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.workflow-footer-text {
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
}

/* ================= BENEFÍCIOS GRID ================= */
.ia-benefits-grid-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 1100px;
}

.b-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.b-card:hover {
  border-color: #0ea5e9;
  transform: translateY(-3px);
}
.b-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}
.b-card h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: #e2e8f0;
}
.b-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.economys-badge {
  margin-top: 30px;
  padding: 12px 25px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.2), transparent);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 50px;
  z-index: 2;
  font-weight: 600;
  color: #e2e8f0;

  /* Adições para conter a imagem */
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%; /* Evita que o badge encoste nas bordas da tela */
  margin-left: auto;
  margin-right: auto;
}

.economys-badge img {
  max-width: 100%; /* A imagem nunca será maior que o container */
  height: auto; /* Mantém a proporção sem achatar */
  max-height: 300px; /* Ajuste este valor conforme o tamanho desejado na tela */
  object-fit: contain;
  display: block;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 1024px) {
  .ia-benefits-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ia-title-v3 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .slide-ia-v3-container {
    height: auto;
    padding: 60px 20px;
    overflow-y: auto;
  }
  .ia-benefits-grid-v3 {
    grid-template-columns: 1fr;
  }
  .ia-workflow-v3 {
    max-width: 100%;
  }
  .ia-title-v3 {
    font-size: 1.8rem;
  }
}
/* =============================================================
   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-10-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;
  }
}

/* ================= CORREÇÃO LANDSCAPE (MODO DEITADO) ================= */
@media (max-height: 550px) and (orientation: landscape) {
  
  /* Seletor genérico para todos os seus containers de slide */
  .slide-ia-v3-container,
  .slide-01-container,
  .slide-02-container,
  .values-page {
    display: flex !important;
    flex-direction: column !important; /* No celular deitado, coluna é melhor para ler */
    height: auto !important; 
    min-height: 100dvh !important;
    padding: 20px !important;
    overflow-y: auto !important; /* Libera a rolagem vertical */
    overflow-x: hidden !important;
    justify-content: flex-start !important;
  }

  /* Diminui o título para não ocupar a tela toda */
  .ia-title-v3, .section-title {
    font-size: 1.5rem !important;
    margin-top: 10px !important;
  }

  /* Ajusta o workflow (imagem central) */
  .workflow-view img {
    max-height: 200px !important;
  }

  /* Grid de benefícios em 2 colunas no landscape para economizar espaço vertical */
  .ia-benefits-grid-v3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Esconde brilhos de fundo no landscape para melhorar a performance de scroll */
  .slide-ia-v3-container::before, 
  .slide-ia-v3-container::after {
    display: none !important;
  }

  /* Ajuste dos cards de valores para o modo deitado */
  .cards-wrapper {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .value-card {
    flex: 1 1 45% !important; /* Dois cards por linha */
    padding: 15px !important;
  }
}

@media (max-width: 992px) {
  .presentation-container {
    height: auto !important;
    overflow: visible !important;
  }
}