/* ==========================================================================
   PROGRAMME — Style premium modernisé (2026)
   S’aligne avec style.css (variables, couleurs, focus, responsive)
   ========================================================================== */

/* ===== HERO ===== */
.hero-programme {
  text-align: center;
  padding-top: 40px;
}
.section-subtitle {
  margin-top: 8px;
  font-size: 18px;
  color: var(--ink-dim, #444);
  opacity: .9;
}

/* ===== SOMMAIRE ===== */
.programme-toc {
  margin-top: 40px;
  padding: 24px;
  background: var(--white, #fff);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.toc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 14px;
}

.programme-toc ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0; padding: 0;
}

.programme-toc li a {
  color: var(--rose);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.programme-toc li a:hover,
.programme-toc li a:focus-visible {
  color: var(--violet);
  text-decoration: underline;
}

/* ===== SECTIONS ===== */
.programme-section {
  margin-top: 60px;
}
.programme-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--violet);
  margin-bottom: 24px;
  scroll-margin-top: 90px; /* pour ancre sous header sticky */
}

/* ===== BLOCS ===== */
.p-block {
  background: var(--white, #fff);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  margin-bottom: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.p-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.10);
}

.p-block h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 14px;
}

/* Listes */
.p-block ul {
  margin-left: 18px;
  line-height: 1.6;
  color: var(--ink-dim, #444);
}
.p-block li { margin-bottom: 6px; }

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .programme-toc {
    padding: 20px;
  }
}

@media (max-width: 720px) {
  .programme-toc {
    padding: 18px;
  }
  .p-block {
    padding: 18px;
  }
}

/* ===== ACCESSIBILITÉ / MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .p-block,
  .programme-toc li a {
    transition: none !important;
  }
}