:root {
  --cor-fundo: #00a83c; /* Verde agradável */
  --cor-spinner-top: #ffffff; /* Parte visível do spinner */
  --cor-spinner-back: rgba(255, 255, 255, 0.12); /* Quase transparente */
  --cor-texto: #ffffff;
  --cor-nome: rgb(255, 255, 255);
}

body {
  background-color: var(--cor-fundo);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.logo-container {
  position: relative;
  width: 240px; /* Aumentado */
  height: 240px; /* Aumentado */
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image {
  width: 180px; /* Aumentado */
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.25));
}

.spinner {
  border: 3px solid var(--cor-spinner-back);
  border-top: 3px solid var(--cor-spinner-top);
  border-radius: 50%;
  width: 220px; /* Aumentado */
  height: 220px; /* Aumentado */
  animation: spin 1.8s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.site-name {
  font-size: 2.8em;
  color: var(--cor-nome);
  margin: 15px 0 20px;
  letter-spacing: 1px;
  text-align: center;
}

.slogan {
  font-size: 1em;
  line-height: 1.5;
  font-weight: 400;
  color: var(--cor-texto);
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.9;
  text-align: center;
}

/* Mantém o slogan fixado ao fundo apenas em telas menores */
@media (max-width: 768px) {
  .slogan {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: 90%;
    max-width: 500px;
    font-size: 0.9em;
  }
}
