/* =============================================
   index.css - Styles de la page d'accueil
   ============================================= */

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

p {
  color: #666;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #2c3e50;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.card span { font-size: 2rem; display: block; margin-bottom: 10px; }
.card h2   { font-size: 1rem; margin: 0 0 6px; border: none; }
.card small { color: #999; font-size: 0.8rem; }
