/* Mon Hôtel – réservation (s'adapte aux couleurs du thème via --mh-accent) */
.mh-booking, .mh-suivi, .mh-avis, .mh-sticky {
  --a: var(--mh-accent, #2b7a84);
  --a2: var(--mh-accent-2, #f2a65a);
  --ink: var(--mh-ink, #1d2b2f);
  --soft: var(--mh-soft, #eef4f4);
  --r: var(--mh-radius, 22px);
  color: var(--ink);
  font-size: 16px;
}
.mh-booking *, .mh-suivi * { box-sizing: border-box; }
.mh-booking h3, .mh-suivi h3 { margin: 0 0 14px; font-size: 1.3rem; }
.mh-booking h3 small { display: block; font-size: .85rem; font-weight: 500; color: var(--a); margin-top: 4px; }

.mh-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; counter-reset: s; flex-wrap: wrap; }
.mh-steps li { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: .9rem; opacity: .65; transition: .35s; }
.mh-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--a); }
.mh-steps li.is-active { background: var(--a); color: #fff; opacity: 1; box-shadow: 0 10px 24px -12px var(--a); }
.mh-steps li.is-done { opacity: 1; }
.mh-steps li.is-done span { background: var(--a); color: #fff; }

.mh-panel { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: 0 20px 50px -30px rgba(20, 50, 60, .35); animation: mhIn .5s ease both; }
@keyframes mhIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.mh-offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.mh-offre-card { cursor: pointer; perspective: 600px; }
.mh-offre-card input { position: absolute; opacity: 0; }
.mh-offre-card__in { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: calc(var(--r) - 6px); border: 2px solid #e3ecec; background: linear-gradient(160deg, #fff, var(--soft)); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .35s; }
.mh-offre-card__in strong { font-size: 1.15rem; }
.mh-offre-card__in em { font-style: normal; font-size: .88rem; opacity: .75; }
.mh-offre-card__in b { font-size: 1.25rem; color: var(--a); margin-top: 6px; }
.mh-offre-card:hover .mh-offre-card__in { transform: rotateX(6deg) translateY(-3px); }
.mh-offre-card input:checked + .mh-offre-card__in { border-color: var(--a); box-shadow: 0 16px 30px -18px var(--a); transform: translateY(-4px); }
.mh-offre-card input:focus-visible + .mh-offre-card__in { outline: 3px solid var(--a2); }

.mh-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mh-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.mh-field input, .mh-field select, .mh-preuve input, .mh-preuve select, .mh-lookup input {
  font: inherit; font-weight: 400; padding: 13px 14px; border-radius: 14px; border: 1.5px solid #d7e2e2; background: #fbfdfd; width: 100%;
}
.mh-field input:focus, .mh-field select:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.mh-hp { position: absolute; left: -9999px; }

.mh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; border: 0; cursor: pointer; padding: 13px 22px; border-radius: 999px; background: var(--a); color: #fff; text-decoration: none; box-shadow: 0 10px 22px -12px var(--a); transition: transform .2s, box-shadow .2s, opacity .2s; }
.mh-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px var(--a); color: #fff; }
.mh-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.mh-btn--ghost { background: transparent; color: var(--a); box-shadow: inset 0 0 0 2px var(--a); }
.mh-btn--ghost:hover { color: var(--a); }
.mh-btn--big { padding: 16px 28px; font-size: 1.05rem; }
.mh-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 18px; }
.mh-msg { min-height: 1.4em; color: #b7791f; font-weight: 600; margin: 12px 0 0; }
.mh-hint { font-size: .9rem; opacity: .8; }

.mh-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.mh-room-tile { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: 18px; background: #f3f6f6; text-align: left; cursor: pointer; font: inherit; color: inherit; min-height: 170px; display: flex; flex-direction: column; box-shadow: 0 12px 26px -20px rgba(0,0,0,.5); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; animation: mhIn .45s ease both; animation-delay: calc(var(--i) * 40ms); }
.mh-room-tile__img { height: 92px; background: linear-gradient(135deg, var(--a), var(--a2)) center/cover; }
.mh-room-tile__num { position: absolute; top: 10px; left: 10px; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 12px; background: rgba(255,255,255,.92); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--a); box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); }
.mh-room-tile__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.mh-room-tile__body small { opacity: .7; }
.mh-room-tile__body em { font-style: normal; font-weight: 700; font-size: .8rem; color: #2f855a; }
.mh-room-tile:hover:not(:disabled) { transform: translateY(-4px) rotateX(4deg); box-shadow: 0 20px 32px -20px rgba(0,0,0,.55); }
.mh-room-tile.is-selected { box-shadow: 0 0 0 3px var(--a), 0 20px 32px -20px var(--a); transform: translateY(-4px); }
.mh-room-tile.is-selected::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--a); color: #fff; display: grid; place-items: center; font-weight: 800; }
.mh-room-tile.is-taken { cursor: not-allowed; filter: grayscale(1); opacity: .55; }
.mh-room-tile.is-taken em { color: #c53030; }

.mh-cart { margin: 18px 0; padding: 20px 22px; border-radius: var(--r); background: linear-gradient(140deg, var(--soft), #fff); border: 1.5px dashed color-mix(in srgb, var(--a) 40%, transparent); transition: transform .3s; }
.mh-cart.is-bump { transform: scale(1.02); }
.mh-cart ul { list-style: none; margin: 0; padding: 0; }
.mh-cart li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e1eaea; }
.mh-cart li > span { flex: 1; }
.mh-cart li button { border: 0; background: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; box-shadow: 0 2px 8px -4px rgba(0,0,0,.4); }
.mh-cart__total { text-align: right; font-size: 1.15rem; margin: 12px 0 0; }
.mh-cart__total strong { color: var(--a); }

.mh-pay-choice { border: 0; padding: 0; margin: 6px 0 14px; display: grid; gap: 10px; }
.mh-pay-choice legend { font-weight: 700; margin-bottom: 8px; }
.mh-pay-choice label { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--soft); cursor: pointer; }
.mh-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 10px 0; }
.mh-check input { margin-top: 4px; }

.mh-alert { padding: 14px 18px; border-radius: 14px; margin: 0 0 18px; font-weight: 600; }
.mh-alert--err { background: #fff1f0; color: #9b2c2c; }
.mh-alert--ok { background: #effaf3; color: #22543d; }
.mh-alert--info { background: #ebf5ff; color: #234e70; }

/* Suivi */
.mh-suivi { max-width: 720px; margin: 0 auto; }
.mh-ticket { background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px -36px rgba(20,50,60,.5); overflow: hidden; margin-bottom: 20px; }
.mh-ticket__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: linear-gradient(120deg, var(--a), color-mix(in srgb, var(--a) 60%, #000)); color: #fff; }
.mh-ticket__head small { opacity: .8; display: block; }
.mh-ref { font-size: 1.6rem; letter-spacing: .06em; }
.mh-ticket__lines { list-style: none; margin: 0; padding: 8px 24px; }
.mh-ticket__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #dfe8e8; }
.mh-ticket__tot { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 14px 24px 22px; font-size: 1.05rem; }
.mh-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--c, #718096); white-space: nowrap; }
.mh-pay { background: #fff; border-radius: var(--r); padding: 24px; margin-bottom: 20px; text-align: center; box-shadow: 0 24px 60px -40px rgba(20,50,60,.5); }
.mh-countdown { font-size: 1.05rem; }
.mh-countdown strong { font-variant-numeric: tabular-nums; font-size: 1.4rem; color: var(--a); }
.mh-countdown.is-urgent strong { color: #c53030; animation: mhPulse 1s infinite; }
@keyframes mhPulse { 50% { opacity: .5; } }
.mh-qr { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.mh-qr figure { margin: 0; }
.mh-qr img, .mh-qr__ph { width: 170px; height: 170px; object-fit: contain; border-radius: 16px; background: var(--soft); display: grid; place-items: center; font-weight: 700; color: var(--a); border: 2px dashed color-mix(in srgb, var(--a) 35%, transparent); }
.mh-qr figcaption { font-weight: 700; margin-top: 6px; }
.mh-paynum strong { font-size: 1.3rem; color: var(--a); letter-spacing: .04em; }
.mh-preuve { background: #fff; border-radius: var(--r); padding: 24px; margin-bottom: 20px; box-shadow: 0 24px 60px -40px rgba(20,50,60,.5); }
.mh-preuve label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.mh-lookup { background: #fff; border-radius: var(--r); padding: 24px; display: grid; gap: 4px; }
.mh-help { text-align: center; }
.mh-wa { color: #128c4a; font-weight: 700; }

/* Avis */
.mh-stars { color: #f5b301; letter-spacing: 2px; }
.mh-stars .off { color: #d9dfe0; }
.mh-avis__moy { font-size: 1.15rem; }
.mh-avis__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mh-avis-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 18px 40px -30px rgba(20,50,60,.5); }
.mh-avis-card header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.mh-avis-card header small { display: block; opacity: .65; }
.mh-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--a), var(--a2)); flex: none; }
.mh-verif { font-size: .75rem; color: #2f855a; font-weight: 700; }
.mh-avis-card p { margin: 8px 0 0; }

.mh-rate { border: 0; padding: 0; margin: 0 0 12px; }
.mh-rate legend { font-weight: 600; margin-bottom: 4px; }
.mh-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.mh-rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mh-rate__stars label { font-size: 2rem; color: #d9dfe0; cursor: pointer; transition: transform .15s, color .15s; }
.mh-rate__stars label:hover, .mh-rate__stars label:hover ~ label, .mh-rate__stars input:checked ~ label { color: #f5b301; }
.mh-rate__stars label:hover { transform: scale(1.2); }
.mh-rate__stars input:focus-visible + label { outline: 2px solid var(--mh-accent, #2b7a84); border-radius: 4px; }

@media (max-width: 600px) {
  .mh-panel, .mh-pay, .mh-preuve { padding: 18px; }
  .mh-steps li { min-width: 0; font-size: .78rem; padding: 8px 10px; }
  .mh-steps li span { width: 24px; height: 24px; }
  .mh-rooms { grid-template-columns: repeat(2, 1fr); }
  .mh-actions .mh-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-booking *, .mh-suivi * { animation: none !important; transition: none !important; }
}

/* ---- 1.2 : code privé, arrivée / sortie, départ, avis, promo, services ---- */
.mh-intro { font-size: 1.05rem; opacity: .8; margin: 0 0 18px; }
.mh-we { display: block; font-size: .78rem; opacity: .75; margin-top: 4px; }
.mh-sortie-info { margin: 4px 0 14px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--mh-accent, #2b7a84) 10%, #fff); font-weight: 600; }
.mh-promo__row { display: flex; gap: 8px; }
.mh-promo__row input { flex: 1; }
.mh-msg.is-ok { color: #2f855a; font-weight: 700; }
.mh-lookup-card { max-width: 460px; margin: 10px auto; padding: 34px 28px; text-align: center; border-radius: 28px; background: rgba(255,255,255,.75); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(10,35,40,.45), inset 0 1px 0 #fff; }
.mh-lock { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; font-size: 28px; background: linear-gradient(150deg, #fff, #e8f0ef); box-shadow: 0 12px 24px -12px rgba(10,35,40,.5); }
.mh-code-input { text-align: center; font-size: 1.6rem !important; letter-spacing: .3em; font-weight: 800; text-transform: uppercase; }
.mh-lookup-card .mh-lookup { text-align: left; }
.mh-code-tip { margin: 0; padding: 10px 22px 0; font-size: .85rem; opacity: .7; }
.mh-io { display: block; font-size: .88rem; }
.mh-io em { display: inline-block; min-width: 64px; font-style: normal; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; opacity: .6; }
.mh-ticket__lines li.is-extra { font-size: .9rem; opacity: .85; }
.mh-libere, .mh-avis-form { margin-top: 22px; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.8); box-shadow: 0 24px 50px -30px rgba(10,35,40,.5); }
.mh-etat { display: grid; gap: 10px; margin: 12px 0; }
.mh-etat__opt { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 2px solid rgba(0,0,0,.08); cursor: pointer; font-weight: 600; transition: .2s; }
.mh-etat__opt:has(input:checked) { border-color: var(--mh-accent, #2b7a84); background: color-mix(in srgb, var(--mh-accent, #2b7a84) 8%, #fff); }
.mh-btn--libere { width: 100%; font-size: 1.1rem; padding: 18px; background: linear-gradient(150deg, #38a169, #276749); box-shadow: 0 6px 0 #1f5138, 0 18px 30px -12px #38a169; }
.mh-btn--libere:active { transform: translateY(4px); box-shadow: 0 2px 0 #1f5138; }
.mh-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.mh-rate__stars input { position: absolute; opacity: 0; }
.mh-rate__stars label { font-size: 2rem; color: #d5d9de; cursor: pointer; transition: transform .15s, color .15s; }
.mh-rate__stars label:hover, .mh-rate__stars label:hover ~ label, .mh-rate__stars input:checked ~ label { color: #f5b301; }
.mh-rate { border: 0; padding: 0; margin: 6px 0 10px; }
.mh-services__intro { font-size: 1.05rem; opacity: .8; }
.mh-srv-cat { margin: 26px 0; padding: 26px; border-radius: 28px; background: rgba(255,255,255,.8); box-shadow: 0 30px 60px -36px rgba(10,35,40,.5); animation: mhUp .7s both; animation-delay: calc(var(--i) * .08s); }
.mh-srv-cat__img { height: 180px; margin: -26px -26px 20px; border-radius: 28px 28px 0 0; background-size: cover; background-position: center; }
.mh-srv-cat h2 { margin: 0 0 12px; }
.mh-srv-list { list-style: none; margin: 0; padding: 0; }
.mh-srv-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px dashed rgba(0,0,0,.1); }
.mh-srv-list li:first-child { border-top: 0; }
.mh-srv-list small { display: block; opacity: .65; }
.mh-srv-list b { white-space: nowrap; color: var(--mh-accent, #2b7a84); }
.mh-srv-wa { padding: 7px 13px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; text-decoration: none; background: #25d366; box-shadow: 0 8px 16px -8px #25d366; }
@keyframes mhUp { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 560px) { .mh-srv-list li { grid-template-columns: 1fr auto; } .mh-srv-wa { grid-column: 1 / -1; justify-self: start; } }
.mh-ticket__lines b { white-space: nowrap; }
.mh-officiel { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #fff5f5; border: 1px solid #feb2b2; color: #9b2c2c; font-size: .9rem; text-align: left; }
/* v1.4 parcours guidé */
.mh-sticky { position: fixed; left: 50%; bottom: 112px; transform: translate(-50%, 0); z-index: 9990; width: min(620px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px 12px 20px; border-radius: 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(20,30,50,.45); border: 1px solid rgba(20,30,50,.08); animation: mhStickyIn .35s cubic-bezier(.2,.9,.3,1.2); }
.mh-sticky[hidden] { display: none; }
@keyframes mhStickyIn { from { transform: translate(-50%, 140%); opacity: 0; } }
.mh-sticky__info { display: flex; flex-direction: column; min-width: 0; }
.mh-sticky__info small { font-size: .75rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-sticky__info strong { font-size: 1.05rem; white-space: nowrap; }
.mh-sticky .mh-btn { white-space: nowrap; flex-shrink: 0; }
#mh-cart.is-focus { box-shadow: 0 0 0 3px var(--mh-accent, #c9a227), 0 20px 40px -18px rgba(0,0,0,.35); transition: box-shadow .3s; }
.mh-field--sortie select { width: 100%; }
@media (max-width: 700px) { .mh-sticky { bottom: 84px; padding: 10px 10px 10px 14px; } .mh-sticky .mh-btn { padding: 11px 14px; font-size: .88rem; } }
.mh-preuve .is-off { opacity: .55; }
.mh-preuve small { font-weight: 400; opacity: .7; }
.mh-qr figcaption strong { display: inline-block; margin-top: 2px; letter-spacing: .03em; }
.mh-qr { flex-wrap: wrap; }
.mh-booking [hidden], .mh-suivi [hidden] { display: none !important; }
@media (max-width: 560px) { .mh-qr { gap: 12px; } .mh-qr figure { flex: 1 1 calc(50% - 12px); max-width: 160px; } .mh-qr img, .mh-qr__ph { width: 100%; height: auto; aspect-ratio: 1; } .mh-qr figcaption { font-size: .85rem; } }
