/* --- reset & base --- */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f8ff;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: background-color 0.3s ease;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- cartes cliquables (ancres) --- */
.site-button {
  display: inline-block;                /* ancre ≠ bouton */
  text-decoration: none;                /* pas de soulignement */
  color: inherit;                       /* garder la couleur de texte */
  background-color: transparent;
  border: none;
  padding: 30px;
  cursor: pointer;
  border-radius: 10px;
  width: 250px;
  height: 250px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.site-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* Label caché par défaut (accessibilité OK).
   Si tu veux l’afficher : remplace display:none par
   display:block; position:static; margin-top:10px; font-weight:600; */
.site-button .label {
  display: none;
}

/* hover */
.site-button:hover {
  transform: scale(1.1);
}

/* focus clavier (accessibilité) */
.site-button:focus-visible {
  outline: 3px solid #005bbb;
  outline-offset: 4px;
  border-radius: 12px;
}

/* état désactivé (si entrée manquante côté PHP) */
.site-button.disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: saturate(0.2);
}

/* couleurs au survol selon le projet */
.site-button#button-captainqse:hover { background-color: #1857A5; }
.site-button#button-bam:hover        { background-color: #424242; }
.site-button#button-iam:hover        { background-color: #585e6b; }

/* responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 30px;
  }
  .site-button {
    width: 200px;
    height: 200px;
  }
}