* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Canvas ocupa toda a janela */
#cena {
  display: block;
  width: 100vw;
  height: 100vh;
}

/* Tela inicial */
#tela-inicial {
  position: fixed;
  inset: 0;
  background: #0063A3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 10;
}

#tela-inicial.oculto {
  display: none;
}

.logo {
  width: 260px;
  max-width: 60vw;
  height: auto;
}

/* Botão padrão */
.btn-arquivo {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0063A3;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-arquivo:hover {
  background: #eef4f8;
}

/* Barra de ações (centro inferior) */
.barra-inferior {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.barra-inferior .btn-arquivo {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Estado ativo (ex.: Raio X ligado) */
.btn-arquivo.ativo {
  background: #0063A3;
  color: #ffffff;
}

.oculto {
  display: none;
}

.barra-inferior.oculto {
  display: none;
}
