html {
  /* Trava o tema claro, ignorando a preferência do sistema/navegador */
  color-scheme: only light;
  background: #ffffff;
}

:root {
  color-scheme: only light;
  --accent: #2F9E41;
  --accent-dark: #257f34;
  --accent-soft: #eef8f0;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1c2820;
  --muted: #5c6b60;
  --border: #e6ebe7;
  --shadow: 0 8px 32px rgba(28, 40, 32, 0.07);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 520px;
  padding: 48px 40px 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg {
  width: 36px;
  height: 36px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

h1 {
  margin-bottom: 12px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
}

.status {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  text-align: left;
  display: grid;
  gap: 12px;
}

.status li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
}

.status .dot {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.status .dot svg {
  width: 12px;
  height: 12px;
}

.status .dot.loading {
  background: transparent;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

/* Bloco de redirecionamento (variação) */
.redirect {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--accent-soft);
}

.redirect[hidden] {
  display: none;
}

.redirect p {
  margin-bottom: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.dest {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.8125rem;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .card { padding: 36px 24px 28px; }
  h1 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
