/* --------- Reset e variáveis --------- */

* { box-sizing: border-box; }
  html, body { height: 100%; }
  :root {
  --bg: #ffffff; /* Fundo branco */
  --card: #f9fafb;
  --text: #1e293b;
  --muted: #64748b;
  --brand: #0ea5e9; /* azul claro */
  --brand-strong: #0284c7;
  --radius: 20px;
  --shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

/* --------- Corpo da página --------- */
body {
margin: 0;
font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
color: var(--text);
background-color: var(--bg);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}

/* --------- Header / Logo --------- */
.header { display: grid; place-items: center; padding: 24px; }
.logo { width: min(260px, 50vw); height: auto; }

/* --------- Container principal --------- */
.shell { display: flex; justify-content: center; width: 100%; padding: 24px; }
.card {
width: min(100%, 980px);
background: var(--card);
border: 1px solid #e2e8f0;
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: clamp(20px, 3vw, 32px);
}

h1 { font-size: clamp(1.4rem, 2.3vw, 2rem); margin: 0 0 6px; }
.subtitle { color: var(--muted); margin: 0 0 18px; }

/* --------- Alerta de erro --------- */
.alert {
background: #fee2e2;
border: 1px solid #fecaca;
color: #7f1d1d;
padding: 12px 14px;
border-radius: 12px;
margin: 10px 0 18px;
}

/* --------- Grid de atalhos --------- */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 14px;
margin-top: 6px;
}

.tile {
display: grid;
align-content: center;
gap: 4px;
padding: 18px 16px;
background: #f1f5f9;
border: 1px solid #e2e8f0;
border-radius: 16px;
text-decoration: none;
color: var(--text);
transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.tile:hover {
transform: translateY(-2px);
box-shadow: 0 10px 22px rgba(0,0,0,0.1);
border-color: var(--brand);
background: #e0f2fe;
}
.tile:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.tile:focus { outline: 3px solid var(--brand); outline-offset: 2px; }

.tile-title { font-weight: 700; }
.tile-desc  { font-size: .92rem; color: var(--muted); }

/* --------- Footer --------- */
.footer { margin-top: 18px; color: var(--muted); display: flex; justify-content: center; }

/* --------- Responsividade --------- */
@media (max-width: 480px) {
.logo { width: min(220px, 70vw); }
.tile { padding: 16px 14px; }
}
