/* ==========================================================================
   PAGE D'ACCUEIL — éléments propres à l'accueil d'origine
   La base commune (sections, grille, typographie, en-tête, pied de page)
   est dans style.css ; les positions des blocs dans accueil-grille.css.
   ========================================================================== */

.page-accueil { background: var(--black); }

/* vidéo plein écran */
.section--hero { min-height: 100vh; }

/* ---------- Têtes de l'équipe (dessins animés au survol) ---------- */
.om-head { position: relative; display: block; width: 100%; height: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.om-head img { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: auto; }
.om-head img.anim { z-index: 2; opacity: 0; }
.om-head.is-active img.anim { opacity: 1; }
.om-head:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }

/* ==========================================================================
   CALENDRIER « PROGRAMME » (bloc calendrier d'origine)
   ========================================================================== */
.sqs-block-calendar { justify-content: flex-start; }
.om-calendar { display: flex; flex-direction: column; height: 100%; width: 100%; color: inherit; }
.om-cal__head { display: flex; align-items: center; justify-content: space-between; padding: 0 0 18px; }
.om-cal__title { font-weight: 700; font-size: 1.25rem; text-transform: capitalize; }
.om-cal__nav { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(0, 0, 0, .25); background: none; color: inherit; cursor: pointer; }
.om-cal__nav:hover { border-color: currentColor; }
.om-cal__nav svg { width: 18px; height: 18px; }
.om-cal__grid { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: auto repeat(6, 1fr); border-top: 1px solid rgba(0, 0, 0, .15); border-left: 1px solid rgba(0, 0, 0, .15); }
.om-cal__dow { padding: 10px 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-right: 1px solid rgba(0, 0, 0, .15); border-bottom: 1px solid rgba(0, 0, 0, .15); }
.om-cal__day { position: relative; padding: 8px; min-height: 64px; border-right: 1px solid rgba(0, 0, 0, .15); border-bottom: 1px solid rgba(0, 0, 0, .15); font-size: .95rem; font-weight: 300; }
.om-cal__day.is-out { color: rgba(0, 0, 0, .3); }
.om-cal__day.is-today .om-cal__n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -4px; border-radius: 50%; background: #000; color: #fafafa; font-weight: 700; }
.om-cal__event { display: block; margin-top: 6px; padding: 3px 6px; background: #000; color: #fafafa; font-size: .78rem; font-weight: 700; line-height: 1.25; }
.om-cal__event:hover { opacity: .8; }
@media (max-width: 767px) {
  .om-cal__day { min-height: 48px; padding: 5px; font-size: .85rem; }
  .om-cal__event { font-size: 0; padding: 0; width: 8px; height: 8px; border-radius: 50%; }
  .om-cal__dow { padding: 8px 4px; font-size: .68rem; }
}
