/* Tela de abertura (index.html): aparece antes do JavaScript do site. */
#abertura {
  --cor: var(--corPrimaria, #0f172a);
  position: fixed; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  background: #f8fafc; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
#abertura .marca { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: abertura-surgir .5s ease-out both; }
#abertura img { height: 88px; max-width: 220px; object-fit: contain; }
#abertura img[src=''] { display: none; }
#abertura .nome { max-width: 320px; text-align: center; font-size: 14px; line-height: 20px; color: #475569; }
#abertura .barra { width: 160px; height: 4px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
#abertura .barra span { display: block; width: 40%; height: 100%; border-radius: 999px; background: var(--cor); animation: abertura-barra 1.1s ease-in-out infinite; }
@keyframes abertura-barra { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes abertura-surgir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #abertura * { animation-duration: 0s !important; } }
