/* Agenda public, slider des prochaines séances, bloc « Nouveau », messages */
.others { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Message de confirmation */
.toast { position: fixed; z-index: 80; left: 50%; top: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; width: min(640px, calc(100vw - 32px)); padding: 14px 18px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 12px 40px rgba(11, 11, 12, .35); border-left: 4px solid #1f9d55; }
.toast--warn { border-left-color: var(--orange); }
.toast span { flex: 1; }
.toast button { font-size: 24px; line-height: 1; color: rgba(255, 255, 255, .7); }

/* Pastilles */
.chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 100px; background: rgba(11, 11, 12, .08); color: var(--ink); font: 700 12px/1 var(--body); white-space: nowrap; }
.chip--collectif { background: #ffe8db; color: var(--orange-text); }
.chip--individuel { background: #e3ecfc; color: #2563eb; }
.chip--filter { padding: 8px 13px; background: var(--bone); font-weight: 600; font-size: 13px; }
.chip--filter.is-active { background: var(--ink); color: #fff; }
.account-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 100px; background: var(--bone); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.account-chip--on { background: #e6f6ec; color: #1f9d55; }
.account-chip--on i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }

/* Bloc accueil */
.agenda-home .section__head { margin-bottom: clamp(24px, 3vw, 44px); }
.agenda-home__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrows button, .square-btn { display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 20px; transition: background .2s, color .2s, opacity .2s; }
.slider-arrows button:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.slider-arrows button:disabled { background: #fff; color: rgba(11, 11, 12, .3); border-color: rgba(11, 11, 12, .2); cursor: default; }
.slider { --bord: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bord); padding-inline: var(--bord); padding-bottom: 4px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.tile { flex: 0 0 min(420px, 84vw); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--bone); color: var(--ink); }
.tile__top { display: flex; gap: 18px; padding: 24px; }
.tile__date { flex: none; width: 78px; display: grid; justify-items: center; align-content: center; padding: 10px 0; background: var(--ink); color: rgba(255, 255, 255, .7); font: 700 14px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.tile__date span:first-child { color: var(--orange); }
.tile__date b { color: #fff; font: italic 800 44px/.95 var(--display); letter-spacing: 0; }
.tile__main { display: grid; gap: 10px; align-content: start; min-width: 0; }
.tile__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.tile h3 { font: 700 28px/1 var(--display); text-transform: uppercase; }
.tile__time { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.tile__time .icon { color: var(--mute-dark); }
.tile__places { display: grid; gap: 8px; padding: 0 24px 20px; margin-top: auto; }
.tile__places p { color: #1f9d55; font-weight: 700; font-size: 14px; }
.tile__places p.is-full, .agenda-row__places.is-full { color: #b45309; }
.gauge { height: 6px; border-radius: 100px; background: rgba(11, 11, 12, .08); overflow: hidden; }
.gauge i { display: block; height: 100%; border-radius: 100px; background: var(--orange); }
.gauge.is-full i { background: #b45309; }
.tile__action { display: grid; gap: 8px; padding: 18px 24px 22px; border-top: 1px solid rgba(11, 11, 12, .12); }
.tile-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 18px; border-radius: 2px; font: 700 18px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; text-align: center; transition: filter .2s, background .2s; }
.tile-btn:hover { filter: brightness(.93); }
.tile-btn--go { background: var(--orange); color: var(--ink); }
.tile-btn--dark { background: var(--ink); color: #fff; }
.tile-btn--dark .icon { color: var(--orange); }
.tile-btn--dark:hover { filter: none; background: var(--ink-3); }
.tile-btn--done { background: #e6f6ec; color: #1f9d55; }
.tile-btn--off { background: rgba(11, 11, 12, .08); color: var(--mute-dark); }
.tile-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile-duo .tile-btn { padding-inline: 10px; font-size: 16px; }
.tile-note { color: var(--mute-dark); font-size: 13px; }
.tile-note a { text-decoration: underline; }
.agenda-home__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.slider-progress { flex: 0 0 180px; height: 3px; background: rgba(11, 11, 12, .14); }
.slider-progress i { display: block; height: 100%; width: 25%; background: var(--orange); transition: width .2s; }
.agenda-home__note { margin-top: 18px; color: var(--mute-dark); font-size: 15px; }
.agenda-home__empty { padding: 28px; background: var(--bone); color: var(--mute-dark); }
.agenda-home__empty a { color: var(--orange-text); font-weight: 600; text-decoration: underline; }

/* Bloc « Nouveau » */
.nouveau-wrap { background: var(--bone); padding-bottom: clamp(64px, 7.2vw, 104px); }
#programmes.section--bone { padding-bottom: clamp(40px, 4vw, 56px); }
.nouveau { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.nouveau__content { position: relative; z-index: 2; display: grid; gap: 20px; justify-items: start; padding: clamp(28px, 3.6vw, 52px) clamp(20px, 3.4vw, 48px); }
.nouveau__tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--orange); color: var(--ink); font: 700 18px/1 var(--display); letter-spacing: .17em; text-transform: uppercase; }
.nouveau h2 { font: italic 800 clamp(44px, 5.9vw, 84px)/.92 var(--display); text-transform: uppercase; }
.nouveau h2 span { display: block; color: var(--orange); }
.nouveau__lede { max-width: 540px; color: rgba(255, 255, 255, .75); font-size: 18px; line-height: 1.5; }
.nouveau ul { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; }
.nouveau li { display: flex; align-items: center; gap: 8px; }
.nouveau li .icon { color: var(--orange); }
.nouveau__media { position: relative; height: 260px; }
.nouveau__media img { width: 100%; height: 100%; object-fit: cover; }
.nouveau__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(11, 11, 12, .1), rgba(11, 11, 12, .6)); }
.nouveau__num { position: absolute; z-index: 1; right: 24px; bottom: 4px; font: italic 800 clamp(110px, 14vw, 200px)/.85 var(--display); color: rgba(255, 255, 255, .9); }
@media (min-width: 900px) {
  .nouveau { display: flex; min-height: 510px; align-items: center; }
  .nouveau__content { max-width: 56%; }
  .nouveau__media { position: absolute; inset: 0 0 0 auto; width: 47%; height: auto; clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
  .nouveau__stripe { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 47%; background: var(--orange); clip-path: polygon(28% 0, 33% 0, 5% 100%, 0 100%); }
}

/* Page agenda */
.agenda-hero { background: var(--ink); color: #fff; }
.agenda-hero__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding-block: clamp(32px, 4vw, 56px) clamp(28px, 3.4vw, 48px); }
.agenda-hero h1 { margin: 14px 0; font: italic 800 clamp(48px, 6.7vw, 96px)/.92 var(--display); text-transform: uppercase; }
.agenda-hero__inner > div > p:last-child { color: rgba(255, 255, 255, .75); font-size: 18px; }
.agenda-page { display: grid; gap: 32px; align-items: start; }
.agenda-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.agenda-bar__week { display: flex; align-items: center; gap: 10px; }
.agenda-bar__week strong { font: 700 24px/1 var(--display); text-transform: uppercase; }
.square-btn { width: 38px; height: 38px; background: #fff; color: var(--ink); border-color: rgba(11, 11, 12, .2); font-size: 16px; }
.square-btn:hover { background: var(--ink); color: #fff; }
.agenda-bar__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.agenda-day { margin: 22px 0 10px; color: var(--mute-dark); font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.agenda-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 24px; margin-bottom: 10px; background: var(--bone); border-left: 4px solid transparent; }
.agenda-row.is-mine { border-left-color: var(--orange); }
.agenda-row__time { flex: none; width: 110px; display: grid; gap: 2px; }
.agenda-row__time b { font: 800 30px/1 var(--display); }
.agenda-row__time span, .agenda-row__main p { color: var(--mute-dark); font-size: 13px; }
.agenda-row__main { flex: 1; min-width: 220px; display: grid; gap: 6px; }
.agenda-row__main h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 18px/1.2 var(--body); }
.agenda-row__places { flex: none; width: 140px; font-weight: 700; font-size: 14px; }
.agenda-row__action { flex: none; width: 250px; display: grid; gap: 6px; }
.agenda-row__action .tile-btn { padding: 13px 14px; font-size: 16px; }
.agenda-row__action .tile-note { font-size: 12px; }
.agenda-page__side { display: grid; gap: 16px; }
.side-card { display: grid; gap: 12px; justify-items: start; padding: 24px; background: var(--bone); }
.side-card small { color: var(--orange-text); font: 700 13px/1 var(--display); letter-spacing: .15em; text-transform: uppercase; }
.side-card--dark { background: var(--ink); color: #fff; border-top: 4px solid var(--orange); }
.side-card--dark small { color: var(--orange); }
.side-card--dark > strong { font: italic 800 30px/1 var(--display); text-transform: uppercase; }
.side-card--dark p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.side-card__credits b { color: #fff; font: italic 800 44px/.9 var(--display); margin-right: 6px; }
.side-card--dark > a:not(.btn) { width: 100%; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: 15px; }
.side-card--dark > a:not(.btn):hover { color: var(--orange); }
@media (min-width: 1100px) { .agenda-page { grid-template-columns: minmax(0, 1fr) 340px; } .agenda-page__side { position: sticky; top: 110px; } }
@media (max-width: 700px) { .agenda-row__action { width: 100%; } .agenda-row__places { width: auto; } }
