/* ✅ Image de fond non zoomée */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('ton-image.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -1;
}

/* ✅ Overlay pour lisibilité */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

/* ✅ Conteneur principal */
.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ✅ Bloc principal */
.main-block {
  border-radius: 8px;
  padding: 16px;
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 400px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.main-block h2 {
  margin: 0 0 10px;
  color: #ffffff;
  text-align: center;
  font-size: 1.4em;
}

/* ✅ Boutons */
.button {
  display: inline-block;
  background-color: #3b88e0;
  color: white;
  padding: 8px 16px;
  margin: 4px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
}

.button:hover {
  background-color: #29b989;
}

/* ✅ Sous-blocs */
.sub-block {
  margin-top: 10px;
}

.sub-block h3 {
  color: #f4d67d;
  text-align: center;
  font-size: 1.1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ✅ Blocs génériques */
.block {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

.block h2 {
  text-align: center;
  color: #333;
  margin: 0 0 10px;
  font-size: 1.2em;
}

.content p {
  margin-bottom: 8px;
  font-size: 0.9em;
}

/* ✅ Archives */
.archives,
.archives-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 10px;
}

.archives-block {
  background: rgba(245, 212, 171, 0.5);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
  flex: 1 1 280px;
  max-width: 400px;
}

.archives-block h3 {
  text-align: center;
  color: #333;
  margin: 0 0 10px;
}

/* ✅ Championnats */
.championships-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.championship-block {
  flex: 1 1 280px;
  max-width: 400px;
  background: rgba(245, 212, 171, 0.5);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

.championship-block h3 {
  text-align: center;
  color: #000;
  margin: 0 0 10px;
}

/* ✅ Accordéon */
.year-accordion {
  margin-bottom: 10px;
}

.year-header {
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}

.year-header:hover {
  background-color: #e9ecef;
}

.month-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  display: none;
}

.month-list.active {
  display: block;
}

.month-item {
  padding: 6px 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.85em;
}

.month-name {
  font-weight: 500;
  margin-bottom: 4px;
}

.result-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.result-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8em;
}

.result-btn:hover {
  background-color: #0056b3;
}

.arrow {
  transition: transform 0.3s;
}

.arrow.open {
  transform: rotate(180deg);
}

