/* Reset + style de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
    background: #f8f8f8;
    color: #333;
    padding: 20px;
    text-align: center;
  }
  
  header {
    margin-bottom: 30px;
  }
  
  header h1 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  header p {
    color: #666;
  }
  
  /* Grille responsive pour les cartes */
  .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .card img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
  }
  
  .card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .card a {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
  }
  
  .card a:hover {
    background: #0056b3;
  }
  
  .card:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  }
  