/* Estilos gerais e Fundo */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh; /* Garante altura mínima, mas permite scroll se necessário */
  background-image: url('https://nexusgroupbrasil.com.br/img/home1.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column; /* Organiza os containers em coluna */
  justify-content: center; /* Centraliza o conteúdo principal */
  align-items: center;
  font-family: Arial, sans-serif;
  color: white; /* Define a cor padrão do texto como branco */
  text-align: center; /* Centraliza o texto globalmente */
  padding: 20px 20px 0 20px; /* Adiciona padding geral (removido o inferior para o footer colar) */
  box-sizing: border-box; /* Garante que padding não aumente o tamanho total */
}

/* Container para Logo e Tagline */
.content-container {
  margin-bottom: 40px; /* Espaço entre o conteúdo e os botões */
  max-width: 90%; /* Evita que fique muito largo em telas grandes */
  flex-grow: 1; /* Permite que este container cresça para empurrar o footer */
  display: flex; /* Para centralizar verticalmente o conteúdo interno */
  flex-direction: column;
  justify-content: center;
}

/* Estilo do Logo */
.logo {
  max-width: 300px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

/* Estilo da Tagline */
.tagline {
  font-size: 1.3em;
  font-weight: normal;
  margin: 0;
  line-height: 1.5;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

/* Container para os botões */
.button-container {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin-bottom: 80px; /* <<< ESPAÇO AUMENTADO AQUI */
}

/* Estilo dos botões Nexus */
.nexus-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #2a7ae2;
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  flex-grow: 1;
  min-width: 200px;
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
}

/* Atraso para o primeiro botão */
.button-container .nexus-button:nth-child(1) {
    animation-delay: 0.6s;
}

/* Atraso para o segundo botão */
.button-container .nexus-button:nth-child(2) {
    animation-delay: 0.8s;
}

/* Efeito ao passar o mouse sobre o botão */
.nexus-button:hover {
  background-color: #1e5ba4;
  transform: translateY(-2px);
}

/* Efeito ao clicar no botão */
.nexus-button:active {
  transform: translateY(1px);
}

/* --- Animações de Entrada (Keyframes) --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Estilos do Rodapé (Destacado - Atualizado) --- */
footer {
  width: 100%;
  margin-top: auto; /* Empurra o footer para o final */
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
  box-sizing: border-box;
  position: relative;
  left: 0;
  bottom: 0;
  animation: fadeInUp 0.8s ease-out 1.1s forwards;
  opacity: 0;
}

footer p {
    margin: 0;
    font-size: 0.7em;
    color: #FFFFFF;
    text-align: center;
}