/* === Styles généraux === */
body {
  margin: 0;
  padding: 0;
}

/* === Menu burger === */
.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: #1f2937; /* gris foncé */
  transition: all 0.3s ease;
}

#menuToggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menuToggle.active .burger-line:nth-child(2) {
  opacity: 0;
}
#menuToggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Menu mobile (collapsible) === */
.collapsible {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}
.collapsible.open {
  max-height: 500px; /* suffisamment grand pour tout contenir */
}

/* === Hero carousel (si Tailwind ne suffit pas) === */
.hero-carousel {
  position: relative;
  height: 50vh;
  overflow: hidden;
}
.hero-carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-carousel .slide.active {
  opacity: 1;
}
.dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
}

/* === Cartes discipline === */
.discipline-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.discipline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
