/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo da página inicial */
body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background-image: url('../IMGS/img1.png'); /* imagem de fundo render */
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Overlay translúcido suave */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Container central */
.container {
    position: relative; /* acima do overlay */
    text-align: center;
    padding: 30px 50px;
    opacity: 0; /* começa invisível */
    animation: fadeInUp 1.5s ease forwards; /* animação aplicada */
}

/* Título */
.container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #fdfdfd;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.3s; /* aparece depois do container */
}

/* Texto */
.container p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #f0f0f0;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.6s; /* aparece depois do título */
}

/* Botão minimalista */
.container a {
    display: inline-block;
    padding: 10px 24px;
    border: 1.5px solid #f5f5dc;
    border-radius: 4px;
    color: #fdfdfd;
    font-weight: 400;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.9s; /* aparece por último */
    background: rgba(0, 0, 0, 0.5);
}

.container a:hover {
    background: #f5f5dc;
    color: #333;
    transform: scale(1.05);
}

/* Keyframes da animação */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* começa levemente abaixo */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* posição normal */
    }
}

.btn-voltar {
  position: absolute;   /* fixa em relação ao body */
  top: 20px;            /* distância do topo */
  left: 20px;           /* distância da esquerda */
  padding: 8px 14px;
  background: transparent;
  border: 1px solid #f5f5dc;
  border-radius: 6px;
  color: #f5f5dc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
}

.btn-voltar:hover {
  background: #f5f5dc;
  color: #333;
}
