/* =========================================================================
   Concert BOZAR — Une Note pour Chacun × dside
   ========================================================================= */
:root {
  --black: #000;
  --ink: #111;
  --white: #fff;
  --grey-btn: #e6e6e6;
  --grey-line: #c9c9c9;
  --grey-text: #6b6b6b;
  --chip-bg: #f1f1f1;
  --muted: rgba(255, 255, 255, 0.72);
  --radius: 4px;
  --radius-lg: 14px;
  --container: 1242px;
  /* Échelle typographique (relevée sur la maquette 1440 px) */
  --fs-label: clamp(12px, 1.05vw, 15px);
  --fs-small: clamp(13px, 1.05vw, 15px);
  --fs-lede: clamp(17px, 1.85vw, 27px);
  --fs-h2: clamp(30px, 3.35vw, 48px);
  --fs-meta: clamp(15px, 1.8vw, 26px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; z-index: 60; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.sponsor :focus-visible { outline-color: var(--white); }

.icon { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: .95em; height: .95em; }

/* ---------- Navigation sticky ---------- */
:root { --nav-h: 64px; }
html { scroll-padding-top: calc(var(--nav-h) + 8px); }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-bottom-color: #ececec; box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: calc(var(--container) + 48px); height: var(--nav-h); margin: 0 auto; padding: 0 24px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.nav__brand img { width: 30px; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__menu a:not(.btn) {
  position: relative; display: inline-block; padding: 10px 12px; font-size: 13px; font-weight: 500; text-decoration: none; color: #333;
  transition: color .2s;
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--black);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu a:not(.btn):hover, .nav__menu a.is-active { color: var(--black); }
.nav__menu a:not(.btn):hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__cta-item { margin-left: 10px; }
.nav__cta { min-height: 38px; padding: 8px 18px; font-size: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 10px; background: none; place-items: center; -webkit-tap-highlight-color: transparent; transition: background .2s; }
.nav__toggle:focus { outline: none; }
.nav__toggle:focus-visible { outline: none; background: #f1f1f1; }
.nav__toggle svg { width: 24px; height: 24px; stroke: var(--black); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.nav__toggle path { transition: transform .3s var(--ease); transform-origin: center; }
.nav.is-open .nav__toggle .l1 { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle .l2 { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px calc(24px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid #ececec;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a:not(.btn) { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__cta-item { margin: auto 0 0; padding-top: 24px; }
  .nav__cta { width: 100%; min-height: 46px; font-size: 13px; }
}
@media (max-width: 380px) { .nav__brand { font-size: 10px; letter-spacing: .08em; } }
@media (max-width: 860px) { .hero > .eyebrow { display: none; } .hero__when { margin-top: 0; } }

/* ---------- Typo helpers ---------- */
.eyebrow {
  font-size: clamp(12px, 1.1vw, 16px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.label-title {
  font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
}
.section__title {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em;
}
.section__title--bold { font-weight: 600; font-size: var(--fs-h2); line-height: 1.2; }
.section__lede { font-size: var(--fs-lede); font-weight: 400; line-height: 1.22; max-width: 880px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 32px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--light { background: var(--black); color: var(--white); }
#personal-buy .icon { width: 0; opacity: 0; margin-left: -6px; transition: width .25s var(--ease), opacity .25s var(--ease), margin .25s var(--ease); }
#personal-buy:hover .icon, #personal-buy:focus-visible .icon { width: .95em; opacity: 1; margin-left: 0; }
.btn--light:hover { background: var(--white); color: var(--black); border-color: var(--black); transform: translateY(-1px); }
.btn--light:active { transform: translateY(0); }
.btn--dark {
  background: #1c1c1c; color: var(--white); min-height: 48px; padding: 12px 28px; border-radius: 8px;
  font-size: 13px; letter-spacing: .12em;
}
.btn--dark:hover { background: var(--black); box-shadow: 0 10px 24px rgba(0,0,0,.22); transform: translateY(-1px); }
.btn--dark[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--black); border-color: #d8d8d8; min-height: 44px; border-radius: 8px; font-size: 12px; letter-spacing: .1em; }
.btn--ghost:hover { border-color: var(--black); }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: clamp(56px, 8vw, 120px) 24px clamp(40px, 6vw, 84px);
  max-width: 1000px; margin: 0 auto;
}
.hero__title {
  margin-top: 26px;
  font-size: clamp(36px, 4.35vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em;
}
.hero__lede {
  margin: 40px auto 0; max-width: 840px;
  font-size: clamp(14px, 1.38vw, 20px); font-weight: 400; line-height: 1.4; color: #333;
}

.hero__when {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px;
  margin-top: 22px; padding: 10px 22px; border: 1px solid var(--black); border-radius: 999px;
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; letter-spacing: .01em;
}
.hero__when .dot { color: var(--grey-text); }
.hero__lede p + p { margin-top: 10px; }
@media (max-width: 720px) {
  .hero__when { border-radius: 14px; padding: 10px 16px; }
  .hero__when span:nth-child(4) { display: none; }
  .hero__when span:nth-child(5) { flex-basis: 100%; }
}

/* ---------- Stage (photo + infos) ---------- */
.stage { position: relative; overflow: hidden; }
.stage__glow {
  position: absolute; inset: 0;
  background: url("../img/hero-1200.jpg") center / cover no-repeat;
  filter: blur(70px) saturate(1.1);
  opacity: .2;
  transform: scale(1.3);
}
.stage__glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.7)); }
.stage__inner { position: relative; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 32px 24px 22px; }
.stage__media { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 2400 / 891; background: #1a1209; }
.stage__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.stage:hover .stage__media img { transform: scale(1.06); }
.stage__meta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; font-size: var(--fs-meta); font-weight: 300;
}
.meta-link {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 6px 0;
  text-decoration: none; font-weight: 300; position: relative; text-align: left;
}
.meta-link .icon { opacity: 0; width: 0; transition: opacity .3s var(--ease), width .3s var(--ease); }
.meta-link:hover .icon, .meta-link:focus-visible .icon { opacity: 1; width: 1.05em; }
.meta-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.meta-link:hover::after, .meta-link:focus-visible::after { transform: scaleX(1); }
.meta-link__label { font-weight: 400; }

.calendar { position: relative; }
.calendar__menu {
  position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 10; min-width: 230px;
  background: var(--white); color: var(--black); border-radius: 10px; padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  animation: pop .22s var(--ease);
}
.calendar__title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #777; padding: 6px 10px 8px; }
.calendar__menu a, .calendar__menu button {
  display: block; width: 100%; text-align: left; padding: 10px; border-radius: 6px; border: 0; background: none;
  font-size: 14px; text-decoration: none; color: var(--black);
}
.calendar__menu a:hover, .calendar__menu button:hover { background: #f1f1f1; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }

/* ---------- Sections ---------- */
.section { text-align: center; padding: clamp(56px, 7vw, 96px) 24px; }

/* Tickets */
.tickets { max-width: calc(var(--container) + 48px); margin: 0 auto; padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(48px, 5vw, 72px); }
.tickets .section__title { margin-bottom: clamp(28px, 4vw, 52px); }
.booking { display: flex; flex-direction: column; align-items: center; }
.booking__text { margin: 14px auto 28px; max-width: 720px; font-size: var(--fs-small); line-height: 1.5; color: #333; }
.divider { border: 0; border-top: 1px solid #e2e2e2; margin: 40px 0 44px; }

.fields {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 64px;
  width: 100%; max-width: 860px; margin: 30px auto 0;
}
.field { display: flex; flex-direction: column; align-items: center; }
.field label { font-size: var(--fs-label); font-weight: 500; margin-bottom: 6px; }
.field input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--grey-line);
  padding: 8px 4px 12px; text-align: center; font-size: clamp(14px, 1.2vw, 17px); font-weight: 400; color: var(--black);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  border-radius: 0;
}
.field input::placeholder { color: #a3a3a3; }
.field input:-webkit-autofill, .m-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--black); caret-color: var(--black); }
.field input:hover { border-bottom-color: #8a8a8a; }
.field input:focus { outline: none; border-bottom-color: var(--black); background: #fafafa; }
.field.is-invalid input { border-bottom-color: #c62828; }
.req { color: #c62828; font-weight: 500; }
.req-note { margin: 18px 0 0; font-size: 11px; color: var(--grey-text); }
.req-note span { color: #c62828; }
.field__error { min-height: 16px; margin-top: 4px; font-size: 11px; color: #c62828; }

.qty { margin: 18px 0 28px; display: flex; flex-direction: column; align-items: center; }
.qty__row { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper__btn {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid transparent; background: none;
  font-size: 16px; line-height: 1; transition: background-color .2s, border-color .2s, color .2s;
}
.stepper__btn:hover { border-color: var(--black); }
.stepper__btn:active { background: var(--black); color: var(--white); }
.stepper__btn[disabled] { opacity: .3; cursor: not-allowed; border-color: transparent; }
.stepper__input {
  width: 30px; height: 30px; text-align: center; background: transparent; padding: 0;
  border: 1px solid var(--black); border-radius: 3px; font-size: 16px; -moz-appearance: textfield; appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__total {
  min-width: 72px; padding: 4px 6px; border-bottom: 1px solid var(--grey-line);
  font-size: 17px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums;
}
.qty__total.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
.qty__hint { margin-top: 12px; font-size: 12px; color: var(--grey-text); }

/* Chips (montants) */
.chips {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  max-width: 830px; margin: 28px auto 0;
}
.chip {
  height: 44px; border-radius: 3px; border: 1px solid var(--chip-bg); background: var(--chip-bg); color: var(--black);
  font-size: clamp(15px, 1.15vw, 17px); font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.chip:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: translateY(-2px); }
.sponsor .chip { background: var(--grey-btn); border-color: var(--grey-btn); }
.sponsor .chip:hover { background: transparent; color: var(--white); border-color: var(--white); }
.sponsor { color: var(--white); }
.sponsor-deck { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 36px; }
.sponsor-deck__text { font-size: var(--fs-small); font-weight: 500; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--black); transform: translateY(-1px); }
.btn--outline-light.is-disabled { opacity: .6; cursor: default; pointer-events: none; }
.chip:active { transform: translateY(0); }

.donate .section__lede { margin-top: 24px; margin-bottom: 36px; }
.br-desktop { display: none; }
@media (min-width: 820px) { .br-desktop { display: inline; } }

/* Sponsor */
.sponsor { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 104px); }
.sponsor__bg {
  position: absolute; inset: -10% 0; background: url("../img/sponsor.jpg") center 40% / cover no-repeat;
  will-change: transform;
}
.sponsor__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.sponsor__content { position: relative; }
.sponsor .section__title { margin-bottom: 26px; }
.sponsor .section__lede { font-weight: 400; line-height: 1.12; margin-bottom: 26px; max-width: 920px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.sponsor .label-title { margin-top: 40px; }
.sponsor .section__title { margin-bottom: 30px; }

/* Contact */
.contact { padding-block: clamp(56px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.contact .section__lede { margin: 20px auto 24px; }


/* ---------- Programme & artistes ---------- */
.programme { max-width: calc(var(--container) + 48px); margin: 0 auto; padding-bottom: clamp(32px, 4vw, 48px); }
.programme .section__title, .artists .section__title { margin-top: 10px; }
.programme__tribute { margin: 16px auto 0; max-width: 640px; font-size: var(--fs-small); color: #444; }
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 44px); text-align: left; }
.part { padding: clamp(22px, 3vw, 32px); border: 1px solid #e6e6e6; border-radius: 12px; background: #fafafa; }
.part__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-text); margin-bottom: 14px; }
.work + .work { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e6e6e6; }
.work__title { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; line-height: 1.3; }
.work__sub { margin-top: 4px; font-size: 14px; color: #555; }
.work__performers { margin-top: 10px; font-size: 14px; font-weight: 500; }

.artists { max-width: calc(var(--container) + 48px); margin: 0 auto; padding-block: clamp(48px, 5vw, 72px); background: #f5f5f5; box-shadow: 0 0 0 100vmax #f5f5f5; clip-path: inset(0 -100vmax); }
.artists .feature { border-color: #e9e9e9; }
.artist-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 44px); text-align: left; align-items: start; }
.artist__photo, .feature__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: 10px; background: #eee; filter: grayscale(.15); transition: filter .4s, transform .6s var(--ease); }
.photo-fallback { display: grid; place-items: center; background: linear-gradient(135deg, #f1f1f1, #e2e2e2); color: #9a9a9a; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: .04em; }
.artist:hover .artist__photo { filter: none; transform: translateY(-3px); }
.artist__name { margin-top: 14px; font-size: 17px; font-weight: 600; }
.artist__role { font-size: 13px; color: var(--grey-text); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); text-align: left; }
.feature { display: flex; flex-direction: column; border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; background: #fff; }
.feature__photo { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 25%; border-radius: 0; }
.feature__body { position: relative; padding: clamp(18px, 2.4vw, 26px); }
.feature__title { margin: 4px 0 10px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.2; }
.feature__body > p:not(.label-title) { font-size: 14px; line-height: 1.6; color: #444; }

@media (max-width: 1100px) { .artist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .parts { grid-template-columns: 1fr; }
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .artist__name { font-size: 15px; }
  .features { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--white); color: var(--black); border-top: 1px solid #ececec; }
.footer__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 0 clamp(20px, 4vw, 40px);
  min-height: clamp(88px, 8vw, 120px);
}
.footer__logo { display: inline-flex; text-decoration: none; transition: opacity .25s, transform .25s var(--ease); }
.footer__logo:hover { opacity: .7; transform: translateY(-1px); }
.footer__logo--unpc img { width: clamp(64px, 7.2vw, 104px); height: auto; }
.wordmark { font-size: clamp(36px, 4.4vw, 64px); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.footer__legal { font-size: 11px; color: #777; text-align: center; }
.footer__legal a { color: inherit; }

.footer__legal-link { font-size: 12px; color: #6b6b6b; text-decoration: none; padding: 12px 8px; }
.footer__legal-link:hover { color: var(--black); text-decoration: underline; }
.req-note a, .m-note a { color: inherit; text-decoration: underline; }

/* ---------- Page légale (politique de confidentialité) ---------- */
.legal-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 820px; margin: 0 auto; padding: 24px 24px 0; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; padding: 10px 0; }
.legal-back:hover { text-decoration: underline; }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) 24px clamp(48px, 6vw, 80px); font-size: 15px; line-height: 1.65; color: #222; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; color: var(--black); }
.legal__updated { margin-top: 10px; font-size: 13px; color: var(--grey-text); }
.legal h2 { margin: 40px 0 12px; font-size: 20px; font-weight: 600; color: var(--black); scroll-margin-top: 24px; }
.legal h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 600; color: var(--black); }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { margin: 10px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal ul + p { margin-top: 12px; }
.legal address { font-style: normal; margin: 12px 0; padding: 14px 18px; border-left: 2px solid var(--black); background: #f7f7f7; }
.legal a { color: var(--black); }
.legal__toc { margin-top: 28px; padding: 18px 22px; border: 1px solid #e6e6e6; border-radius: 10px; }
.legal__toc ol { columns: 2; column-gap: 32px; margin: 0; font-size: 14px; }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal__table { overflow-x: auto; margin-top: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e6e6e6; }
.legal th { font-weight: 600; background: #f7f7f7; }
.legal__back-bottom { margin-top: 48px; text-align: center; }
@media (max-width: 720px) {
  .legal-header .eyebrow { display: none; }
  .legal__toc ol { columns: 1; }
}

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; justify-content: space-between; align-items: center;
  padding: 12px 16px 12px 20px; border-radius: 12px; text-decoration: none;
  background: rgba(0,0,0,.94); color: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.25);
  font-size: 13px; transform: translateY(140%); transition: transform .45s var(--ease);
}
.sticky-cta strong {
  background: var(--white); color: var(--black); padding: 9px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ---------- Modal ---------- */
.modal {
  width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 40px);
  padding: 0; border: 0; border-radius: 6px; background: var(--white); color: var(--black);
  overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease); }
.modal[open]::backdrop { animation: fade-in .3s ease; }
.modal.is-closing { animation: modal-out .2s ease forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
body.modal-open { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }

.modal__close {
  position: sticky; top: 14px; float: right; margin: 14px 14px -54px 0; z-index: 2;
  width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.9); border-radius: 50%;
  display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease);
}
.modal__close svg { width: 26px; height: 26px; stroke: var(--black); stroke-width: 1.4; fill: none; }
.modal__close:hover { background: #f0f0f0; transform: rotate(90deg); }
.modal__body { padding: 28px clamp(20px, 5vw, 44px) 28px; }
.modal fieldset { margin-top: 26px !important; }
.modal fieldset legend { margin-bottom: 14px; }
.modal__body > .step { animation: step-in .35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } }

.m-eyebrow { text-align: center; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.m-title { text-align: center; font-size: clamp(21px, 3vw, 26px); font-weight: 600; line-height: 1.15; text-transform: uppercase; margin-bottom: 20px; }
.m-title--case { text-transform: none; }
.m-lede { text-align: center; font-size: 14px; line-height: 1.4; margin: -10px auto 20px; }
.m-h { font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; margin: 20px 0 10px; }
.m-h--plain { font-size: 12px; font-weight: 400; margin: 18px 0 8px; }

.summary { width: 100%; border-collapse: collapse; font-size: 15px; }
.summary td { padding: 3px 0; }
.summary td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary tr.total td { border-top: 1px solid var(--black); padding-top: 10px; font-weight: 600; text-transform: uppercase; }
.summary tr.total + tr td, .summary tr.sep td { padding-top: 0; }
.summary tr.pre-total td { padding-bottom: 10px; }

.m-recap { font-size: 14px; line-height: 1.5; color: #333; }

.m-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.m-note { font-size: 12px; color: #666; text-align: center; max-width: 440px; }
.m-error { color: #c62828; font-size: 13px; text-align: center; min-height: 18px; }

/* Montant libre dans les modales */
.amount-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.amount-picker button {
  height: 44px; border-radius: 8px; border: 1px solid #ddd; background: var(--white); font-weight: 500;
  transition: border-color .2s, background-color .2s, color .2s;
}
.amount-picker button:hover { border-color: var(--black); }
.amount-picker button[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.amount-input { position: relative; }
.amount-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #888; }
.amount-input input {
  width: 100%; height: 48px; border: 1px solid #ddd; border-radius: 8px; padding: 0 16px 0 40px;
  font-size: 18px; font-weight: 500; color: var(--black); -moz-appearance: textfield; appearance: textfield;
}
.amount-input input:focus { outline: none; border-color: var(--black); }
.amount-input input::-webkit-outer-spin-button, .amount-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.m-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.m-field { display: flex; flex-direction: column; gap: 4px; }
.m-field--full { grid-column: 1 / -1; }
.m-field label { font-size: 12px; font-weight: 500; }
.m-field input {
  width: 100%; min-width: 0; height: 46px; border: 0; border-bottom: 1px solid #222; padding: 0 2px; font-size: 15px; color: var(--black); border-radius: 0; background: transparent;
}
.m-field input:focus { outline: none; border-bottom-width: 2px; }
.m-field.is-invalid input { border-bottom-color: #c62828; }
.m-field small { color: #c62828; font-size: 11px; min-height: 14px; }

/* Infos de virement (Invoice info V03) */
.card {
  border: 1px solid #e3e3ea; border-radius: 12px; padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px;
}
.card__label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.card__value { font-size: clamp(24px, 4vw, 30px); font-weight: 500; line-height: 1.15; margin-top: 2px; font-variant-numeric: tabular-nums; }
.card__value--ref { font-size: clamp(17px, 3vw, 20px); font-weight: 600; letter-spacing: .01em; word-break: break-all; margin-top: 4px; }
.card__sub { font-size: 12px; color: #555; margin-top: 2px; }
.card__hint { font-size: 12px; color: #9a9a9a; margin-top: 4px; line-height: 1.35; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid #d9d9e3; border-radius: 8px; background: var(--white); color: var(--black); font-size: 13px; font-weight: 500;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.copy-btn:hover { border-color: var(--black); }
.copy-btn:active { transform: scale(.97); }
.copy-btn svg, .copy-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copy-btn.is-copied, .copy-icon.is-copied { background: var(--black); color: var(--white); border-color: var(--black); }

.bank-list { border: 1px solid #e3e3ea; border-radius: 12px; overflow: hidden; }
.bank-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; }
.bank-row + .bank-row { border-top: 1px solid #e3e3ea; }
@media (max-height: 760px) and (min-width: 721px) {
  .modal__body { padding-top: 22px; padding-bottom: 22px; }
  .m-title { margin-bottom: 14px; }
  .m-lede { margin-bottom: 14px; }
  .m-actions { margin-top: 16px; }
}
.bank-row__label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.bank-row__value { font-size: clamp(15px, 2.4vw, 17px); font-weight: 500; margin-top: 1px; font-variant-numeric: tabular-nums; }
.copy-icon {
  flex: none; width: 36px; height: 36px; border-radius: 8px; border: 1px solid transparent; background: none; color: #888;
  display: grid; place-items: center; transition: color .2s, border-color .2s, background-color .2s;
}
.copy-icon:hover { color: var(--black); border-color: #ddd; }


.success { text-align: center; padding: 20px 0 6px; }
.success__icon {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--black); display: grid; place-items: center;
  animation: pop .4s var(--ease);
}
.success__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success p { max-width: 440px; margin: 0 auto; color: #333; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 1000;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white); border: 1px solid #333; padding: 10px 18px; border-radius: 999px; font-size: 13px;
  transition: opacity .25s, transform .35s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  /* iOS : pas de zoom automatique au focus (police ≥ 16 px) */
  .field input, .m-field input, .amount-input input { font-size: 16px; }
  /* Zones tactiles ≥ 44 px */
  .meta-link { min-height: 44px; }
  .copy-btn, .copy-icon { width: 44px; height: 44px; }
  .footer__logo { min-height: 44px; align-items: center; }
  /* Lisibilité */
  .btn { font-size: 13px; }
  .req-note, .card__label, .bank-row__label { font-size: 12px; }
  .modal__body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .sponsor__bg { background-image: url("../img/sponsor-1440.jpg"); }
  .stage__inner { padding: 28px 16px 16px; }
  .stage__media { aspect-ratio: 4 / 3; border-radius: 8px; }
  .stage__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .meta-link .icon { opacity: 1; width: 1.05em; }
  .calendar__menu { left: 0; right: auto; }

  .fields { grid-template-columns: 1fr; gap: 18px; }
  .booking__text { font-size: 13px; }
  .btn { min-height: 46px; padding-inline: 32px; }
  .btn--ghost { font-size: 12px; }
  .stepper__btn { width: 40px; height: 40px; font-size: 20px; }
  .stepper__input { height: 44px; width: 60px; font-size: 16px; }
  .qty__total { font-size: 15px; }

  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chip { height: 48px; font-size: 16px; }

  .footer__inner { justify-content: space-between; padding-block: 20px; }
  .sticky-cta { display: flex; }

  .modal { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .modal[open] { animation: sheet-in .4s var(--ease); }
  .modal.is-closing { animation: sheet-out .25s ease forwards; }
  @keyframes sheet-in { from { transform: translateY(100%); } }
  @keyframes sheet-out { to { transform: translateY(100%); } }
  .m-fields { grid-template-columns: 1fr; }
  .m-title { padding-inline: 36px; }
  .card { padding: 12px 16px; gap: 10px; }
  .copy-btn { padding: 0; width: 44px; justify-content: center; }
  .copy-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bank-row { padding: 10px 16px; }
  .amount-picker { grid-template-columns: repeat(2, 1fr); }
  .btn--dark { width: 100%; }
}

@media (hover: none) {
  #personal-buy .icon { width: .95em; opacity: 1; margin-left: 0; }
  .chip:hover { background: var(--chip-bg); color: var(--black); border-color: var(--chip-bg); transform: none; }
  .sponsor .chip:hover { background: var(--grey-btn); border-color: var(--grey-btn); }
  .btn--light:hover { background: var(--black); color: var(--white); border-color: transparent; transform: none; }
  .chip:active { background: var(--black); color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.modal h2:focus { outline: none; }
