/* "Prendre rendez-vous" pop-up (booking.js), from Joseph's 4 mockups in CITA AI_3 (25/10/2026). */
html.bm-open { overflow: hidden; }
.bm { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 28px; opacity: 0; transition: opacity .26s ease; font-family: inherit; }
.bm[hidden] { display: none; }
.bm.is-in { opacity: 1; }
.bm__scrim { position: absolute; inset: 0; background: rgba(214,226,252,.42); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15); }
.bm__panel { position: relative; width: min(1180px, 100%); max-height: calc(100vh - 56px); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 44px;
  padding: 44px 44px 40px; border-radius: 30px; background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(236,243,255,.62));
  border: 1px solid rgba(255,255,255,.95); box-shadow: 0 60px 120px -60px rgba(11,40,120,.55), inset 0 1px 0 #fff; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transform: translateY(14px) scale(.98); transition: transform .32s cubic-bezier(.2,.8,.2,1); outline: none; }
.bm.is-in .bm__panel { transform: none; }
.bm__close { position: absolute; top: 18px; right: 20px; z-index: 2; border: 1px solid #dbe5f7; background: rgba(255,255,255,.85); color: var(--navy); border-radius: 999px; padding: 8px 16px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.bm__close:hover { background: #fff; }
.bm__intro { align-self: start; padding-top: 18px; }
.bm__kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.bm__title { margin-top: 16px; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.08; font-weight: 700; color: var(--navy); letter-spacing: -.03em; }
.bm__title em { font-style: normal; color: var(--blue); }
.bm__lead { margin-top: 18px; font-size: 16.5px; line-height: 1.6; color: #66748f; }
.bm__facts { margin-top: 28px; padding-top: 22px; border-top: 1px solid #dfe7f5; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bm__facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3b4f86; }
.bm__facts dd { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--navy); }
.bm__card { min-width: 0; overflow-y: auto; max-height: calc(100vh - 140px); padding: 26px 26px 18px; border-radius: 22px; background: rgba(255,255,255,.9); border: 1px solid #e6edf9; box-shadow: 0 30px 60px -44px rgba(11,40,120,.5); }
.bm__steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0 0 22px; }
.bm__steps li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: #8a97b2; text-align: center; }
.bm__steps li::after { content: ""; position: absolute; top: 14px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: #e3eaf6; }
.bm__steps li:last-child::after { display: none; }
.bm__steps li.is-done::after { background: var(--blue); }
.bm__steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #eef3fc; color: #8a97b2; transition: background .3s ease, color .3s ease; }
.bm__steps li.is-on b, .bm__steps li.is-done b { background: var(--blue); color: #fff; box-shadow: 0 8px 16px -8px rgba(11,92,255,.8); }
.bm__steps li.is-on { color: var(--navy); font-weight: 600; }
.bm__label, .bm__h { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.bm__sub { margin-top: 4px; font-size: 14px; color: #7b88a4; line-height: 1.5; }
.bm__wheel { margin-top: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.bm__wheel:hover { -webkit-mask-image: none; mask-image: none; }
.bm__track { display: flex; gap: 10px; will-change: transform; }
.bm__cons { flex: 0 0 calc((100% - 20px) / 3); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #e3eaf6; background: #fff;
  text-align: left; font-family: inherit; color: var(--navy); cursor: pointer; transition: border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.bm__cons img, .bm__mono { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bm__mono { display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #fff; background: linear-gradient(150deg, #3d86ff, #0b4fd8); }
.bm__cons span { min-width: 0; flex: 1; }
.bm__cons b { display: block; font-size: 15px; }
.bm__cons small { display: block; font-size: 12.5px; color: #7b88a4; }
.bm__radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9d6ee; flex-shrink: 0; transition: border .3s ease; }
.bm__cons.is-on { border-color: var(--blue); background: #f2f6ff; box-shadow: 0 14px 28px -20px rgba(11,92,255,.8); }
.bm__cons.is-on .bm__radio { border: 5px solid var(--blue); }
.bm__creds { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bm__cred { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: #eef3fd; color: #33457a; font-size: 13px; font-weight: 600; }
.bm__cred--logo svg { width: 18px; height: 18px; }
.bm__cred--logo b { font-weight: 700; color: var(--navy); }
.bm__cred--logo i { font-style: normal; color: var(--blue); }
.bm__step { margin-top: 22px; padding-top: 20px; border-top: 1px solid #eef2fa; }
.bm__step[hidden] { display: none; }
.bm__grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bm__step label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.bm__step label small { font-weight: 400; color: #8a97b2; }
.bm__full { margin-top: 14px; }
.bm__step input:not([type=checkbox]), .bm__step textarea, .bm__alt input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #dbe5f6; background: #f8fbff; font-family: inherit; font-size: 15px; color: var(--navy); transition: border-color .2s ease, background .2s ease; }
.bm__step input:focus, .bm__step textarea:focus, .bm__alt input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11,92,255,.1); }
.bm__step textarea { resize: vertical; min-height: 84px; }
.bm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bm__cta { position: relative; overflow: hidden; display: block; width: 100%; margin-top: 18px; padding: 15px 20px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: 0 16px 30px -18px rgba(11,92,255,.9); transition: background .2s ease, opacity .2s ease; }
.bm__cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s ease; }
.bm__cta:hover::after { transform: translateX(100%); }
.bm__cta:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.bm__ghost { padding: 13px 18px; border-radius: 12px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s ease, color .25s ease; }
.bm__ghost:hover { background: var(--blue); color: #fff; }
.bm__link { border: 0; background: none; padding: 0; font-family: inherit; font-size: 13.5px; color: var(--blue); font-weight: 600; cursor: pointer; }
.bm__link u { text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 2px no-repeat; transition: background-size .3s ease; }
.bm__link:hover u { background-size: 100% 2px; }
.bm__days { margin-top: 14px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 6px; align-items: center; }
.bm__nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #dbe5f6; background: #fff; color: var(--navy); font-size: 18px; line-height: 1; cursor: pointer; }
.bm__daylist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.bm__daylist::-webkit-scrollbar { display: none; }
.bm__day { flex: 0 0 auto; min-width: 58px; display: grid; justify-items: center; padding: 8px 6px; border-radius: 12px; border: 1px solid #e3eaf6; background: #fff; font-family: inherit; color: var(--navy); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.bm__day small { font-size: 11px; color: #7b88a4; }
.bm__day b { font-size: 17px; }
.bm__day.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bm__day.is-on small { color: rgba(255,255,255,.85); }
.bm__day.is-full:not(.is-on) { opacity: .5; }
.bm__slots { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bm__col { display: grid; gap: 7px; align-content: start; }
.bm__col p { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3b4f86; }
.bm__slot { padding: 9px 6px; border-radius: 10px; border: 1px solid #dbe5f6; background: #fff; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy); text-align: center; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.bm__slot:hover, .bm__slot.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bm__slot.is-full { display: grid; cursor: default; background: #eef1f6; border-color: #e3e7ef; color: #a3acbf; text-decoration: line-through; }
.bm__slot.is-full:hover { background: #eef1f6; color: #a3acbf; border-color: #e3e7ef; }
.bm__slot.is-full small { font-size: 10.5px; text-decoration: none; letter-spacing: .04em; }
.bm__step > .bm__link { margin-top: 14px; display: block; color: #7b88a4; font-weight: 500; }
.bm__step > .bm__link u { color: var(--blue); font-weight: 600; }
.bm__alt { margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.bm__alt[hidden] { display: none; }
.bm__recap, .bm__box { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #f5f8ff; border: 1px solid #e6edf9; }
.bm__boxhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; color: var(--navy); }
.bm__facts4 { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 16px; }
.bm__facts4 small { display: block; font-size: 11.5px; color: #8a97b2; }
.bm__facts4 span { font-size: 14px; font-weight: 600; color: var(--navy); word-break: break-word; }
.bm__step label.bm__consent { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: #66748f; }
.bm__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.bm__status { margin-top: 10px; font-size: 14px; color: #c0263a; min-height: 1em; }
.bm__done { text-align: center; }
.bm__ok { margin-top: 6px; font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.bm__facts4--done { margin-top: 18px; text-align: left; padding: 14px 16px; border-radius: 14px; background: #f5f8ff; }
.bm__note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #e9f7f0; color: #146c4e; font-size: 14px; text-align: left; }
.bm__row { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bm__row .bm__cta { margin-top: 0; }
.bm__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef2fa; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12.5px; color: #8a97b2; }
@media (max-width: 980px) {
  .bm { padding: 0; }
  .bm__panel { grid-template-columns: 1fr; gap: 0; width: 100%; max-height: 100vh; height: 100vh; padding: 64px 16px 16px; border-radius: 0; overflow-y: auto; }
  .bm__intro { padding: 0 6px 16px; }
  .bm__lead, .bm__facts { display: none; }
  .bm__title { font-size: 28px; margin-top: 8px; }
  .bm__card { max-height: none; overflow: visible; padding: 20px 16px 16px; }
  .bm__cons { flex-basis: calc((100% - 10px) / 1.6); }
  .bm__steps span { font-size: 11px; }
}
@media (max-width: 560px) {
  .bm__grid { grid-template-columns: 1fr; }
  .bm__slots { gap: 8px; }
  .bm__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bm, .bm__panel, .bm__track { transition: none !important; } }
/* polish after first review (25/10/2026) */
.bm__scrim { background: rgba(214,226,252,.58); }
.bm__close { top: 10px; right: 14px; }
.bm__step .bm__cta { position: sticky; bottom: 0; z-index: 2; }
.bm__step > .bm__cta { box-shadow: 0 -14px 24px -10px rgba(255,255,255,.95), 0 16px 30px -18px rgba(11,92,255,.9); }
.bm__cred--img { padding: 7px 14px; background: #fff; border: 1px solid #e3eaf6; }
.bm__cred--img img { display: block; width: auto; }
.bm__cred--img img[alt="HEC Paris"] { height: 26px; }
.bm__cred--img { padding: 5px 14px; min-height: 36px; display: inline-flex; align-items: center; }
/* Full size: the site scales the whole page to 80 % (90 % on big screens); the booking panel is shown at 100 % (Joseph, 25/10/2026) */
@media (min-width: 1101px) { .bm { zoom: 1.25; } }
@media (min-width: 1800px) { .bm { zoom: 1.111; } }
.bm__cons { cursor: default; }
.bm__step select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #dbe5f6; background: #f8fbff; font-family: inherit; font-size: 15px; color: var(--navy); }
.bm__step select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11,92,255,.1); }
