/* ================= CONTAINER COM FUNDO DO MODELO ================= */
.slide-devfacil-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #0a1128; /* Fundo escuro padrão */
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

/* Efeito de Malha (Grid) */
.slide-devfacil-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;
  pointer-events: none;
}

/* Brilho Radial Centralizado */
.slide-devfacil-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.12) 0%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
}

.dev-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Duas colunas equilibradas */
  gap: 60px;
  width: 100%;
  max-width: 1300px;
  z-index: 2;
}

/* ================= COLUNA INFO ================= */
.dev-badge {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.dev-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 20px 0 10px;
  line-height: 1.1;
}
.dev-main-title span {
  color: #0ea5e9;
  text-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
}
.dev-tagline {
  color: #94a3b8;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.service-item {
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 12px;
  border-left: 5px solid #0ea5e9;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s ease;
}

.service-item:hover {
  background: rgba(14, 165, 233, 0.08);
  transform: translateX(10px);
}

/* ================= COLUNA METODOLOGIA ================= */
.methodology-card-v2 {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(15px);
}

.method-label {
  color: #0ea5e9;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 30px;
}

.method-step {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: center;
}

.step-num {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.step-text strong {
  color: #e2e8f0;
  font-size: 1.1rem;
}
.step-text p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

/* ================= RESPONSIVIDADE ================= */
/* ================= 1. BASE (Ajustada para iOS/Safari) ================= */
.slide-devfacil-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  height: 100vh;
  height: 100dvh; /* Altura dinâmica para evitar quebras no 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 */
}

/* Efeito de Malha e Brilho (Padrão Cachina) */
.slide-devfacil-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;
  pointer-events: none;
}

.slide-devfacil-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.12) 0%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
}

.dev-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1300px;
  z-index: 2;
}

/* ... (Mantenha seus estilos de .dev-info-section e .methodology-card-v2 aqui) ... */

/* ================= 2. RESPONSIVIDADE BLINDADA (MOBILE) ================= */
@media (max-width: 768px) {
  .slide-devfacil-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100dvh; /* Garante preenchimento total da tela no iOS */
    padding: 50px 20px;
    gap: 35px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Scroll suave no iPhone */
    justify-content: flex-start;
    align-items: center;
  }

  /* Desativa efeitos pesados no mobile para melhor performance */
  .slide-devfacil-container::before,
  .slide-devfacil-container::after {
    display: none;
  }

  .dev-content-wrapper {
    display: flex;
    flex-direction: column; /* Empilha as colunas */
    gap: 40px;
    width: 100%;
    text-align: center;
  }

  /* Ajuste de Títulos para Mobile */
  .dev-main-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .dev-tagline {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  /* Ajuste da Lista de Serviços */
  .service-item {
    justify-content: center;
    text-align: left;
    font-size: 0.9rem;
    padding: 15px;
  }

  /* Ajuste do Card de Metodologia */
  .methodology-card-v2 {
    padding: 25px 15px;
    width: 100%;
    backdrop-filter: none; /* Melhora performance em celulares antigos */
    background: rgba(15, 23, 42, 0.9);
  }

  .method-step {
    justify-content: flex-start;
    text-align: left;
  }

  .step-num {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Rodapé Mobile */
  .slide-01-footer {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 40px;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    width: 100%;
  }
}
/* =============================================================
   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-11-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;
  }
}