/* =====================================================================
   MML Booking — Tunnel de réservation
   Direction v2 : corporate, épuré, sobre. Grotesque droit (Archivo),
   accent unique bordeaux du logo (#A81A25). Isolé en Shadow DOM.
   ===================================================================== */

.mmlb, .mmlb * { box-sizing: border-box; margin: 0; padding: 0; }
.mmlb {
	--ink: #1a1a1a;
	--ink-soft: #6a6a6a;
	--accent: #a81a25;
	--accent-deep: #8a1420;
	--accent-tint: #f7edee;
	--bg: #f6f6f5;
	--paper: #ffffff;
	--line: #e6e5e2;
	--line-strong: #d6d5d1;
	--r: 12px;
	--r-sm: 8px;
	--ease: cubic-bezier(0.32, 0.72, 0, 1);
	--font: 'Archivo', system-ui, -apple-system, sans-serif;

	font-family: var(--font);
	color: var(--ink);
	max-width: 900px;
	margin: 0 auto;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* ---- Conteneur ------------------------------------------------------- */
.mmlb__shell { background: #efedea; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(20,20,20,.04); padding: 8px; }
/* align-items: start — le panneau bordeaux garde sa hauteur PROPRE : sans cela, la
   grille l'étire à la hauteur de la carte du tunnel, qui varie à chaque étape. */
.mmlb__layout { display: grid; grid-template-columns: 280px 1fr; gap: 8px; align-items: start; }
.mmlb__main { min-width: 0; background: var(--paper); border-radius: 12px; overflow: hidden; }

/* ---- Panneau latéral (identité + récap) ------------------------------ */
.mmlb__aside { display: flex; flex-direction: column; gap: 8px; }
.mmlb__portrait { width: 100%; aspect-ratio: 4 / 5; background-color: #fff; background-size: cover; background-position: center top; background-repeat: no-repeat; display: block; border-radius: 12px; }
.mmlb__aside-in {
	background: #6d1420;
	background-image: linear-gradient(180deg, #78141f 0%, #551019 100%);
	color: #fff; border-radius: 12px;
	padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 18px;
}
/* Le récap garde 4 lignes fixes (tirets tant que la valeur est inconnue) : la carte
   bordeaux a exactement la même hauteur à chaque étape du tunnel. */
.mmlb__sum .mmlb__sumlist { border-top: 1px solid rgba(255,255,255,.18); margin-top: 18px; padding-top: 18px; }
.mmlb__who b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.mmlb__who span { display: block; font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 4px; }
.mmlb__sum { border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.mmlb__sumlist { display: flex; flex-direction: column; gap: 13px; }
.mmlb__sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.mmlb__sumrow span { color: rgba(255,255,255,.72); }
.mmlb__sumrow b { font-weight: 600; text-align: right; }
.mmlb__points { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.mmlb__points li { position: relative; padding-left: 22px; font-size: 13px; color: rgba(255,255,255,.92); line-height: 1.4; }
.mmlb__points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); }
.mmlb__points li::after { content: ""; position: absolute; left: 4.5px; top: 7px; width: 4px; height: 2px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.mmlb__rating { margin-top: auto; font-size: 13px; color: rgba(255,255,255,.85); }
.mmlb__rating b { color: #fff; font-weight: 600; }
.mmlb__stars { color: #f4c542; letter-spacing: 1px; }

/* ---- En-tête + progression ------------------------------------------- */
.mmlb__head {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 18px 28px; border-bottom: 1px solid var(--line);
}
.mmlb__kicker { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.mmlb__steps { display: flex; align-items: center; gap: 20px; }
.mmlb__stepdot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); font-weight: 500; transition: color .4s var(--ease); }
.mmlb__stepdot i {
	width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center;
	font-style: normal; font-size: 11px; font-weight: 600;
	background: #f0efec; color: var(--ink-soft); transition: all .4s var(--ease);
}
.mmlb__stepdot i svg { width: 11px; height: 11px; }
.mmlb__stepdot.is-done i { background: var(--accent); color: #fff; }
.mmlb__stepdot.is-active i { background: var(--accent); color: #fff; }
.mmlb__stepdot.is-active { color: var(--ink); }
.mmlb__stepdot span { display: none; }
@media (min-width: 760px) { .mmlb__stepdot span { display: inline; } }

/* ---- Corps ----------------------------------------------------------- */
.mmlb__body { padding: 34px 28px 28px; }
.mmlb__eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.mmlb__title { font-weight: 700; font-size: clamp(23px, 3.4vw, 31px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 10px; }
.mmlb__title em { font-style: normal; color: var(--accent); }
.mmlb__lede { color: var(--ink-soft); font-size: 14.5px; max-width: 52ch; margin-bottom: 28px; }

.mmlb__step { animation: mmlb-rise .55s var(--ease) both; }
@keyframes mmlb-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.mmlb-stagger > * { animation: mmlb-rise .5s var(--ease) both; }
.mmlb-stagger > *:nth-child(2) { animation-delay: .05s; }
.mmlb-stagger > *:nth-child(3) { animation-delay: .1s; }
.mmlb-stagger > *:nth-child(4) { animation-delay: .15s; }

/* ---- Étape 1 : cartes prestation ------------------------------------- */
.mmlb__services { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 620px) { .mmlb__services { grid-template-columns: 1fr 1fr; } }

.mmlb-card {
	position: relative; text-align: left; cursor: pointer; width: 100%;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
	font-family: var(--font); color: var(--ink);
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.mmlb-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 8px 24px -12px rgba(20,20,20,.18); }
.mmlb-card.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mmlb-card__inner { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; }
.mmlb-card__tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 16px; }
.mmlb-card__name { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; margin-bottom: 14px; }
.mmlb-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.mmlb-card__price b { font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.mmlb-card__price s { text-decoration: none; font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.mmlb-card__meta { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 16px; }
.mmlb-card__desc { display: block; width: 100%; font-size: 13px; line-height: 1.5; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; }
.mmlb-card__check { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all .3s var(--ease); }
.mmlb-card__check svg { width: 12px; height: 12px; stroke: #fff; opacity: 0; transform: scale(.6); transition: all .3s var(--ease); }
.mmlb-card.is-selected .mmlb-card__check { background: var(--accent); border-color: var(--accent); }
.mmlb-card.is-selected .mmlb-card__check svg { opacity: 1; transform: scale(1); }

/* ---- Étape 2 : calendrier + créneaux --------------------------------- */
.mmlb__sched { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .mmlb__sched { grid-template-columns: 1fr 1fr; align-items: start; } }

.mmlb-cal { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.mmlb-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mmlb-cal__month { font-size: 15px; font-weight: 600; text-transform: capitalize; letter-spacing: -.01em; }
.mmlb-cal__nav { display: flex; gap: 6px; }
.mmlb-cal__nav button { width: 30px; height: 30px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; color: var(--ink); display: grid; place-items: center; transition: all .3s var(--ease); }
.mmlb-cal__nav button svg { width: 15px; height: 15px; }
.mmlb-cal__nav button:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.mmlb-cal__nav button:disabled { opacity: .35; cursor: not-allowed; }
.mmlb-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mmlb-cal__dow { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding: 4px 0 8px; font-weight: 600; }
.mmlb-cal__day { aspect-ratio: 1; border: none; background: transparent; border-radius: var(--r-sm); cursor: pointer; font-family: var(--font); font-size: 13px; color: var(--ink); position: relative; transition: all .25s var(--ease); }
.mmlb-cal__day:disabled { color: #c7c6c2; cursor: default; }
.mmlb-cal__day.has-slots { font-weight: 600; }
.mmlb-cal__day.has-slots::after { content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.mmlb-cal__day.has-slots:hover { background: var(--accent-tint); }
.mmlb-cal__day.is-selected { background: var(--accent); color: #fff; font-weight: 600; }
.mmlb-cal__day.is-selected::after { background: #fff; }

.mmlb-slots__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 12px; }
.mmlb-slots__label b { color: var(--ink); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.mmlb-slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 7px; max-height: 296px; overflow-y: auto; }
.mmlb-slot { border: 1px solid var(--line-strong); background: var(--paper); border-radius: var(--r-sm); padding: 9px 4px; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: center; transition: all .25s var(--ease); }
.mmlb-slot:hover { border-color: var(--accent); color: var(--accent); }
.mmlb-slot.is-selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.mmlb-slots__empty { color: var(--ink-soft); font-size: 13.5px; padding: 30px 6px; text-align: center; line-height: 1.5; border: 1px dashed var(--line-strong); border-radius: var(--r); }

/* ---- Étape 3 : formulaire -------------------------------------------- */
.mmlb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mmlb-field { display: flex; flex-direction: column; gap: 7px; }
.mmlb-field.is-full { grid-column: 1 / -1; }
.mmlb-field label { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.mmlb-field label b { color: var(--accent); font-weight: 500; }
.mmlb-input, .mmlb-textarea { font-family: var(--font); font-size: 14.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 13px; width: 100%; transition: all .25s var(--ease); outline: none; }
.mmlb-input:focus, .mmlb-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.mmlb-textarea { resize: vertical; min-height: 118px; line-height: 1.5; }
.mmlb-count { font-size: 11px; color: var(--ink-soft); text-align: right; }

/* ---- Étape 4 : récapitulatif ----------------------------------------- */
.mmlb-recap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mmlb-recap__row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.mmlb-recap__row:last-child { border-bottom: none; }
.mmlb-recap__row > span { color: var(--ink-soft); font-size: 12.5px; }
.mmlb-recap__row b { font-weight: 600; font-size: 14px; text-align: right; }
.mmlb-recap__row b span { font-weight: 400; color: var(--ink-soft); font-size: 12.5px; }
/* Lien de connexion à la visioconférence : aux couleurs de la marque, jamais
   le bleu souligné par défaut du navigateur au milieu du récapitulatif. */
.mmlb-recap__row a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.mmlb-recap__row a:hover { color: #8a1420; }
.mmlb-recap__total { background: #fafafa; }
.mmlb-recap__total b { font-size: 20px; color: var(--accent); }

/* ---- Barre d'action -------------------------------------------------- */
.mmlb__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.mmlb-back { background: none; border: none; cursor: pointer; color: var(--ink-soft); font-family: var(--font); font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; transition: color .25s var(--ease); }
.mmlb-back:hover { color: var(--ink); }
.mmlb-back svg { width: 15px; height: 15px; }
.mmlb-cta {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--accent); color: #fff; border: none; cursor: pointer;
	font-family: var(--font); font-size: 14px; font-weight: 600;
	border-radius: var(--r-sm); padding: 12px 22px;
	transition: background .25s var(--ease), transform .2s var(--ease);
}
.mmlb-cta:hover:not(:disabled) { background: var(--accent-deep); }
.mmlb-cta:active:not(:disabled) { transform: scale(.985); }
.mmlb-cta:disabled { background: #dcdbd8; color: #fff; cursor: not-allowed; }
.mmlb-cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mmlb-cta:hover:not(:disabled) svg { transform: translateX(3px); }

/* ---- Étape 3 : pièces jointes ---------------------------------------- */
.mmlb-upload { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-radius: var(--r-sm); transition: background .2s var(--ease), outline-color .2s var(--ease); outline: 2px dashed transparent; outline-offset: 6px; }
/* Le champ de fichier reste dans le flux (un display:none empêche l'ouverture
   du sélecteur dans un shadow root), mais il est invisible : c'est le label
   qui sert de bouton. */
.mmlb-upload__input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mmlb-upload__input:focus-visible + .mmlb-upload__list + .mmlb-upload__btn,
.mmlb-upload__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Document survolé au-dessus de la zone : on le signale clairement. */
.mmlb-upload.is-drop { background: rgba(168, 26, 37, 0.05); outline-color: var(--accent); }
.mmlb-upload__hint { font-size: 12px; color: var(--ink-soft); }
.mmlb-upload__btn { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); padding: 10px 16px; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); }
.mmlb-upload__btn:hover { border-color: var(--accent); color: var(--accent); }
.mmlb-upload__btn svg { width: 15px; height: 15px; }
.mmlb-upload__list { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.mmlb-upload__list:empty { display: none; }
.mmlb-file { display: flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font-size: 13px; max-width: 100%; }
.mmlb-file svg { width: 14px; height: 14px; flex: none; stroke: var(--ink-soft); }
.mmlb-file b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mmlb-file i { font-style: normal; color: var(--ink-soft); font-size: 12px; flex: none; }
.mmlb-file button { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--ink-soft); font-size: 17px; line-height: 1; padding: 0 2px; transition: color .2s var(--ease); }
.mmlb-file button:hover { color: var(--accent); }
.mmlb-file.is-loading { opacity: .7; }
.mmlb-upload__err { color: var(--accent); font-size: 12px; min-height: 0; }
.mmlb-upload__err:empty { display: none; }

/* ---- Étape 5 : paiement ---------------------------------------------- */
.mmlb-pay { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--paper); min-height: 90px; max-width: 460px; }
.mmlb__testmode { background: #fff7e6; border: 1px solid #f0dcae; color: #8a6d1d; border-radius: var(--r-sm); font-size: 12.5px; padding: 8px 13px; margin-bottom: 14px; max-width: 460px; }
.mmlb__alert { background: var(--accent-tint); border: 1px solid #e5c4c7; color: var(--accent-deep); border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.45; padding: 11px 14px; margin-bottom: 18px; animation: mmlb-rise .4s var(--ease) both; }

/* ---- Écran final ------------------------------------------------------ */
.mmlb-success { text-align: center; padding: 12px 6px 4px; }
.mmlb-success__badge { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.mmlb-success__badge svg { width: 24px; height: 24px; }
.mmlb-success .mmlb__lede { margin: 10px auto 24px; }
.mmlb-success .mmlb-recap { text-align: left; max-width: 460px; margin: 0 auto; }

.mmlb__spinner--sm { width: 15px; height: 15px; border-width: 2px; margin: 0; display: inline-block; vertical-align: -2px; }
.mmlb-cta .mmlb__spinner--sm { border-color: rgba(255,255,255,.35); border-top-color: #fff; }

/* ---- Divers ---------------------------------------------------------- */
.mmlb__loading, .mmlb__error { padding: 54px 20px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.mmlb__error { color: var(--accent); }
.mmlb__spinner { width: 24px; height: 24px; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; margin: 0 auto 14px; animation: mmlb-spin .8s linear infinite; }
@keyframes mmlb-spin { to { transform: rotate(360deg); } }
.mmlb__note { font-size: 12px; color: var(--ink-soft); margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.mmlb__note svg { width: 14px; height: 14px; flex: none; stroke: var(--ink-soft); }

/* ---- Responsive : le panneau passe au-dessus, compact ---------------- */
@media (max-width: 820px) {
	.mmlb__layout { grid-template-columns: 1fr; }
	.mmlb__portrait { aspect-ratio: 21 / 8; background-position: center 24%; }
	.mmlb__sum { display: none; }
	.mmlb__points { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}
@media (max-width: 560px) {
	.mmlb__body { padding: 26px 20px 22px; }
	.mmlb-form { grid-template-columns: 1fr; }
	.mmlb__foot { flex-direction: column-reverse; align-items: stretch; }
	.mmlb-cta { justify-content: center; }
	.mmlb__points { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mmlb *, .mmlb *::before, .mmlb *::after { animation: none !important; transition: none !important; } }

/* ---- Espace client (lien magique, Lot 7) ------------------------------ */
.mmlb-badge { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 20px; background: #f0efec; color: var(--ink-soft); }
.mmlb-badge--ok { background: #e8f3ea; color: #22703a; }
.mmlb-badge--off { background: var(--accent-tint); color: var(--accent-deep); }
.mmlb-flash { display: flex; align-items: flex-start; gap: 10px; background: #e8f3ea; border: 1px solid #c9e2cf; color: #22703a; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.5; padding: 12px 14px; margin-bottom: 20px; animation: mmlb-rise .4s var(--ease) both; }
.mmlb-flash svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.mmlb-docs { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.mmlb-docs__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 2px; }
.mmlb-doc { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; font-size: 13.5px; color: var(--ink); text-decoration: none; transition: all .25s var(--ease); }
.mmlb-doc:hover { border-color: var(--accent); color: var(--accent); }
.mmlb-doc svg { width: 16px; height: 16px; flex: none; stroke: var(--ink-soft); }
.mmlb-doc:hover svg { stroke: var(--accent); }
.mmlb-doc b { font-weight: 500; }
.mmlb-doc i { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink-soft); font-weight: 600; letter-spacing: .06em; }
.mmlb-btn { background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 18px; font-family: var(--font); font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); }
.mmlb-btn:hover { border-color: var(--ink); }
.mmlb-btn--danger { color: var(--accent-deep); border-color: #e5c4c7; }
.mmlb-btn--danger:hover { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-deep); }
.mmlb-cta--danger { background: var(--accent-deep); }
.mmlb-cta--danger:hover:not(:disabled) { background: #6d1019; }

/* ---- Convention d'honoraires : consentement + aperçu ------------------- */
.mmlb-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 13px 15px; background: var(--accent-tint); border: 1px solid #e8d3d5; border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.55; color: var(--ink); cursor: pointer; max-width: 640px; }
.mmlb-consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); cursor: pointer; }
.mmlb-consent a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.mmlb-modal { position: fixed; inset: 0; background: rgba(20, 20, 20, .55); display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 18px; }
.mmlb-modal__card { background: #fff; border-radius: 10px; max-width: 700px; width: 100%; max-height: 84vh; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.mmlb-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #ececea; font-size: 14px; }
.mmlb-modal__close { background: none; border: none; font-size: 24px; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 0 4px; }
.mmlb-modal__close:hover { color: var(--accent); }
.mmlb-modal__body { padding: 18px 22px; overflow-y: auto; font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.mmlb-modal__body h1 { font-size: 15px; text-align: center; letter-spacing: .06em; margin: 0 0 14px; }
.mmlb-modal__body h2 { font-size: 13px; margin: 14px 0 4px; }
.mmlb-modal__body p { margin: 0 0 8px; text-align: justify; }

/* Envoi de pièces depuis l'espace client (v0.16.0) */
.mmlb-upl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e7e4df; border-radius: var(--r-sm); outline: 2px dashed transparent; outline-offset: 6px; transition: background .2s var(--ease), outline-color .2s var(--ease); }
.mmlb-upl.is-drop { background: rgba(168, 26, 37, 0.05); outline-color: var(--accent); }
/* Le label sert de bouton : il doit se comporter comme tel. */
label.mmlb-btn { cursor: pointer; }
.mmlb-upl__msg { font-size: 12.5px; color: #6b6862; }

/* Sorties de l'écran final (16/08/2026) : espace client, réassurance, accueil. */
.mmlb-success__note { margin: 14px auto 0; max-width: 460px; font-size: 13.5px; color: #6b6862; text-align: center; }
.mmlb-success__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
a.mmlb-cta--link { text-decoration: none; display: inline-flex; align-items: center; }
.mmlb-success__home { font-size: 13.5px; color: #6b6862; text-decoration: underline; text-underline-offset: 3px; }
.mmlb-success__home:hover { color: var(--accent); }
