/* ============================================================
   Événement — détail / checkout / succès.
   Playfair Display (titles) · Inter (body) · brique #B23A34.
   Parallax image header + sticky booking card, CSS only.
   ============================================================ */
.evs {
  --hd: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --brick: #B23A34;
  --ink: #1A1A1A;
  --ink-soft: #4a4a4a;
  --grey-soft: #F2F2F2;
  color: var(--ink);
  font-family: var(--hd);
  position: relative;   /* anchors the absolute over-nav */
}
.evs .wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---- Parallax header ---- */
.evs-hero { position: relative; min-height: clamp(360px, 56vh, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.evs-hero__bg { position: absolute; inset: 0; background: var(--img, none) center / cover no-repeat;
  background-attachment: fixed; transform: scale(1.05); }
.evs-hero__scrim { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.05) 38%, rgba(0,0,0,.74) 100%); }
.evs-hero__inner { position: relative; width: 100%; color: #fff; padding-bottom: clamp(30px, 4vw, 56px); padding-top: clamp(22px, 3vw, 34px); }
.evs-back { display: inline-block; color: #fff; text-decoration: none; font-size: 14.5px; opacity: .9; margin-bottom: 18px; }
.evs-back:hover { opacity: 1; }
.evs-hero__date { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin: 0 0 10px; }
.evs-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5.4vw, 66px); line-height: 1.03;
  margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
@supports (-webkit-touch-callout: none) { .evs-hero__bg { background-attachment: scroll; } }

/* ---- Grid ---- */
.evs-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(28px, 4vw, 64px);
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 40px); align-items: start; }
@media (max-width: 900px) { .evs-grid { grid-template-columns: 1fr; } }

.evs-alert { border: 1px solid #E7C7C7; background: #FBF1F1; color: #8A2B2B; border-radius: 12px;
  padding: 12px 14px; font-size: 14px; margin: 0 0 22px; }

.evs-desc { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; color: var(--ink-soft); }
.evs-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 18px; }

.evs-facts { display: flex; flex-direction: column; gap: 2px; margin: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid #e6e6e6; }
.evs-fact { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 2px; border-bottom: 1px solid #e6e6e6; }
.evs-fact__k { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
.evs-fact__v { font-size: 15.5px; color: var(--ink); }
.evs-map { display: inline-block; margin-top: 4px; color: var(--brick); text-decoration: none; font-weight: 600; font-size: 14px; }
.evs-map:hover { text-decoration: underline; }

/* ---- Attendees ---- */
.evs-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px;
  border-radius: 999px; background: var(--brick); color: #fff; font-family: var(--hd); font-size: 14px; font-weight: 700;
  vertical-align: middle; margin-left: 6px; }
.evs-muted { color: var(--ink-soft); font-size: 15px; }
.evs-note { margin-top: 14px; font-size: 13.5px; }
.evs-people { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px 20px; }
.evs-person { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 74px; text-align: center; }
.evs-avatar { width: 60px; height: 60px; border-radius: 999px; background: var(--grey-soft) center / cover no-repeat;
  display: grid; place-items: center; box-shadow: 0 8px 20px -12px rgba(0,0,0,.4); }
.evs-avatar--anon { font-family: var(--serif); font-size: 22px; color: #9a9a9a; filter: none; }
.evs-person__name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }

/* ---- Sticky booking card ---- */
.evs-side { position: sticky; top: 24px; }
@media (max-width: 900px) { .evs-side { position: static; } }
.evs-book { background: #fff; border: 1px solid #ececec; border-radius: 20px; padding: 26px 24px;
  box-shadow: 0 30px 70px -46px rgba(0,0,0,.3); }
.evs-book__price { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1; }
.evs-book__seats { font-size: 14px; font-weight: 600; color: var(--brick); margin: 10px 0 20px; }
.evs-book__seats.is-full { color: #9a9a9a; }
.evs-book__done { font-size: 15px; font-weight: 600; color: #245B34; margin: 0 0 6px; }
.evs-book__note { font-size: 12.5px; color: #8a8a8a; line-height: 1.5; margin: 16px 0 0; }

.evs-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 52px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--hd); font-weight: 600; font-size: 15.5px; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease; }
.evs-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(0,0,0,.5); }
.evs-cta[disabled] { background: #eee; border-color: #eee; color: #9a9a9a; cursor: not-allowed; transform: none; box-shadow: none; }
.evs-cta--ghost { background: #fff; color: var(--ink); }

/* ---- Checkout / success ---- */
.evs-checkout { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 40px); max-width: 720px; }
.evs-checkout__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); margin: 18px 0 4px; }
.evs-checkout__amount { font-size: 18px; font-weight: 700; margin: 0 0 26px; }
#stripe-embedded { min-height: 480px; }

.evs-success { max-width: 620px; text-align: center; padding: clamp(60px, 10vw, 120px) clamp(20px, 4vw, 40px); }
.evs-success__mark { width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(178,58,52,.1); color: var(--brick); }
.evs-success__mark svg { width: 32px; height: 32px; }
.evs-success__title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 14px; }
.evs-success__lede { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0 auto 30px; max-width: 46ch; }
.evs-success__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.evs-success__cta .evs-cta { width: auto; padding: 0 26px; }

.reveal { opacity: 0; transform: translateY(22px); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: evs-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes evs-reveal { to { opacity: 1; transform: none; } }
@supports not (animation-timeline: view()) { .reveal { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

:where(.evs a, .evs button):focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; border-radius: 12px; }
