/* =========================================================================
   Event page (Figma "Détail événement", 1139:8327)
   ========================================================================= */
.event__intro { padding-block: 80px 88px; background: #fff; }
.event__intro .article__crumbs { color: #009e30; }

.event__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #d6e0d9;
}
.event__status {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(242, 140, 20, 0.12);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 18px;
  color: var(--syn-orange);
}
.event__status--open::before { content: "● "; }
.event__keywords {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--syn-orange);
}
.event__keywords > * + *::before { content: "•"; margin-inline: 10px; }

.event__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  margin-top: 36px;
  padding: 28px 24px;
  border: 1px solid #e5e9ec;
  border-radius: var(--r-md);
  background: #f4f7f9;
}
.event__fact { min-width: 190px; }
.event__fact-label {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  color: #2b3024;
}
.event__fact-value {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 27px;
  color: #2b3024;
}
.event__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-inline-start: auto; }
.btn--event {
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}
.btn--event-outline {
  border: 1px solid #009e30;
  background: #fff;
  color: #009e30;
}
.btn--event-outline:hover { background: #009e30; color: #fff; }

.event__program { padding-block: 104px 112px; background: #fff; }
.event__program .eyebrow {
  margin-bottom: 46px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
}
.event__program-title {
  margin: 0 0 46px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: #2b3024;
}
.event__program-columns {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 400px);
  justify-content: space-between;
  gap: 80px;
  align-items: start;
}

/* Programme slots. The field wrappers collapse so the items are flex children. */
.event__agenda { display: flex; flex-direction: column; gap: 14px; }
.event__agenda > div,
.event__agenda > div > div { display: contents; }
.agenda-item {
  display: flex;
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid #d1e0d1;
  border-radius: 18px;
  background: #f6faf7;
}
.agenda-item__time {
  flex: none;
  width: 96px;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 22px;
  color: #eb6e0d;
}
.agenda-item__title {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 28px;
  color: #141c17;
}
.agenda-item__text { font-size: 0.9375rem; line-height: 24px; color: #57665c; }

.event__reasons {
  position: sticky;
  top: 24px;
  padding: 46px 40px;
  border: 1px solid #e5e9ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.06);
}
.event__reasons-title {
  margin: 0 0 24px;
  font-size: 1.6875rem;
  font-weight: 600;
  line-height: 35px;
  color: #2b3024;
}
.event__reasons-intro { margin: 0 0 24px; font-size: 1rem; line-height: 26px; color: #2b3024; }
.event__reasons-list { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
.event__reasons-list li {
  display: flex;
  gap: 16px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 25px;
  color: #2b3024;
}
.event__reasons-list span {
  flex: none;
  width: 34px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 20px;
  color: var(--syn-orange);
}
.event__place { margin-top: 24px; padding-top: 24px; border-top: 1px solid #386e4f; }
.event__place-value {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 26px;
  color: #2b3024;
}
.event__map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #009e30;
}
.event__map:hover { text-decoration: none; }

.event__cta {
  padding: 96px 0;
  border-radius: var(--r-band) var(--r-band) 0 0;
  background: #f4f7f9;
}
.event__cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border-radius: 24px;
  background: var(--syn-green-800);
  color: #fff;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.06);
}
.event__cta-card > div { flex: 1 1 520px; }
.event__cta-meta {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--syn-amber);
}
.event__cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.event__cta-text { font-size: 1rem; line-height: 26px; color: #fff; }
.event__cta-card .btn--event { min-width: 320px; min-height: 56px; font-weight: 700; }

/* Recette: on tablets the buttons stay beside the facts, the programme
   beside its reasons and the call to action beside its button. */
@media (max-width: 1024px) {
  .event__program-columns { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; }
  .event__facts { flex-wrap: nowrap; gap: 18px; }
  .event__actions { flex: none; flex-direction: column; }
  .event__fact { flex: 1 1 0; min-width: 0; }
  .event__cta-card { flex-wrap: nowrap; gap: 28px; padding: 40px 32px; }
  .event__cta-card > div { flex: 1 1 auto; }
}
@media (max-width: 720px) {
  .event__program-columns { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .event__reasons { position: static; }
  .event__facts { flex-wrap: wrap; }
  .event__actions { flex-direction: row; margin-inline-start: 0; }
  .event__cta-card { flex-wrap: wrap; }
  .event__intro { padding-block: 48px 56px; }
  .event__facts { padding: 22px 18px; }
  .event__program { padding-block: 56px 72px; }
  .event__program .eyebrow,
  .event__program-title { margin-bottom: 24px; }
  .event__reasons { padding: 32px 24px; }
  .agenda-item { flex-direction: column; gap: 8px; padding: 20px; }
  .agenda-item__time { width: auto; }
  .event__cta { padding: 56px 0; }
  .event__cta-card { padding: 32px 24px; gap: 24px; }
  .event__cta-card .btn--event { min-width: 0; width: 100%; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  /* Recette (event page, medium screens): the facts on one row, the two
     buttons side by side on a row of their own under them. */
  .event__facts { flex-wrap: wrap; gap: 24px 18px; }
  .event__fact { flex: 1 1 0; }
  .event__facts > .event__actions { flex: 1 1 100%; flex-direction: row; margin-inline-start: 0; padding-top: 22px; border-top: 1px solid #e5e9ec; }
  .event__facts > .event__actions .btn--event { flex: 0 1 auto; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  /* Recette: the "Pourquoi participer ?" card in the narrow side column. */
  .event__reasons { padding: 32px 26px; }
  .event__reasons-title { margin-bottom: 16px; font-size: 1.375rem; line-height: 1.3; }
  .event__reasons-intro { margin-bottom: 20px; font-size: 0.9375rem; line-height: 1.6; }
  .event__reasons-list { gap: 16px; }
  .event__reasons-list li { gap: 10px; font-size: 0.9375rem; line-height: 1.4; }
  .event__reasons-list span { width: 22px; line-height: 21px; }
}
@media (max-width: 1024px) {
  /* Recette: a compact button, so the text takes most of the card. */
  .event__cta-card > div { flex: 1 1 0; min-width: 0; }
  .event__cta-card .btn--event { flex: none; min-width: 0; width: auto; min-height: 52px; padding: 14px 24px; white-space: nowrap; }
}
@media (max-width: 720px) {
  .event__cta-card .btn--event { width: 100%; }
}
@media (max-width: 720px) {
  /* Recette (small screens): the facts on top, the buttons on a row of
     their own under them, as on tablets. */
  .event__facts { flex-wrap: wrap; gap: 18px 16px; }
  .event__fact { flex: 1 1 0; min-width: 0; }
  .event__facts .event__fact-value { font-size: 1rem; line-height: 1.35; }
  .event__facts > .event__actions { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; margin-inline-start: 0; padding-top: 18px; border-top: 1px solid #e5e9ec; }
}
@media (max-width: 480px) {
  /* Narrow phones: the facts two by two, the buttons full width. */
  .event__fact { flex: 1 1 40%; }
  .event__facts > .event__actions .btn--event { flex: 1 1 100%; }
}
