/* Structure globale de la grille */
body{
  font-family: 'Inter', sans-serif;
}
.download-section{
  transition: background-color 0.3s ease-in-out;
  animation: fadeIn 0.8s ease-out;
}
/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.download-section h1 {
  margin-top: 250px; /* équivaut à 160px environ */
  margin-bottom: 50px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #004488; /* ou la couleur bleue principale du site */
}

.software-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 900px;
  margin: 10px auto 150px auto;
}

/* Chaque carte */
.software-card {
  display: flex;
  flex-direction: row;
  width: 35%; /* 2 per row */
  background-color: #fdfdfd; /* subtle off-white for contrast */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); /* slightly stronger shadow */
  padding: 0.2rem 0.6rem 0.2rem 0.6rem;
  box-sizing: border-box;
  align-items: center;
  border: 1px solid #e6e6e6; /* soft border for extra contrast */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.software-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


/* Image à gauche */
.software-card img.software-image {
  width: 100px;
  height: auto;
  margin-right: 1.7rem;
  flex-shrink: 0;
}

/* Partie droite : texte + bouton */


/* Titre */
.software-card h2 {
  font-size: 1.2rem;
  margin: 0;
  color:#004488;
}

/* Select version */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  padding: 1rem 0;
}

.actions select {
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #333;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}
.actions select:hover {
  border-color: #a0c4ff;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(160, 196, 255, 0.25);
}
/* Bouton de téléchargement */
.download-btn {
  padding: 0.6rem 0.8rem;
  background-color: #2a6de0;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: "Inter", sans-serif;
}
.download-btn:hover {
  background-color: #1c50b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 109, 224, 0.3);
}

/* Responsive mobile */
@media (max-width: 768px) {
  .download-section h1 {
    margin-top: 250px; /* équivaut à 160px environ */
    margin-bottom: 50px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #004488; /* ou la couleur bleue principale du site */
  }
  
  .software-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 275px;
    margin: 10px auto 150px auto;
  }
  
  /* Chaque carte */
  .software-card {
    display: flex;
    flex-direction: row;
    width: 100%; /* 2 per row */
    background-color: #fdfdfd; /* subtle off-white for contrast */
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); /* slightly stronger shadow */
    padding: 0.2rem 0.9rem 0.2rem 0.9rem;
    box-sizing: border-box;
    align-items: center;
    border: 1px solid #e6e6e6; /* soft border for extra contrast */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .software-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
  
  
  /* Image à gauche */
  .software-card img.software-image {
    width: 100px;
    height: auto;
    margin-right: 1.7rem;
    flex-shrink: 0;
  }
  /* Partie droite : texte + bouton */


/* Titre */
.software-card h2 {
  font-size: 1rem;
  margin: 0;
  color:#004488;
}

/* Select version */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  padding: 1rem 0;
}

.actions select {
  padding: 0.4rem 0.5rem;
  font-size: 0.9rem;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #333;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}
.actions select:hover {
  border-color: #a0c4ff;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(160, 196, 255, 0.25);
}
/* Bouton de téléchargement */
.download-btn {
  padding: 0.4rem 0.5rem;
  background-color: #2a6de0;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: "Inter", sans-serif;
}
.download-btn:hover {
  background-color: #1c50b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 109, 224, 0.3);
}

 
}
