/* ============================================================
   Fonds Social YCM — feuille de style des évolutions 2026-09
   ============================================================ */

/* ---------- Barre d'outils des offres ---------- */
.fs-offers-toolbar {
  display: block;
  margin-bottom: 12px;
}

.fs-offers-toolbar .filters { margin-bottom: 0; }

/* Puces de catégories : passage à la ligne, jamais de défilement latéral */
.filters.fs-category-filters {
  display: flex;
  flex-wrap: wrap !important;
  overflow: visible !important;
  gap: 8px;
  padding: 0;
  mask-image: none;
}

.filters.fs-category-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px 9px 11px;
  font-size: 11px;
  font-weight: 650;
  color: #46525f;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 999px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.filters.fs-category-filters button:hover { border-color: #b9c6d1; transform: translateY(-1px); }

.filters.fs-category-filters button.active {
  color: #fff;
  background: var(--navy, #071b36);
  border-color: var(--navy, #071b36);
}

.filters.fs-category-filters .fs-chip-icon { font-size: 14px; font-style: normal; line-height: 1; }

.filters.fs-category-filters .fs-chip-count {
  min-width: 20px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 800;
  color: #5c6875;
  text-align: center;
  background: #eef2f5;
  border-radius: 999px;
}

.filters.fs-category-filters button.active .fs-chip-count { color: #fff; background: #ffffff2e; }

.filters.fs-category-filters button.is-off { border-style: dashed; opacity: .6; }

.filters.fs-category-filters button.is-off::after {
  content: "désactivée";
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9b6924;
}

/* Rangée « lieu · nombre de résultats · affichage » */
.fs-offers-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 14px;
}

.fs-offers-tools .fs-place-filter { flex: 0 1 300px; min-width: 0; }

.fs-result-count {
  flex: 1 1 auto;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #6f7987;
}

.fs-result-count b { font-weight: 850; color: var(--navy, #071b36); }

.fs-view-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  background: #eef2f5;
  border-radius: 999px;
}

.fs-view-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 10.5px;
  font-weight: 750;
  color: #5c6875;
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.fs-view-switch button i { font-size: 13px; font-style: normal; line-height: 1; }

.fs-view-switch button.active {
  color: var(--navy, #071b36);
  background: #fff;
  box-shadow: 0 1px 4px #071b361f;
}

@media (max-width: 760px) {
  .fs-offers-tools { flex-wrap: wrap; }
  .fs-offers-tools .fs-place-filter { flex: 1 1 100%; }
  .fs-result-count { order: 3; flex: 1 1 auto; }
  .fs-view-switch { order: 2; margin-left: auto; }
}

/* ---------- Grille des offres : jusqu'à 5 colonnes ---------- */
@media (min-width: 1100px) {
  .offer-grid.fs-offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

@media (min-width: 1500px) {
  .offer-grid.fs-offer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.offer-grid.fs-offer-grid .offer-visual { height: clamp(120px, 11vw, 168px); }

.offer-grid.fs-offer-grid .registration-tag,
.offer-grid.fs-offer-grid .offer-partner {
  overflow: hidden;
  font-size: 8.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
}
.offer-grid.fs-offer-grid .offer-body > h3,
.offer-grid.fs-offer-grid .fs-offer-heading h3 { font-size: 15px; }

/* ---------- Vue liste : lignes compactes ---------- */
.offer-grid.fs-offer-list { grid-template-columns: 1fr; gap: 8px; }

.offer-grid.fs-offer-list .offer-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
}

.offer-grid.fs-offer-list .offer-visual { height: 100% !important; min-height: 96px !important; }
.offer-grid.fs-offer-list .offer-visual .offer-icon { font-size: 38px; }
.offer-grid.fs-offer-list .offer-visual i { display: none; }
.offer-grid.fs-offer-list .favorite-button { width: 28px; height: 28px; font-size: 13px; }
.offer-grid.fs-offer-list .inline-edit { padding: 5px 9px; font-size: 9px; }

.offer-grid.fs-offer-list .offer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px 122px;
  align-content: center;
  gap: 1px 16px;
  min-height: 96px;
  padding: 11px 16px !important;
}

.offer-grid.fs-offer-list .offer-body > p { grid-column: 1; grid-row: 1; margin: 0; }
.offer-grid.fs-offer-list .fs-offer-heading { grid-column: 1; grid-row: 2; gap: 8px; }
.offer-grid.fs-offer-list .fs-offer-heading h3 { font-size: 15px; line-height: 1.25; }
.offer-grid.fs-offer-list .fs-offer-logo { width: 26px; height: 26px; border-radius: 7px; }
.offer-grid.fs-offer-list .offer-body > span { grid-column: 1; grid-row: 3; font-size: 11px; }

.offer-grid.fs-offer-list .offer-commercial {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.offer-grid.fs-offer-list .offer-commercial small { font-size: 8px; }
.offer-grid.fs-offer-list .offer-commercial strong { font-size: 15px; line-height: 1.2; }
.offer-grid.fs-offer-list .offer-commercial > span { margin-top: 3px; font-size: 8px; }

.offer-grid.fs-offer-list .offer-footer {
  grid-column: 3;
  grid-row: 1 / 4;
  align-self: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  border: 0;
}

.offer-grid.fs-offer-list .offer-footer > small { display: none !important; }
.offer-grid.fs-offer-list .offer-footer button { padding: 9px 13px; font-size: 10.5px; white-space: nowrap; }

.offer-grid.fs-offer-list .option-count,
.offer-grid.fs-offer-list .registration-tag,
.offer-grid.fs-offer-list .offer-partner { display: none !important; }

.offer-grid.fs-offer-list .eligibility-badge { grid-column: 1 / -1; grid-row: 4; margin-top: 6px; }

@media (max-width: 900px) {
  .offer-grid.fs-offer-list .offer-card { grid-template-columns: 96px minmax(0, 1fr); }
  .offer-grid.fs-offer-list .offer-body {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1px 10px;
    padding: 10px 12px;
  }
  .offer-grid.fs-offer-list .offer-commercial { grid-column: 2; grid-row: 1 / 3; }
  .offer-grid.fs-offer-list .offer-footer { grid-column: 1 / -1; grid-row: 4; justify-content: flex-start; margin-top: 6px; }
}

/* ---------- Titre d'offre avec logo partenaire ---------- */
.fs-offer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fs-offer-heading h3,
.fs-offer-heading h2 { margin: 0; min-width: 0; }

.fs-offer-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px #e2e8eb;
}

.fs-offer-heading.modal .fs-offer-logo { width: 46px; height: 46px; border-radius: 12px; }

.offer-grid.fs-offer-grid .fs-offer-logo { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- Fiche offre : informations pratiques ---------- */
.fs-offer-conditions {
  margin: 16px 0 18px;
  padding: 15px 16px;
  background: #f4f7f9;
  border: 1px solid #e3e9ee;
  border-radius: 16px;
}

.fs-offer-conditions strong {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue, #0b5c94);
}

.fs-offer-conditions p { margin: 0; font-size: 12px; line-height: 1.65; color: #4b5663; }

/* ---------- Récapitulatif avant demande ---------- */
.fs-confirm-backdrop { z-index: 60; }

.fs-confirm-modal {
  position: relative;
  width: min(560px, 94vw);
  max-height: 92vh;
  overflow: auto;
  padding: 30px 32px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px #071b3640;
}

.fs-confirm-modal h2 { margin: 6px 0 18px; font-size: 25px; }

.fs-confirm-recap { display: grid; gap: 2px; margin: 0 0 18px; }

.fs-confirm-recap > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid #eef1f4;
}

.fs-confirm-recap dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted, #6f7987);
}

.fs-confirm-recap dd { margin: 0; font-size: 13.5px; font-weight: 650; text-align: right; }

.fs-confirm-recap .fs-confirm-total { border-bottom: 0; }
.fs-confirm-recap .fs-confirm-total dt { color: var(--navy, #071b36); }
.fs-confirm-recap .fs-confirm-total dd { font-size: 20px; font-weight: 850; }

.fs-confirm-notice {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 16px;
  background: #fff7ea;
  border: 1px solid #f0dfc0;
  border-radius: 16px;
}

.fs-confirm-notice span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 850;
  color: #fff;
  background: #c08b32;
  border-radius: 50%;
}

.fs-confirm-notice p { margin: 0; font-size: 11.5px; line-height: 1.6; color: #6a5327; }

.fs-confirm-note { display: block; margin: 18px 0 20px; }

.fs-confirm-note > span {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted, #6f7987);
}

.fs-confirm-note > span small {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #93a0ac;
}

.fs-confirm-note textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink, #142033);
  background: #f8fafb;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  resize: vertical;
}

.fs-confirm-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

.fs-confirm-actions .fs-confirm-back {
  padding: 13px 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #5c6875;
  background: none;
  border: 0;
  cursor: pointer;
}

.fs-confirm-actions .primary-button { width: auto; padding: 14px 22px; font-size: 12.5px; }

@media (max-width: 620px) {
  .fs-confirm-modal { padding: 26px 20px 22px; }
  .fs-confirm-actions { flex-direction: column-reverse; align-items: stretch; }
  .fs-confirm-actions .primary-button { width: 100%; }
}

/* ---------- Sous-menu des catégories dans la barre latérale ---------- */
.fs-nav-group { display: block; }

.fs-subnav {
  display: grid;
  gap: 1px;
  margin: 2px 0 8px 15px;
  padding-left: 11px;
  border-left: 1px solid #ffffff1f;
}

.sidebar nav .fs-subnav button.fs-subnav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 0;
  padding: 7px 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: #93a6b8;
  background: none;
  border: 0;
  border-radius: 6px;
}

.sidebar nav .fs-subnav button.fs-subnav-item i {
  flex: 0 0 auto;
  width: 16px;
  font-size: 13px;
  font-style: normal;
  text-align: center;
}

.sidebar nav .fs-subnav button.fs-subnav-item span {
  flex: 1 1 auto;
  width: auto;
  overflow: hidden;
  font-size: inherit;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar nav .fs-subnav button.fs-subnav-item b {
  margin-left: 0;
  padding: 2px 6px;
  font-size: 8.5px;
  color: #b8c5d2;
  background: #ffffff17;
}

.sidebar nav .fs-subnav button.fs-subnav-item:hover { color: #e7eef5; background: #ffffff0f; }

.sidebar nav .fs-subnav button.fs-subnav-item.active {
  color: #fff;
  background: #ffffff1a;
}

.sidebar nav .fs-subnav button.fs-subnav-item.active b { color: #fff; background: var(--coral, #f36f5e); }

.sidebar nav .fs-subnav button.fs-subnav-item.is-off { opacity: .55; }

@media (max-width: 1200px) {
  .fs-subnav { display: none; }
}

/* ---------- Administration : catégories d'offres ---------- */
.fs-category-admin {
  margin: 22px 0;
  padding: 22px 24px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow, 0 10px 32px #071b3612);
}

.fs-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  align-items: start;
  gap: 12px;
  margin-top: 18px;
}

.fs-category-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 13px 14px;
  background: #f7f9fa;
  border: 1px solid #e6ebef;
  border-radius: 16px;
  transition: border-color .2s ease, background .2s ease;
}

.fs-category-card.is-off { background: #fbfbfb; border-style: dashed; opacity: .78; }
.fs-category-card.is-editing { background: #fff; border-color: #c9d6df; box-shadow: 0 8px 24px #071b3612; opacity: 1; }

.fs-category-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.fs-category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px #e4eaee;
}

.fs-category-identity { min-width: 0; }
.fs-category-identity strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-category-identity small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted, #6f7987); }

.fs-category-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.fs-category-toggle i {
  position: relative;
  display: block;
  width: 38px;
  height: 21px;
  background: #ccd4da;
  border-radius: 999px;
  transition: background .2s ease;
}

.fs-category-toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0000002e;
  transition: transform .2s ease;
}

.fs-category-toggle.on i { background: #2f795d; }
.fs-category-toggle.on i::after { transform: translateX(17px); }

.fs-category-toggle em {
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted, #6f7987);
}

.fs-category-tools { display: flex; flex-wrap: wrap; gap: 6px; }

.fs-cat-tool {
  padding: 6px 10px;
  font-size: 9.5px;
  font-weight: 800;
  color: #55636f;
  background: #fff;
  border: 1px solid #e2e8ec;
  border-radius: 9px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}

.fs-cat-tool:hover:not(:disabled) { border-color: #b9c6d1; }
.fs-cat-tool:disabled { opacity: .35; cursor: not-allowed; }
.fs-cat-tool.danger { color: #a4483f; }
.fs-cat-tool.danger:hover { border-color: #e2b3ae; }

.fs-category-editor {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6ecf0;
  border-radius: 13px;
}

.fs-category-editor label {
  display: block;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted, #6f7987);
}

.fs-category-editor input {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  background: #f8fafb;
  border: 1px solid #dfe5ea;
  border-radius: 10px;
}

.fs-category-editor .fs-icon-input { width: 84px; text-align: center; font-size: 18px; }

.fs-icon-picker { display: flex; flex-wrap: wrap; gap: 5px; }

.fs-icon-picker button {
  width: 32px;
  height: 32px;
  font-size: 16px;
  background: #f4f7f9;
  border: 1px solid #0000;
  border-radius: 9px;
  cursor: pointer;
}

.fs-icon-picker button:hover { background: #e9eff3; }
.fs-icon-picker button.active { border-color: var(--navy, #071b36); background: #fff; }

.fs-category-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.fs-category-add {
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--blue, #0b5c94);
  background: #eaf3f8;
  border: 1px dashed #b6d0e0;
  border-radius: 12px;
  cursor: pointer;
}

.fs-category-add:hover { background: #e0edf5; }

.fs-category-footer .fs-category-feedback { margin: 0; font-size: 11px; color: var(--blue, #0b5c94); }
.fs-category-footer .primary-button { width: auto; margin-left: auto; padding: 12px 20px; font-size: 12px; }
.fs-category-footer .primary-button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Avantage : Tickets de foire (dans la fiche) ---------- */
.fs-foire-card { margin: 6px 0 18px; }

.fs-foire-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fs-foire-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 15px;
  background: #f7f9fb;
  border: 1px solid #e6ecf0;
  border-radius: 16px;
}

.fs-foire-steps b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 11px;
  font-weight: 850;
  color: #fff;
  background: var(--navy, #071b36);
  border-radius: 50%;
}

.fs-foire-steps strong { display: block; margin-bottom: 4px; font-size: 12px; }
.fs-foire-steps small { display: block; font-size: 10.5px; line-height: 1.55; color: var(--muted, #6f7987); }

.fs-foire-download {
  display: inline-block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue, #0b5c94);
  text-decoration: none;
  border-bottom: 1px solid #0b5c9440;
}

.fs-foire-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.fs-foire-file { position: relative; display: block; cursor: pointer; }

.fs-foire-file span {
  display: block;
  padding: 14px 16px;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 700;
  color: #46525f;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fff;
  border: 1px dashed #b8c6d1;
  border-radius: 14px;
}

.fs-foire-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.fs-foire-quantity {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted, #6f7987);
}

.fs-foire-quantity input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  font: inherit;
  font-size: 13px;
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
}

.fs-foire-form .primary-button { width: auto; padding: 14px 20px; font-size: 12px; white-space: nowrap; }

.fs-foire-feedback { margin: 12px 0 0; font-size: 11.5px; color: #9b3a34; }
.fs-foire-feedback.success { color: #2f795d; }

@media (max-width: 760px) {
  .fs-foire-form { grid-template-columns: 1fr; }
  .fs-foire-form .primary-button { width: 100%; }
}

/* ---------- Équipe : avatar sans photo ---------- */
.illustrated-team-member.fs-avatar-blank {
  position: relative;
  background: linear-gradient(150deg, #0d2a4d, #2c6b93);
}

.illustrated-team-member.fs-avatar-blank::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #ffffffe8;
}

/* ---------- Demandes & paiements ---------- */
.my-enrollments.redesigned > article {
  background: #fff;
  border: 1px solid #e8edf1;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.my-enrollments.redesigned > article:hover { border-color: #d3dde5; box-shadow: 0 12px 30px #071b360f; }

.my-enrollments.redesigned > article.completed {
  border-color: #27815f33;
  background: linear-gradient(180deg, #f6fbf8, #fff 42%);
}

.my-enrollments .request-card-footer { align-items: center; }

.my-enrollments .fs-member-note { background: #f3f7fa; }
.my-enrollments .fs-member-note span { color: #fff; background: var(--blue, #0b5c94); }

.my-enrollments .fs-payment-progress.fs-payment-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  justify-content: start;
  gap: 2px 8px;
  min-width: 232px;
  padding: 12px 15px;
  background: #f6f8fa;
  border: 1px solid #e7edf1;
  border-radius: 15px;
}

.my-enrollments .fs-payment-progress > span { font-size: 15px; font-weight: 800; color: var(--ink, #142033); }
.my-enrollments .fs-payment-progress > small { font-size: 10.5px; color: var(--muted, #6f7987); }

.fs-payment-progress .fs-payment-bar {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  background: #e3e9ee;
  border-radius: 999px;
}

.fs-payment-progress .fs-payment-bar b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #d8ad55, #b98f36);
  border-radius: 999px;
  transition: width .4s ease;
}

.fs-payment-progress em {
  grid-column: 1 / -1;
  margin-top: 7px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #9b6924;
}

.fs-payment-progress.is-complete { background: #f2faf6; border-color: #27815f2e; }
.fs-payment-progress.is-complete .fs-payment-bar b { background: linear-gradient(90deg, #35906d, #27815f); }
.fs-payment-progress.is-complete em { color: #2f795d; }
.fs-payment-progress.is-pending .fs-payment-bar b { background: linear-gradient(90deg, #c7d0d8, #aeb9c3); }
.fs-payment-progress.is-pending em { color: #6f7987; }

@media (min-width: 721px) {
  .my-enrollments.redesigned > article { padding-top: 42px; }

  .my-enrollments.redesigned > article > .request-select {
    top: 13px;
    left: 20px;
    right: auto;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 9px;
    font-size: 8.5px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #7a8790;
    background: #f4f7f9;
    border: 1px solid #e5ebef;
    border-radius: 999px;
  }
}

@media (max-width: 720px) {
  .my-enrollments .fs-payment-progress.fs-payment-progress { min-width: 0; width: 100%; }
  .request-filter-controls { display: flex; flex-wrap: wrap; gap: 8px; }
  .request-filter-controls > * { flex: 1 1 132px; min-width: 0; }
  .request-filter-controls .archive-view { flex: 1 1 100%; white-space: nowrap; }
}

/* ---------- Journaux d'administration ---------- */
.admin-audit-journals-relocated {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 1400px) {
  .admin-audit-journals-relocated { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.admin-audit-journals-relocated .audit-panel {
  max-height: none;
  overflow: visible;
  padding: 20px 22px 18px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow, 0 10px 32px #071b3612);
}

.admin-audit-journals-relocated .audit-list article {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 128px;
  align-items: start;
  gap: 10px 14px;
  padding: 12px 0;
}

.admin-audit-journals-relocated .audit-list span {
  width: auto;
  padding: 5px 9px;
  font-size: 8.5px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.admin-audit-journals-relocated .audit-list strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.admin-audit-journals-relocated .audit-list small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted, #6f7987);
}

.admin-audit-journals-relocated .audit-list time {
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
  color: var(--muted, #6f7987);
  white-space: nowrap;
}

.admin-audit-journals-relocated .audit-list-footer { display: flex; justify-content: center; padding-top: 12px; }

.admin-audit-journals-relocated .audit-show-more {
  padding: 10px 18px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--blue, #0b5c94);
  background: #eef4f8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.admin-audit-journals-relocated .audit-show-more:hover { background: #e3edf4; }
.admin-audit-journals-relocated .audit-show-more.secondary { color: #6f7987; background: #f2f4f6; }

@media (max-width: 700px) {
  .admin-audit-journals-relocated .audit-list article { grid-template-columns: minmax(0, 1fr); }
  .admin-audit-journals-relocated .audit-list span { justify-self: start; }
  .admin-audit-journals-relocated .audit-list time { text-align: left; }
}

/* ---------- Frise de suivi : 6 étapes, icônes grises puis colorées ---------- */
.enrollment-progress.fs-progress-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.enrollment-progress.fs-progress-6 span { font-size: 7.5px; line-height: 1.25; }

.enrollment-progress.fs-progress i {
  width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #9aa5af;
  background: #eaeef1;
  box-shadow: inset 0 0 0 1px #dde3e8;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.enrollment-progress.fs-progress .done i {
  color: #fff;
  background: #2e8b69;
  box-shadow: 0 2px 8px #2e8b6940;
}

.enrollment-progress.fs-progress .done + :not(.done) i {
  color: #0b6d98;
  background: #e2f0f7;
  box-shadow: inset 0 0 0 1.5px #9fc9dd;
}
.enrollment-progress.fs-progress span { font-size: 8.5px; font-weight: 700; }
.enrollment-progress.fs-progress .done span { color: #37474f; }
.enrollment-progress.fs-progress.terminal .done:nth-child(1) i { background: #d86860; box-shadow: 0 2px 8px #d8686040; }

/* ---------- Demande sur une seule ligne (grand écran) ---------- */
@media (min-width: 1280px) {
  .my-enrollments.redesigned > article {
    grid-template-columns: 24px minmax(180px, .95fr) minmax(370px, 1.5fr) minmax(196px, auto) auto;
    align-items: center;
    gap: 10px 16px;
    padding: 16px 20px;
  }

  .my-enrollments.redesigned > article > .request-select {
    position: static;
    grid-column: 1;
    justify-self: center;
    gap: 0;
    padding: 0;
    background: none;
    border: 0;
  }

  .my-enrollments.redesigned > article > .request-select span { display: none; }

  .my-enrollments.redesigned .request-card-head {
    grid-column: 2;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .my-enrollments.redesigned .request-card-head .status-chip {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .my-enrollments.redesigned .request-symbol { width: 40px; height: 40px; font-size: 16px; }
  .my-enrollments.redesigned .request-main > strong { font-size: 14px; line-height: 1.3; }
  .my-enrollments.redesigned .request-main > small,
  .my-enrollments.redesigned .request-main > time { font-size: 9.5px; }

  .my-enrollments.redesigned .enrollment-progress {
    grid-column: 3;
    margin: 0;
    padding: 11px 14px;
  }

  .my-enrollments.redesigned .request-card-footer { display: contents; }

  .my-enrollments .fs-payment-progress.fs-payment-progress {
    grid-column: 4;
    min-width: 0;
    padding: 10px 13px;
  }

  .my-enrollments .fs-payment-progress > span { font-size: 13.5px; }

  .my-enrollments.redesigned .request-card-actions {
    grid-column: 5;
    display: flex;
    gap: 7px;
    justify-self: end;
  }

  .my-enrollments.redesigned .request-card-actions button { padding: 9px 12px; font-size: 10px; }
  .my-enrollments.redesigned > article > .request-select,
  .my-enrollments.redesigned .request-card-head,
  .my-enrollments.redesigned .enrollment-progress,
  .my-enrollments .fs-payment-progress.fs-payment-progress,
  .my-enrollments.redesigned .request-card-actions { grid-row: 1; }

  .my-enrollments.redesigned .fund-message,
  .my-enrollments.redesigned .fs-member-note { grid-row: 2; grid-column: 2 / -1; margin: 4px 0 0; }
}

/* ---------- Filtre par lieu ---------- */
.fs-place-filter {
  flex: 0 0 auto;
  max-width: 250px;
  padding: 10px 34px 10px 14px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #46525f;
  cursor: pointer;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%235c6875' d='M0 0h10L5 6z'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid #dfe4e8;
  border-radius: 999px;
  appearance: none;
}

.fs-place-filter:hover { border-color: #b9c6d1; }

@media (max-width: 900px) {
  .fs-place-filter { max-width: none; width: 100%; }
}

/* ---------- Accueil : sélection de bons plans sur 5 colonnes ---------- */
.offer-grid.fs-home-offers { gap: 14px; }

@media (min-width: 1100px) {
  .offer-grid.compact.fs-home-offers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1500px) {
  .offer-grid.compact.fs-home-offers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- Bouton « Voir l'offre » toujours sur une ligne ---------- */
.offer-footer button,
.offer-grid .offer-footer button {
  white-space: nowrap;
}

.offer-grid.fs-offer-grid .offer-footer {
  gap: 8px;
  align-items: center;
}

.offer-grid.fs-offer-grid .offer-footer > small {
  min-width: 0;
  font-size: 9px;
  line-height: 1.35;
}

.offer-grid.fs-offer-grid .offer-footer button {
  flex: 0 0 auto;
  padding: 9px 12px;
  font-size: 10px;
}

/* ---------- Barre latérale un peu plus large : libellés sur une ligne ---------- */
@media (min-width: 901px) {
  .sidebar { width: 278px; }
  .main-area { width: calc(100% - 294px); margin-left: 294px; }
  .site-legal-footer { margin-left: 294px; }
  .sidebar nav button { padding: 11px 12px; font-size: 12.5px; line-height: 1.25; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .sidebar { width: 266px; }
  .main-area { width: calc(100% - 280px); margin-left: 280px; }
  .site-legal-footer { margin-left: 280px; }
  .sidebar nav button { font-size: 12px; }
}

/* ---------- Administration : étape du suivi ---------- */
.fs-stage-selector {
  margin: 16px 0;
  padding: 16px 18px;
  background: #f7f9fb;
  border: 1px solid #e6ecf0;
  border-radius: 18px;
}

.fs-stage-selector > header {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-bottom: 14px;
}

.fs-stage-selector > header span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 14px;
  color: #fff;
  background: var(--navy, #071b36);
  border-radius: 50%;
}

.fs-stage-selector strong { display: block; font-size: 13px; }
.fs-stage-selector small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted, #6f7987); }

.fs-stage-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}

.fs-stage-step {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 11px 6px;
  background: #fff;
  border: 1px solid #e4eaee;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.fs-stage-step:hover:not(:disabled) { border-color: #b9c6d1; transform: translateY(-1px); }
.fs-stage-step:disabled { opacity: .6; cursor: wait; }

.fs-stage-step i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #9aa5af;
  background: #eef2f5;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}

.fs-stage-step span {
  font-size: 9px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  color: var(--muted, #6f7987);
}

.fs-stage-step.done i { color: #fff; background: #2e8b69; }
.fs-stage-step.done span { color: #37474f; }

.fs-stage-step.current {
  border-color: var(--navy, #071b36);
  background: #f3f7fa;
}

.fs-stage-step.current i { box-shadow: 0 0 0 4px #2e8b6926; }
.fs-stage-feedback { margin: 12px 0 0; font-size: 11px; color: #2f795d; }

/* ---------- Éditeur : galerie de visuels ---------- */
.fs-visual-picker {
  margin: 12px 0;
  padding: 14px 16px;
  background: #f7f9fb;
  border: 1px solid #e6ecf0;
  border-radius: 16px;
}

.fs-visual-picker > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-visual-picker strong { display: block; font-size: 12px; }
.fs-visual-picker small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted, #6f7987); }

.fs-visual-toggle {
  flex: 0 0 auto;
  padding: 8px 13px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--blue, #0b5c94);
  background: #eaf3f8;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.fs-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.fs-visual-item {
  display: grid;
  gap: 5px;
  padding: 5px;
  background: #fff;
  border: 2px solid #0000;
  border-radius: 12px;
  cursor: pointer;
}

.fs-visual-item i {
  display: block;
  height: 58px;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.fs-visual-item span { font-size: 9px; font-weight: 700; color: #55636f; }
.fs-visual-item:hover { border-color: #cdd8e0; }
.fs-visual-item.active { border-color: var(--navy, #071b36); }

/* ---------- Administration : bouton archives ---------- */
.fs-archive-toggle {
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 800;
  color: #46525f;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  cursor: pointer;
}

.fs-archive-toggle:hover { border-color: #b9c6d1; }
.fs-archive-toggle.active { color: #fff; background: var(--navy, #071b36); border-color: var(--navy, #071b36); }

/* ---------- Notifications : actions plus lisibles ---------- */
.notification-item-actions { display: flex; align-items: center; gap: 8px; }

.notification-item-actions button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 11px;
  cursor: pointer;
}

.notification-item-actions button:first-child {
  color: #2f795d;
  background: #e8f5ef;
  border: 1px solid #cbe6da;
}

.notification-item-actions button:first-child:hover { background: #dcefe6; }

.notification-item-actions .delete-notification {
  color: #a4483f;
  background: #fdebea;
  border: 1px solid #f2d3d0;
}

.notification-item-actions .delete-notification:hover { background: #fbdedc; }
.notification-item-actions i { font-size: 10px; font-style: normal; color: var(--muted, #6f7987); }

/* ---------- Éditeur : case « nouveauté » ---------- */
.fs-new-toggle {
  display: grid !important;
  grid-column: 1 / -1;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 2px 0 6px;
  padding: 13px 15px;
  background: #f7f9fb;
  border: 1px solid #e6ecf0;
  border-radius: 14px;
  cursor: pointer;
}

.fs-new-toggle input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 0 !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  accent-color: #0b6d98;
  border-radius: 5px;
}

.fs-new-toggle > span { display: block; }
.fs-new-toggle strong { display: block; font-size: 12.5px; }
.fs-new-toggle small { display: block; margin-top: 3px; font-size: 10.5px; line-height: 1.5; color: var(--muted, #6f7987); }

.fs-visual-picker { grid-column: 1 / -1; }

/* ---------- Accueil isolé au-dessus du groupe de navigation ---------- */
.sidebar nav > .nav-group > p:empty { display: none; }
.sidebar nav > .nav-group:first-child { padding-bottom: 4px; }

/* ---------- Carte date du jour ---------- */
.weather-card.fs-date-card strong {
  font-size: 15px;
  line-height: 1.25;
  text-transform: capitalize;
}

.weather-card.fs-date-card small { font-size: 10px; }

/* ---------- En-tête : raccourcis Favoris / Notifications ---------- */
.topbar-shortcuts { display: flex; align-items: center; gap: 10px; }

.topbar-shortcuts .top-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px 11px 14px;
  font-size: 12px;
  font-weight: 750;
  color: #46525f;
  background: #fff;
  border: 1px solid #e3e8ec;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.topbar-shortcuts .top-action:hover {
  border-color: #c3cfd8;
  box-shadow: 0 6px 18px #071b3612;
  transform: translateY(-1px);
}

.topbar-shortcuts .top-action.active {
  color: var(--navy, #071b36);
  border-color: var(--navy, #071b36);
  box-shadow: inset 0 0 0 1px var(--navy, #071b36);
}

.topbar-shortcuts .top-action > i {
  font-size: 17px;
  font-style: normal;
  line-height: 1;
  color: var(--blue, #0b5c94);
}

.topbar-shortcuts .top-action.active > i { color: var(--navy, #071b36); }
.topbar-shortcuts .top-action .top-action-label { font: inherit; color: inherit; }

.topbar-shortcuts .top-action > b {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 850;
  color: #fff;
  background: var(--coral, #f36f5e);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 2px 6px #f36f5e4d;
}

@media (max-width: 900px) {
  .topbar-shortcuts .top-action { padding: 10px 12px; }
  .topbar-shortcuts .top-action .top-action-label { display: none; }
}

/* ---------- Filtres : catégories, sous-catégories, mobile ---------- */
.fs-category-select { display: none; }

@media (max-width: 900px) {
  .fs-offers-toolbar .filters.fs-category-filters { display: none; }

  .fs-category-select {
    display: block;
    width: 100%;
    padding: 13px 36px 13px 15px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 750;
    color: var(--navy, #071b36);
    cursor: pointer;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%235c6875' d='M0 0h10L5 6z'/%3E%3C/svg%3E") no-repeat right 15px center;
    border: 1px solid #dfe4e8;
    border-radius: 14px;
    appearance: none;
  }
}

.fs-subfilters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: -6px 0 16px;
  padding: 11px 14px;
  background: #f4f7f9;
  border: 1px solid #e6ecf0;
  border-radius: 16px;
}

.fs-subfilters > span {
  margin-right: 4px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted, #6f7987);
}

.fs-subfilters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 700;
  color: #46525f;
  background: #fff;
  border: 1px solid #e1e7eb;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.fs-subfilters button:hover { border-color: #b9c6d1; }

.fs-subfilters button.active {
  color: #fff;
  background: var(--blue, #0b5c94);
  border-color: var(--blue, #0b5c94);
}

.fs-subfilters button b {
  padding: 1px 5px;
  font-size: 8.5px;
  font-weight: 850;
  color: #5c6875;
  background: #eef2f5;
  border-radius: 999px;
}

.fs-subfilters button.active b { color: #fff; background: #ffffff33; }

@media (max-width: 720px) {
  .fs-subfilters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .fs-subfilters button { flex: 0 0 auto; }
}

/* ============================================================
   ACCUEIL — mise en scène
   ============================================================ */
@keyframes fs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fs-shine { from { transform: translateX(-60%) rotate(8deg); } to { transform: translateX(220%) rotate(8deg); } }
@keyframes fs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Bandeau d'accueil */
.welcome-row { align-items: center; }

.welcome-row .eyebrow {
  letter-spacing: .16em;
  animation: fs-fade .7s ease both;
}

.welcome-row h1 {
  background: linear-gradient(100deg, #071b36 12%, #0b5c94 52%, #2c8fbe 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fs-rise .65s cubic-bezier(.22, 1, .36, 1) both;
}

.welcome-row > div > p:last-child { animation: fs-rise .65s cubic-bezier(.22, 1, .36, 1) .08s both; }

.weather-card.fs-date-card {
  background: linear-gradient(150deg, #ffffffe6, #f2f7fbcc);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid #ffffffb3;
  box-shadow: 0 14px 34px #071b3614;
  animation: fs-rise .7s cubic-bezier(.22, 1, .36, 1) .12s both;
}

/* Accès rapides */
.quick-actions button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #fff, #f7fafc);
  border: 1px solid #e7edf2;
  box-shadow: 0 4px 16px #071b360a;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
  animation: fs-rise .6s cubic-bezier(.22, 1, .36, 1) both;
}

.quick-actions button:nth-child(2) { animation-delay: .07s; }
.quick-actions button:nth-child(3) { animation-delay: .14s; }

.quick-actions button::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 42%;
  height: 220%;
  background: linear-gradient(90deg, #0000, #ffffff9e, #0000);
  opacity: 0;
  pointer-events: none;
}

.quick-actions button:hover {
  transform: translateY(-3px);
  border-color: #cddbe6;
  box-shadow: 0 18px 38px #071b361f;
}

.quick-actions button:hover::after { opacity: 1; animation: fs-shine .85s ease forwards; }
.quick-actions button .quick-icon { transition: transform .28s cubic-bezier(.22, 1, .36, 1); }
.quick-actions button:hover .quick-icon { transform: scale(1.08) rotate(-4deg); }
.quick-actions button i { transition: transform .28s ease; }
.quick-actions button:hover i { transform: translateX(5px); }

/* Événement à la une */
.hero-card.real-event-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 26px 60px #071b3629;
  animation: fs-rise .75s cubic-bezier(.22, 1, .36, 1) .1s both;
}

.hero-card.real-event-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 8% 50%, #071b3600, #071b3626 70%);
  pointer-events: none;
}

.hero-card.real-event-hero .hero-copy { position: relative; z-index: 2; }

.hero-card.real-event-hero .hero-copy h2 {
  letter-spacing: -.02em;
  text-shadow: 0 6px 26px #05192bb3;
}

.hero-card.real-event-hero .hero-copy button {
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), box-shadow .26s ease;
  box-shadow: 0 10px 26px #0000002e;
}

.hero-card.real-event-hero .hero-copy button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px #00000038;
}

.hero-card.real-event-hero .hero-art { animation: fs-float 5.5s ease-in-out infinite; }

/* Titres de sections */
.section-title h2, .section-title h3 { letter-spacing: -.015em; }

.section-title {
  position: relative;
  animation: fs-fade .6s ease both;
}

/* Apparition en cascade des cartes de l'accueil */
.offer-grid.fs-home-offers > * { animation: fs-rise .55s cubic-bezier(.22, 1, .36, 1) both; }
.offer-grid.fs-home-offers > :nth-child(1) { animation-delay: .02s; }
.offer-grid.fs-home-offers > :nth-child(2) { animation-delay: .08s; }
.offer-grid.fs-home-offers > :nth-child(3) { animation-delay: .14s; }
.offer-grid.fs-home-offers > :nth-child(4) { animation-delay: .2s; }
.offer-grid.fs-home-offers > :nth-child(5) { animation-delay: .26s; }

.event-list.home-events > article { animation: fs-rise .55s cubic-bezier(.22, 1, .36, 1) both; }
.event-list.home-events > article:nth-child(2) { animation-delay: .08s; }
.event-list.home-events > article:nth-child(3) { animation-delay: .16s; }

/* Cartes d'offres : relief au survol */
.offer-card {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
}

.offer-grid.fs-offer-grid .offer-card:hover,
.offer-grid.fs-home-offers .offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px #071b3624;
}

.offer-card .offer-visual { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.offer-card:hover .offer-visual { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .welcome-row h1, .welcome-row > div > p:last-child, .weather-card.fs-date-card,
  .quick-actions button, .hero-card.real-event-hero, .section-title,
  .offer-grid.fs-home-offers > *, .event-list.home-events > article {
    animation: none !important;
  }
  .hero-card.real-event-hero .hero-art { animation: none !important; }
  .offer-card, .offer-card .offer-visual { transition: none !important; }
}

/* ---------- Informations : documents consultables en fenêtre ---------- */
.fs-info-docs {
  margin: 0 0 22px;
  padding: 22px 24px;
  background: linear-gradient(155deg, #fff, #f5f9fb);
  border: 1px solid #e4ebf0;
  border-radius: 22px;
  box-shadow: var(--shadow, 0 10px 32px #071b3612);
}

.fs-info-docs > header { margin-bottom: 16px; }
.fs-info-docs > header h2 { margin: 4px 0 0; font-size: 21px; }

.fs-info-grid { display: grid; gap: 12px; }

.fs-info-grid article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e6ecf0;
  border-radius: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fs-info-grid article:hover {
  transform: translateY(-2px);
  border-color: #cfdbe4;
  box-shadow: 0 14px 32px #071b3614;
}

.fs-info-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(150deg, #0d2a4d, #2c6b93);
  border-radius: 16px;
}

.fs-info-grid article p {
  margin: 0 0 3px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue, #0b5c94);
}

.fs-info-grid article h3 { margin: 0 0 4px; font-size: 15px; }
.fs-info-grid article > div > span { display: block; font-size: 11.5px; line-height: 1.55; color: #52606d; }
.fs-info-grid article small { display: block; margin-top: 5px; font-size: 10px; color: var(--muted, #6f7987); }

.fs-info-actions { display: grid; gap: 6px; justify-items: stretch; }
.fs-info-actions .primary-button { width: auto; padding: 11px 18px; font-size: 11.5px; white-space: nowrap; }

.fs-info-actions a {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted, #6f7987);
  text-align: center;
  text-decoration: none;
}

.fs-info-actions a:hover { color: var(--blue, #0b5c94); }

.fs-doc-backdrop { z-index: 70; }

.fs-doc-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1060px, 96vw);
  height: min(88vh, 960px);
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px #071b3647;
}

.fs-doc-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #eaeef1;
}

.fs-doc-modal > header h2 { margin: 3px 0 0; font-size: 19px; }
.fs-doc-tools { display: flex; align-items: center; gap: 14px; }

.fs-doc-tools a {
  font-size: 11px;
  font-weight: 750;
  color: var(--blue, #0b5c94);
  text-decoration: none;
  white-space: nowrap;
}

.fs-doc-tools a:hover { text-decoration: underline; }

.fs-doc-modal .modal-close {
  position: static;
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.fs-doc-modal iframe { width: 100%; height: 100%; border: 0; background: #f2f4f6; }

@media (max-width: 760px) {
  .fs-info-grid article { grid-template-columns: 44px minmax(0, 1fr); }
  .fs-info-icon { width: 44px; height: 44px; font-size: 20px; }
  .fs-info-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; margin-top: 4px; }
  .fs-doc-modal { width: 96vw; height: 90vh; }
  .fs-doc-tools a { display: none; }
}

/* ============================================================
   Évolutions du 7 septembre 2026 — lot 7
   ============================================================ */

/* ---------- Vue liste : bloc de texte centré verticalement ---------- */
.offer-grid.fs-offer-list .offer-body {
  align-content: center !important;
  gap: 3px 16px !important;
}

.offer-grid.fs-offer-list .fs-offer-heading,
.offer-grid.fs-offer-list .offer-body > h3,
.offer-grid.fs-offer-list .offer-body > p,
.offer-grid.fs-offer-list .offer-body > span {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ---------- Éditeur : aide sous un champ ---------- */
.fs-field-hint {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #7b8794;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Administration : onglets alignés à gauche ---------- */
.admin-quick-nav {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  overflow: visible !important;
  gap: 6px !important;
  padding: 6px !important;
  border-radius: 16px !important;
}

.admin-quick-nav a {
  min-height: 42px !important;
  padding: 0 16px !important;
  font-size: 10.5px !important;
  letter-spacing: .01em;
  border-radius: 11px !important;
  transition: background .18s ease, color .18s ease;
}

.admin-quick-nav a span { font-size: 14px !important; }

.admin-quick-nav a:hover { background: #f2e8d8 !important; color: #7d5416 !important; }
.admin-quick-nav a:hover span { color: #9c6420 !important; }

.admin-quick-nav a.active,
.admin-quick-nav a.active:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #9c6420, #c5903d) !important;
  box-shadow: 0 6px 16px #9c642033;
}

.admin-quick-nav a.active span,
.admin-quick-nav a.active:hover span { color: #fff4d9 !important; }

/* ---------- Administration : filtres avancés lisibles ---------- */
.admin-workspace .enrollment-filter-grid {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  overflow: visible !important;
}

.enrollment-filter-grid > * { min-width: 0; }
.enrollment-filter-grid .enrollment-search { flex: 1 1 280px; }
.enrollment-filter-grid > select { flex: 0 1 230px; }
.enrollment-filter-grid .fs-archive-toggle { flex: 0 0 auto; }

.enrollment-filter-grid .advanced-enrollment-filters {
  flex: 1 0 100%;
  position: static !important;
  grid-column: auto !important;
}

.advanced-enrollment-filters > summary {
  justify-content: flex-start !important;
  gap: 10px;
  height: 46px;
  padding: 0 14px !important;
  border-radius: 12px !important;
}

.advanced-enrollment-filters[open] > summary {
  background: #fffaf1 !important;
  border-color: #e0c48f !important;
}

.advanced-enrollment-filters > .advanced-filter-panel {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 10px !important;
  display: block !important;
  border: 1px solid #e2e9ec !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px #071b3614 !important;
}

.advanced-filter-panel > header { border-radius: 16px 16px 0 0; }
.advanced-filter-panel > footer { border-radius: 0 0 16px 16px; }

.advanced-filter-fields {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 12px !important;
  padding: 16px !important;
}

.advanced-filter-fields label { display: grid; gap: 5px; }

.advanced-filter-fields label > span {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7a85;
}

.advanced-filter-fields select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 650;
  color: #20455d;
  background: #fff;
  border: 1px solid #d9e2e6;
  border-radius: 11px;
}

.advanced-filter-panel > footer .filter-export-actions { margin-left: auto; display: flex; gap: 8px; }

@media (max-width: 760px) {
  .enrollment-filter-grid .enrollment-search,
  .enrollment-filter-grid > select,
  .enrollment-filter-grid .fs-archive-toggle { flex: 1 1 100%; }
}

/* ---------- Archives : recréer sur ce modèle ---------- */
.fs-archive-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

.fs-archive-actions .fs-archive-copy {
  color: #7d5416;
  background: #fdf6ea;
  border: 1px solid #e6d3ae;
  border-radius: 11px;
  padding: 0 14px;
  min-height: 40px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.fs-archive-actions .fs-archive-copy:hover { background: #f8ecd8; border-color: #d8bd8c; }

/* ---------- Bandeau « à la une » : titre plus large, 2 lignes ---------- */
.featured-event .featured-copy,
.featured-banner > div:first-child { max-width: min(760px, 62%); }

.featured-event h2,
.featured-event h3,
.featured-banner h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Cartes événement : rail d'alignement unique ---------- */
.event-card-main > .event-info { padding-left: 14px !important; padding-right: 14px !important; }
.event-card-main > .event-info > * { margin-top: 0; }
.event-card-main > .event-info .event-title-button { margin-top: 2px; }

/* ---------- Administration : indicateurs harmonisés ---------- */
.annual-comparison article > small,
.admin-overview .overview-metrics article > small,
.account-summary article > small,
.account-summary article > span:first-child {
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: #6b7a85 !important;
}

.annual-comparison article > strong,
.account-summary article > strong {
  font-size: 26px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  color: var(--navy, #071b36) !important;
}

.annual-comparison article > span,
.account-summary article > small:last-child {
  font-size: 10px !important;
  font-weight: 650 !important;
  color: #6f7987 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ============================================================
   Page « Informations & ressources »
   ============================================================ */
.fs-notice-board,
.fs-info-docs {
  margin: 0 0 22px;
  padding: 22px 24px 24px;
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 22px;
  box-shadow: 0 10px 28px #071b360d;
}

.fs-notice-board > header,
.fs-info-docs > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.fs-notice-board > header h2,
.fs-info-docs > header h2 { margin: 4px 0 0; font-size: 21px; }

.fs-info-add {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 15px;
  font-size: 10px;
  font-weight: 850;
  color: #0b5c94;
  background: #eaf3f8;
  border: 1px solid #cfe1ec;
  border-radius: 11px;
  cursor: pointer;
}

.fs-info-add:hover { background: #ddecf5; }

.fs-notice-empty {
  margin: 0;
  padding: 18px;
  font-size: 11.5px;
  color: #6f7987;
  background: #f6f8f9;
  border-radius: 14px;
}

.fs-notice-list { display: grid; gap: 10px; }

.fs-notice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid #e3e9ee;
  border-left: 4px solid #9fb4c4;
  border-radius: 14px;
  background: #f8fafb;
}

.fs-notice-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 17px;
  font-weight: 850;
  color: #40566a;
  background: #fff;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e2e8eb;
}

.fs-notice-copy small {
  display: block;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7a85;
}

.fs-notice-copy strong { display: block; margin-top: 3px; font-size: 14.5px; color: var(--navy, #071b36); }
.fs-notice-copy p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.6; color: #52606d; }

.fs-notice-tools { display: flex; align-items: center; gap: 8px; }

.fs-notice-action {
  min-height: 40px;
  padding: 0 15px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: var(--navy, #071b36);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.fs-notice-action:hover { opacity: .9; }

.fs-info-tool {
  width: 34px;
  height: 34px;
  font-size: 13px;
  color: #4a5966;
  background: #fff;
  border: 1px solid #dde4e8;
  border-radius: 10px;
  cursor: pointer;
}

.fs-info-tool:hover { border-color: #b9c6d1; }
.fs-info-tool.danger { color: #a4353b; border-color: #eccdcf; background: #fdf5f5; }

.fs-notice.tone-info { border-left-color: #2f83b8; background: #f4f9fc; }
.fs-notice.tone-info .fs-notice-icon { color: #0b5c94; }
.fs-notice.tone-important { border-left-color: #c5903d; background: #fdf8f0; }
.fs-notice.tone-important .fs-notice-icon { color: #9c6420; }
.fs-notice.tone-alerte { border-left-color: #c0484e; background: #fdf5f5; }
.fs-notice.tone-alerte .fs-notice-icon { color: #a4353b; }
.fs-notice.tone-succes { border-left-color: #3d8f6b; background: #f3faf6; }
.fs-notice.tone-succes .fs-notice-icon { color: #2c7354; }

.fs-info-admin { display: inline-flex; gap: 6px; }

/* Fenêtre d'édition d'une information ou d'une ressource */
.fs-info-editor {
  position: relative;
  width: min(560px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  gap: 13px;
  padding: 26px 26px 24px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px #071b3640;
}

.fs-info-editor h2 { margin: 2px 0 6px; font-size: 20px; }
.fs-info-editor label { display: grid; gap: 5px; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; color: #46525f; }

.fs-info-editor input,
.fs-info-editor select,
.fs-info-editor textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #17334a;
  background: #f7f9fa;
  border: 1px solid #dde4e8;
  border-radius: 11px;
}

.fs-info-editor textarea { resize: vertical; line-height: 1.6; }
.fs-info-editor .fs-icon-input { width: 90px; text-align: center; font-size: 17px; }

.fs-info-editor-hint {
  margin: 0;
  font-size: 10px;
  font-weight: 650;
  color: #6f7987;
  background: #f4f7f9;
  border-radius: 10px;
  padding: 9px 11px;
}

.fs-info-editor-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

.fs-info-editor-actions button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 850;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid #dde4e8;
  background: #fff;
  color: #46525f;
}

.fs-info-editor-actions .primary-button { border: 0; }

@media (max-width: 720px) {
  .fs-notice { grid-template-columns: 38px minmax(0, 1fr); }
  .fs-notice-tools { grid-column: 1 / -1; justify-content: flex-start; }
  .fs-notice-board > header,
  .fs-info-docs > header { flex-direction: column; align-items: stretch; }
}

/* ---------- Fiche d'inscription : vraie fenêtre centrée ---------- */
.modal-backdrop { overflow-y: auto; }

.modal-backdrop > .participant-drawer {
  width: min(1020px, 94vw) !important;
  max-width: none !important;
  max-height: min(86vh, 880px) !important;
  margin: auto !important;
  overflow-y: auto !important;
  border-radius: 24px !important;
  box-shadow: 0 34px 80px #071b3652 !important;
}

@media (max-width: 760px) {
  .modal-backdrop > .participant-drawer {
    width: 100% !important;
    max-height: 92dvh !important;
    border-radius: 22px 22px 0 0 !important;
    margin: auto 0 0 !important;
  }
}

.modal-backdrop > .participant-drawer > .modal-close { position: sticky; top: 0; float: right; z-index: 3; }

/* ---------- Nom du participant cliquable ---------- */
.fs-person-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 850;
  color: var(--navy, #071b36);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.fs-person-link i { font-size: 10px; font-style: normal; color: #9aa7b3; }
.fs-person-link:hover { color: #0b5c94; }
.fs-person-link:hover i { color: #0b5c94; }

/* Un panneau avec « backdrop-filter » emprisonne les fenêtres position:fixed
   qu'il contient : la fiche d'inscription restait bloquée dans le panneau. */
.approval-panel,
.enrollment-manager,
.admin-workspace section,
.admin-workspace article {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.admin-quick-nav { -webkit-backdrop-filter: blur(16px) !important; backdrop-filter: blur(16px) !important; }

/* ---------- Ressources : outils d'administration alignés ---------- */
.fs-info-grid .fs-info-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.fs-info-grid .fs-info-actions > a { text-align: center; }
.fs-info-admin { display: flex; justify-content: flex-end; gap: 6px; margin-top: 2px; }

/* ---------- Bibliothèque de documents ---------- */
.fs-library-heading {
  margin: 26px 0 14px;
  padding-top: 22px;
  border-top: 1px solid #e6ebef;
}

.fs-library-heading h2 { margin: 4px 0 6px; font-size: 21px; }
.fs-library-heading small { display: block; font-size: 11.5px; color: #6f7987; }
