@charset "UTF-8";
/* ================================================
   MODULE AGENDA — CSS
   À ajouter à la fin de public/assets/css/app.css
   ================================================ */
/* ── Hero vedette ───────────────────────────────── */
.fm-agenda-hero {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 3rem 0;
  border-bottom: 2px solid var(--fm-gold);
}

.fm-agenda-hero-simple {
  background: var(--fm-black);
  padding: 3rem 0;
  border-bottom: 2px solid var(--fm-gold);
}

.fm-agenda-hero-titre {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.fm-agenda-hero-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.fm-event-type-badge {
  display: inline-block;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Calendrier ─────────────────────────────────── */
.fm-calendrier {
  background: var(--fm-white);
  border-radius: var(--fm-radius-lg);
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.fm-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.fm-cal-titre {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fm-black);
}

.fm-cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fm-gray-light);
  color: var(--fm-black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 1rem;
}

.fm-cal-nav:hover {
  background: var(--fm-gold);
  color: var(--fm-black);
}

.fm-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.fm-cal-week-labels {
  margin-bottom: 4px;
}

.fm-cal-week-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fm-gray-dark);
  text-transform: uppercase;
  padding: 4px 0;
}

.fm-cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--fm-radius);
  font-size: 0.875rem;
  color: var(--fm-black);
  position: relative;
  cursor: default;
  transition: background 0.15s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.fm-cal-day-empty {
  background: transparent;
}

.fm-cal-day-today {
  background: var(--fm-gray-light);
  font-weight: 700;
}

.fm-cal-day-has-event {
  cursor: pointer;
  background: rgba(212, 161, 30, 0.08);
  border: 1px solid rgba(212, 161, 30, 0.3);
}

.fm-cal-day-has-event:hover {
  background: rgba(212, 161, 30, 0.2);
}

.fm-cal-day-active {
  background: var(--fm-gold) !important;
  color: var(--fm-black) !important;
  font-weight: 700;
}

.fm-cal-day-num {
  line-height: 1;
}

.fm-cal-day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
}

.fm-cal-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0.75rem;
  border-top: 1px solid var(--fm-gray-light);
}

.fm-cal-legende-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--fm-gray-dark);
}

.fm-cal-legende-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Panneau détail date ────────────────────────── */
.fm-event-detail-panel {
  background: var(--fm-white);
  border-radius: var(--fm-radius-lg);
  min-height: 340px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.fm-event-detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  color: var(--fm-gray-mid);
  text-align: center;
  padding: 2rem;
}

.fm-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--fm-gray-light);
}

.fm-detail-date-titre {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.fm-detail-count {
  font-size: 0.8rem;
  color: var(--fm-gray-dark);
  background: var(--fm-gray-light);
  padding: 2px 10px;
  border-radius: 99px;
}

.fm-detail-cards {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
}

.fm-detail-event-card {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: var(--fm-black);
  background: var(--fm-gray-light);
  border-radius: var(--fm-radius);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fm-detail-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--fm-black);
}

.fm-detail-event-img {
  width: 100px;
  height: 90px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.fm-detail-event-img-placeholder {
  width: 100px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fm-detail-event-body {
  padding: 10px 12px 10px 0;
  flex: 1;
  min-width: 0;
}

.fm-detail-event-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fm-detail-event-titre {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 4px 0;
  line-height: 1.3;
}

.fm-detail-event-meta {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--fm-gray-dark);
  flex-wrap: wrap;
}

.fm-detail-event-desc {
  font-size: 0.78rem;
  color: var(--fm-gray-dark);
  margin: 6px 0 4px;
  line-height: 1.5;
}

.fm-detail-event-link {
  font-size: 0.75rem;
  color: var(--fm-gold);
  font-weight: 600;
}

/* ── Filtres ────────────────────────────────────── */
.fm-filter-btn {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--fm-gray-mid);
  color: var(--fm-gray-dark);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
}

.fm-filter-btn:hover {
  border-color: var(--fm-gold);
  color: var(--fm-gold);
}

.fm-filter-btn.active {
  background: var(--fm-gold);
  border-color: var(--fm-gold);
  color: var(--fm-black);
  font-weight: 700;
}

/* ── Carte événement ────────────────────────────── */
.fm-event-card {
  background: var(--fm-white);
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  border: 1px solid var(--fm-gray-light);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.fm-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.fm-event-card-past {
  opacity: 0.7;
}

.fm-event-card-img-wrap {
  position: relative;
}

.fm-event-card-img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.fm-event-card-type {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fm-event-card-past-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 99px;
}

.fm-event-card-body {
  display: flex;
  gap: 12px;
  padding: 14px;
}

.fm-event-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--fm-gold);
  color: var(--fm-black);
  border-radius: var(--fm-radius);
  min-width: 48px;
  padding: 8px;
  flex-shrink: 0;
}

.fm-event-card-day {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.fm-event-card-month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fm-event-card-content {
  flex: 1;
  min-width: 0;
}

.fm-event-card-titre {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.fm-event-card-titre a {
  color: var(--fm-black);
  text-decoration: none;
}

.fm-event-card-titre a:hover {
  color: var(--fm-gold);
}

.fm-event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.78rem;
  color: var(--fm-gray-dark);
}

/* ── Page détail événement ──────────────────────── */
.fm-event-banner {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0;
  border-bottom: 2px solid var(--fm-gold);
}

.fm-event-banner-titre {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  max-width: 700px;
}

.fm-event-infos-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--fm-gray-light);
  border-radius: var(--fm-radius-lg);
  padding: 1.25rem;
}

.fm-event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 160px;
}

.fm-event-info-item > i {
  font-size: 1.2rem;
  color: var(--fm-gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.fm-event-info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fm-gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fm-event-info-val {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fm-black);
  margin-top: 2px;
}

.fm-event-sim-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: var(--fm-black);
  padding: 8px 0;
  border-bottom: 1px solid var(--fm-gray-light);
  transition: color 0.2s;
}

.fm-event-sim-item:last-child {
  border-bottom: none;
}

.fm-event-sim-item:hover {
  color: var(--fm-gold);
}

.fm-event-sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.fm-event-sim-titre {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.fm-event-sim-date {
  font-size: 0.75rem;
  color: var(--fm-gray-dark);
  margin-top: 2px;
}

@media (max-width: 576px) {
  .fm-agenda-hero {
    min-height: 280px;
    padding: 2rem 0;
  }
  .fm-event-banner {
    min-height: 220px;
  }
  .fm-detail-event-img {
    width: 80px;
    height: 75px;
  }
}/*# sourceMappingURL=agenda.css.map */