/* ========================================================================== */
/* ESTILOS EXCLUSIVOS PARA A PÁGINA DE ENTRADA (INDEX.HTML)                  */
/* ========================================================================== */

/* O fundo que cobre a tela inteira */
#welcome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 23, 52, 0.97);
  background-image: url('../img/ImgPagInicial.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

/* A caixa de conteúdo no centro (Mobile-first) */
.modal-content {
  display: flex;
  flex-direction: column;
  /* Empilhado em telas pequenas (padrão) */
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  border: 1px solid rgba(10, 230, 246, 0.8);
  box-shadow: 0 0 25px rgba(10, 230, 246, 0.5);

  /* CORREÇÃO DE RESPONSIVIDADE:
    'width: 95%' garante que ele use 95% da tela em celulares.
    'max-width: 600px' limita o tamanho em telas maiores.
  */
  width: 95%;
  max-width: 600px;
  color: white;
}

/* Estilo para a logo dentro do modal */
.modal-logo {
  width: 200px;
  /* Tamanho padrão (mobile) */
  height: auto;
  border: 10px double rgba(10, 230, 246, 0.4);
  border-radius: 50%;
}

/* Agrupador para o texto do modal */
.modal-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

#modal-title {
  font-size: 1.8rem;
  /* CORREÇÃO DE DESIGN: Trocado 'blue' por 'white' para consistência */
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(253, 253, 253, 0.342);
}

.modal-subtitle {
  font-size: 1.2rem;
  text-indent: 0;
  /* Remove o recuo do parágrafo padrão */
  max-width: 100%;
  opacity: 0.9;
  text-shadow: 1px 1px 3px rgba(10, 230, 246, 0.7);
  transition: transform 0.3s ease;
}

.modal-subtitle:hover {
  transform: scale(1.05);
}

/* Estilo para o botão "Iniciar Oficina" */
#start-workshop-btn {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  border: 2px solid #0ae6f6;
  background-color: transparent;
  color: #0ae6f6;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

#start-workshop-btn:hover {
  background-color: #0ae6f6;
  color: #0a1734;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(10, 230, 246, 0.5);
}


/* CORREÇÃO DE ERRO: 
  Removido o bloco '@media (max-width: 767px)' que estava quebrado
  e continha erros de lógica de responsividade.
*/


/* Media Query para o modal em telas maiores (Tablets e Desktops) */
@media (min-width: 768px) {
  .modal-content {
    flex-direction: row;
    /* Lado a lado em telas maiores */
    /* CORREÇÃO DE RESPONSIVIDADE: Trocado 'width' por 'max-width' */
    max-width: 900px;
    padding: 2.5rem;
  }

  .modal-logo {
    width: 250px;
  }

  .modal-text {
    align-items: center;
  }

  #modal-title {
    font-size: 2.5rem;
  }

  .modal-subtitle {
    font-size: 1.5rem;
  }
}