/* =============================================
   INDEX — TEMA CLARO
   ============================================= */
:root {
  --bg-base:         #f0f4fb;
  --bg-surface:      #ffffff;
  --border:          #e2e8f0;
  --text-primary:    #0f172a;
  --text-secondary:  #475569;
  --accent:          #1a56db;
  --accent-light:    #3b72f0;
  --accent-glow:     rgba(26, 86, 219, 0.18);
  --btn-ghost-border: #d1dae8;
  --btn-ghost-text:  #374151;
  --btn-ghost-hover: #f1f5f9;
}

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

html, body { height: 100%; }

body {
  min-height: 100vh;
  background: var(--bg-base);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(26,86,219,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* botão de tema — canto superior direito, destaque visível */
.theme-toggle-button {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  z-index: 1000;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.theme-toggle-button:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: scale(1.06);
}

/* card central */
.container {
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 40px 36px 36px;
  border-radius: 20px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 12px 40px rgba(0,0,0,0.08);
  animation: entrar 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) both;
  transition: box-shadow 0.3s ease;
}

.container:hover {
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 20px 56px rgba(0,0,0,0.12);
}

@keyframes entrar {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.logo {
  width: 156px;
  margin: 0 auto 2px;
  display: block;
  border-radius: 8px;
}

h1 {
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 700;
  margin: 18px 0 10px;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 4px;
}

.container::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 2px;
  margin: 18px auto 0;
}

.botoes {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.botao-maps {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  padding: 11px 26px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.botao-maps:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.botao-maps:active { transform: translateY(0); box-shadow: none; }

.botao-ajuda,
.botoes button {
  background: transparent;
  color: var(--btn-ghost-text);
  border: 1px solid var(--btn-ghost-border);
  padding: 10px 22px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.botao-ajuda:hover,
.botoes button:hover {
  background: var(--btn-ghost-hover);
  border-color: #b4c0d8;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .container { padding: 32px 22px 28px; border-radius: 16px; }
  .botoes { flex-direction: column; }
  .botao-maps, .botao-ajuda, .botoes button { width: 100%; justify-content: center; }
  h1 { font-size: 18px; }
}
