/* === RESET & BASE === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #f9fafc;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* === TITRES === */
h2 {
  text-align: center;
  font-size: 2rem;
  color: #1e90ff;
  font-weight: 700;
  margin-bottom: 10px;
}

h3 {
  text-align: center;
  font-size: 1.3rem;
  color: #444;
  margin: 25px 0 10px;
}

h4 {
  color: #1e90ff;
  font-weight: 600;
  margin-bottom: 8px;
}

/* === DIVIDER === */
.divider {
  width: 60px;
  height: 4px;
  background: #1e90ff;
  margin: 10px auto 25px;
  border-radius: 4px;
}

/* === SPECIAL CARDS === */
.special-programs {
  margin: 40px 0;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.special-card {
  background: #f5f9ff;
  border-left: 5px solid #1e90ff;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.special-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.special-card p {
  margin-bottom: 6px;
}

/* === TABLEAU DU PROGRAMME === */
.programme-table-container {
  margin-top: 40px;
  overflow-x: auto; /* permet le scroll horizontal si nécessaire */
}

.programme-table {
  width: 100%;
  min-width: 600px; /* optionnel : assure que le tableau ne se rétrécit pas trop */
  border-collapse: collapse;
  margin-bottom: 30px;
}

.programme-table th,
.programme-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap; /* empêche le texte de se casser et force le scroll */
}

.programme-table th {
  background: #1e90ff;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.programme-table tr:nth-child(even) {
  background: #f8f9fc;
}

.programme-table tr:hover {
  background: #e8f1ff;
}

/* === TEXTE DESCRIPTIF === */
.flyer-text {
  background: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  font-size: 1rem;
  text-align: center;
  line-height: 1.8;
}


/* === RESPONSIVE === */
@media (max-width: 768px) {
  h2 {
    font-size: 1.6rem;
  }

  .container {
    padding: 25px 15px;
  }

  .programme-table th,
  .programme-table td {
    padding: 8px;
    font-size: 0.9rem;
  }

  .flyer-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .special-grid { grid-template-columns: 1fr; }
  .programme-table-container {
    overflow-x: auto; /* assure le scroll horizontal sur très petits écrans */
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .programme-table th,
  .programme-table td {
    font-size: 0.85rem;
  }
}





/* === STYLE DU BOUTON “RETOUR” === */
.back-btn {
  display: inline-block;
  background: #1e90ff;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  min-width: 220px;
}

.back-btn:hover {
  background: #187bcd;
  transform: translateY(-2px);
}

/* === RESPONSIVE pour tous les boutons === */
@media (max-width: 600px) {
  .btn-blue,
  .back-btn {
    width: 90%;
    max-width: 320px;
  }
}

/* ==============================
   Styles généraux pour les boutons
   ============================== */
   .btn-blue {
    display: inline-block;
    margin: 10px 5px;
  }
  
  .btn-blue a {
    display: inline-block;
    background-color: #007BFF; /* bleu */
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap; /* évite que le texte se casse en plusieurs lignes */
  }
  
  .btn-blue a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
  }
  
  /* ==============================
     Responsive
     ============================== */
  
  /* Tablettes et mobiles (max-width: 768px) */
  @media (max-width: 768px) {
    .btn-blue {
      width: 100%; /* bouton prend toute la largeur */
      margin: 8px 0;
    }
  
    .btn-blue a {
      padding: 14px 0; /* plus confortable pour le tactile */
      font-size: 16px;
    }
  }
  
  /* Mobiles petits écrans (max-width: 480px) */
  @media (max-width: 480px) {
    .btn-blue a {
      font-size: 14px;
      padding: 12px 0;
    }
  }
  