/* Public booking: professional profile, services, calendar and confirmation. */
:root { --ink: #0F172A; --text: #1B2A4A; --gray: #64748B; --muted: #94A3B8; --line: #E2E8F0; --bg: #F5F7FA; --light: color-mix(in srgb, var(--p) 6%, #fff); --ok: #10B981; --bad: #EF4444; }
* { font-family: 'Inter', sans-serif; margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); min-height: 100vh; color: var(--text); padding: 0 2rem 2rem; -webkit-font-smoothing: antialiased; line-height: 1.5; }
.page { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.powered { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem; font-size: .72rem; color: var(--gray); margin-top: .25rem; padding: .5rem; }
.powered a { color: var(--gray); font-weight: 700; text-decoration: none; }
.language-picker { display: inline-flex; align-items: center; gap: .4rem; margin-left: .65rem; }
.language-picker select { border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--text); padding: .25rem .4rem; font-size: .74rem; }
.type-group { display: flex; align-items: center; gap: .8rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--gray); margin: 1.1rem 0 .25rem; }
.type-group:first-child { margin-top: 0; }
/* Mode embarqué (iframe) : pas de vitrine, marges réduites */
body.embed { padding: .5rem .5rem 1rem; background: transparent; min-height: 0; }
/* Page complète affichée dans un cadre (ex. patatecompta.com) : 100vh y vaut la hauteur du cadre,
   qui grandissait alors sans fin au rythme des hauteurs transmises. */
html.encadre body { min-height: 0; }
body.embed .page { grid-template-columns: 1fr; max-width: 720px; }
body.embed .pro { display: none; }
.tz-notice[hidden], .waitlist[hidden] { display: none !important; }
.tz-notice { display: flex; gap: .6rem; align-items: flex-start; background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; border-radius: 10px; padding: .6rem .8rem; font-size: .76rem; margin-bottom: .9rem; line-height: 1.45; }
.cal-slot-btn small { display: block; font-weight: 500; font-size: .64rem; color: var(--muted); margin-top: 1px; }
.waitlist { margin-top: 1rem; border: 1.5px dashed var(--line); border-radius: 14px; padding: 1rem; background: #fff; }
.waitlist h4 { font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.waitlist p { font-size: .76rem; color: var(--gray); margin-bottom: .7rem; }
.waitlist .row { display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; align-items: end; }
.waitlist .row .form-input { margin: 0; }
.waitlist .ok { color: var(--ok); font-weight: 600; font-size: .8rem; }
.reschedule-banner { background: color-mix(in srgb, var(--p) 8%, #fff); border: 1px solid color-mix(in srgb, var(--p) 30%, #fff); border-radius: 12px; padding: .7rem .9rem; font-size: .8rem; color: #334155; margin-bottom: 1rem; }
.reschedule-banner strong { color: var(--ink); }
.book-q { margin-top: .6rem; }
.redirect-note { font-size: .78rem; color: var(--gray); margin-top: 1rem; }
@media (max-width: 600px) { .waitlist .row { grid-template-columns: 1fr; } }

/* ── Colonne vitrine ─────────────────────────────────────────── */
.pro { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; position: sticky; top: 1.5rem; }
.pro-band { position: relative; min-height: 142px; display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.25rem 3.3rem; background: radial-gradient(ellipse at 90% 10%, color-mix(in srgb, var(--p) 65%, #fff), transparent 65%), linear-gradient(125deg, color-mix(in srgb, var(--p) 50%, #12233b), var(--p)); background-size: cover; background-position: center; color: #fff; }
.pro-band.has-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.05), rgba(15,23,42,.5)); }
.pro-band > * { position: relative; }
.band-chips { align-self: flex-end; display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; min-height: 1.6rem; }
.band-chip { display: inline-flex; align-items: center; gap: .3rem; background: rgba(255,255,255,.92); color: #0F172A; font-size: .7rem; font-weight: 700; padding: .28rem .55rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.band-chip i { color: var(--p); }
.band-chip.verified i { color: #059669; }
.band-chip.stars i { color: #F59E0B; }
.pro-head { padding: 0 1.5rem 1.25rem; margin-top: -44px; position: relative; z-index: 2; }
.pro-avatar { width: 84px; height: 84px; border-radius: 22px; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(15,23,42,.1); object-fit: cover; background: var(--p); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.6rem; }
.pro-name { font-size: 1.5rem; font-weight: 750; color: var(--ink); margin-top: .85rem; letter-spacing: -.045em; line-height: 1.25; overflow-wrap: anywhere; }
.pro-job { color: var(--gray); font-weight: 500; font-size: .88rem; margin-top: .4rem; }
.pro-about { padding: 0 1.5rem 1.25rem; font-size: .83rem; line-height: 1.8; color: #526176; overflow-wrap: anywhere; }
.pro-about.clamp { max-height: 10.4em; overflow: hidden; padding-bottom: 0; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.pro-more { background: none; border: none; color: var(--p); font-weight: 600; font-size: .8rem; cursor: pointer; padding: 0 1.5rem 1rem; display: none; }
.pro-list { border-top: 1px solid var(--line); padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.pro-row { display: flex; gap: .75rem; align-items: flex-start; font-size: .84rem; color: #334155; }
.pro-row i { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p); display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.pro-row a { color: var(--text); text-decoration: none; font-weight: 500; }
.pro-row a:hover { color: var(--p); }
.pro-row small { display: block; color: var(--gray); font-size: .72rem; margin-top: 1px; }
.pro-modes { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.acompte-avis { display: flex; align-items: flex-start; gap: .55rem; margin: 0 0 1.15rem; padding: .7rem .85rem; border-radius: 12px; background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E3A8A; font-size: .8rem; line-height: 1.5; }
.acompte-avis i { margin-top: .15rem; color: #2563EB; }
.acompte-avis[hidden] { display: none; }
.chip.prix { background: #ECFDF5; border-color: #A7F3D0; color: #047857; }
.chip.acompte { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .74rem; font-weight: 600; color: #475569; }
.pro-avis { border-top: 1px solid var(--line); padding: 1rem 1.5rem; }
.pro-avis-head { font-size: .82rem; color: #334155; display: flex; align-items: center; gap: .4rem; }
.pro-avis .stars { color: #F59E0B; letter-spacing: 1px; font-size: .95rem; }
.pro-avis .stars .off { color: var(--line); }
.pro-avis blockquote { font-size: .8rem; color: #475569; line-height: 1.5; margin: .6rem 0 0; padding-left: .7rem; border-left: 2px solid color-mix(in srgb, var(--p) 40%, #fff); }
.pro-avis cite { display: block; font-style: normal; font-size: .7rem; color: var(--muted); margin-top: .15rem; }
.google-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .78rem; font-weight: 600; color: #334155; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; }
.google-link i { color: #EA4335; } .google-link:hover { border-color: var(--p); color: var(--p); }
.chip.grp { background: #FEF3C7; border-color: #FDE68A; color: #92400E; }
.cal-slot-btn .places { display: block; font-weight: 500; font-size: .62rem; color: #B45309; margin-top: 1px; }
.pro-how { background: #F8FAFC; border-top: 1px solid var(--line); padding: 1.25rem 1.5rem; }
.pro-how h4 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin-bottom: .5rem; }
.pro-how ol { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.pro-how li { display: flex; gap: .55rem; font-size: .8rem; color: #334155; align-items: center; }
.pro-how li b { width: 20px; height: 20px; border-radius: 50%; background: var(--p); color: #fff; font-size: .68rem; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; }

/* ── Carte de réservation ────────────────────────────────────── */
.book { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 36px -20px rgba(15,23,42,.16); overflow: hidden; min-width: 0; scroll-margin-top: 1rem; }
.stepper { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-bottom: 1px solid var(--line); padding: 0 1.5rem; background: #FAFBFD; scroll-margin-top: 1rem; }
.stepper div { padding: 1.15rem .4rem; display: flex; align-items: center; justify-content: center; gap: .55rem; font-size: .75rem; font-weight: 600; color: var(--gray); position: relative; min-width: 0; text-align: center; }
.stepper div b { width: 27px; height: 27px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; flex: 0 0 27px; transition: all .2s; }
.stepper div.active { color: var(--ink); }
.stepper div.active b { border-color: var(--p); background: var(--p); color: #fff; }
.stepper div.done { color: var(--ok); }
.stepper div.done b { border-color: var(--ok); background: var(--ok); color: #fff; }
.stepper div.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--p); border-radius: 3px 3px 0 0; }
.book-body { padding: 2rem; }
.step { display: none; opacity: 0; transform: translateX(12px); transition: opacity .25s ease, transform .25s ease; }
.step.active { display: block; opacity: 1; transform: translateX(0); }
.step-title { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: .45rem; letter-spacing: -.035em; line-height: 1.35; }
.step-sub { font-size: .85rem; line-height: 1.65; color: var(--gray); margin-bottom: 1.65rem; }
.back-btn { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; color: var(--text); font-size: .8rem; font-weight: 700; cursor: pointer; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem .45rem .7rem; transition: all .15s; }
.back-btn:hover { border-color: var(--p); color: var(--p); }
.stepper div.done { cursor: pointer; }
.stepper div.done:hover b { background: var(--p); color: #fff; }

/* Étape 1 : prestations */
.types { display: grid; gap: .75rem; }
.team-choice { display:flex; align-items:center; gap:.8rem; width:100%; padding:.85rem; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); text-align:start; cursor:pointer; font:inherit; }
.team-choice:hover,.team-choice:focus-visible { border-color:var(--p); background:var(--light); }
.team-avatar { width:48px; height:48px; flex:0 0 48px; border-radius:8px; object-fit:cover; display:grid; place-items:center; background:var(--light); color:var(--p); }
.team-info { min-width:0; flex:1; overflow-wrap:anywhere; }
.team-info strong { display:block; font-size:.9rem; }
.team-info small { display:block; color:var(--gray); font-size:.76rem; margin-top:.25rem; }
#link-return-team[hidden], #btn-back-team[hidden] { display:none; }
#success-recap strong { min-width:0; overflow-wrap:anywhere; }
.booking-option-group{border:0;border-bottom:1px solid var(--line);padding:1rem 0;margin:0}.booking-option-group legend{font-size:.9rem;font-weight:700}.booking-option{display:flex;align-items:center;gap:.7rem;padding:.7rem 0;cursor:pointer}.booking-option span{flex:1;overflow-wrap:anywhere}.booking-option small{color:var(--gray);text-align:end}.booking-option input{width:18px;height:18px;flex:0 0 18px}.booking-option select{width:100%}.booking-options-total{font-weight:700;margin:1rem 0}.booking-guests{margin:1rem 0}.booking-guests[hidden]{display:none}
.type-option { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s; display: flex; align-items: flex-start; gap: 1rem; background: #fff; }
.type-option:hover, .type-option:focus-visible { border-color: var(--p); background: var(--light); box-shadow: 0 3px 12px color-mix(in srgb, var(--p) 8%, transparent); outline: none; }
.type-option.selected { border-color: var(--p); background: color-mix(in srgb, var(--p) 5%, #fff); }
.type-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--service-color, var(--p)); background: color-mix(in srgb, var(--service-color, var(--p)) 10%, #fff); font-size: 1rem; }
.type-body { flex: 1; min-width: 0; }
.type-name { font-weight: 650; color: var(--ink); font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.type-desc { font-size: .8rem; color: var(--gray); margin-top: .3rem; line-height: 1.65; overflow-wrap: anywhere; }
.type-meta { display: flex; gap: .45rem .75rem; margin-top: .75rem; flex-wrap: wrap; }
.type-arrow { color: var(--gray); font-size: .75rem; transition: transform .18s; align-self: center; border: 1px solid var(--line); border-radius: 50%; width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; background: #fff; }
.type-option:hover .type-arrow { transform: translateX(3px); color: var(--p); }
.empty { text-align: center; padding: 2rem 1rem; color: var(--gray); font-size: .85rem; }
.empty i { font-size: 1.6rem; color: var(--muted); display: block; margin-bottom: .5rem; }

/* Récap compact (étapes 2 et 3) */
.picked { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; margin-bottom: 1rem; font-size: .8rem; color: #334155; }
.picked .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.picked strong { color: var(--ink); }
.picked .sep { color: var(--muted); }
.picked a { margin-left: auto; color: var(--p); font-weight: 600; text-decoration: none; font-size: .76rem; cursor: pointer; }

/* Étape 2 : calendrier + créneaux */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 1.5rem; }
.cal-layout > div { min-width: 0; }
.cal-wrap { max-width: none; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-header span { font-size: .9rem; font-weight: 700; color: var(--ink); text-transform: capitalize; }
.cal-header button { background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; color: var(--gray); transition: all .15s; }
.cal-header button:hover:not(:disabled) { border-color: var(--p); color: var(--p); }
.cal-header button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-day-label { font-size: .66rem; font-weight: 700; color: var(--muted); padding: .3rem 0; text-transform: uppercase; }
.cal-day { position: relative; font-size: .82rem; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; color: var(--muted); transition: all .15s; font-weight: 500; }
.cal-day.open { color: var(--ink); font-weight: 700; background: color-mix(in srgb, var(--p) 8%, #fff); }
.cal-day.open::after { content: ''; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--p); }
.cal-day.open:hover { background: color-mix(in srgb, var(--p) 18%, #fff); }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal-day.selected { background: var(--p) !important; color: #fff; }
.cal-day.selected::after { background: #fff; }
.cal-day.disabled { cursor: default; color: #CBD5E1; }
.cal-day.empty { cursor: default; }
.cal-legend { display: flex; gap: 1rem; margin-top: .6rem; font-size: .7rem; color: var(--gray); }
.cal-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--p); margin-right: .3rem; }
.cal-loading .cal-day.open { opacity: .5; }
.slots-panel { border-inline-start: 1px solid var(--line); padding-inline-start: 1.25rem; min-height: 220px; }
.slots-title { font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; text-transform: capitalize; }
.slots-sub { font-size: .72rem; color: var(--gray); margin-bottom: .7rem; }
.slots-group { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: .6rem 0 .35rem; }
.cal-slots-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; max-height: 260px; overflow-y: auto; padding-right: 2px; }
.cal-slot-btn { border: 1px solid var(--line); border-radius: 9px; min-height: 44px; padding: .6rem .3rem; text-align: center; cursor: pointer; font-size: .82rem; font-weight: 600; color: #334155; transition: all .15s; background: #fff; }
.cal-slot-btn:hover { border-color: var(--p); color: var(--p); }
.cal-slot-btn.selected { background: var(--p); color: #fff; border-color: var(--p); }
.cal-day[role="button"]:focus-visible, .cal-slot-btn:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; }
.step-title:focus, .step h2:focus { outline: none; }
.sr-annonce { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cal-no-slots { font-size: .78rem; color: var(--muted); text-align: center; padding: 2rem .5rem; line-height: 1.5; }
.cal-no-slots i { display: block; font-size: 1.3rem; margin-bottom: .5rem; }

/* Étape 3 : coordonnées */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.form-label { font-size: .8rem; font-weight: 600; color: #334155; margin-bottom: .5rem; display: block; }
.form-input { width: 100%; border: 1px solid #CED6E0; border-radius: 10px; min-height: 48px; padding: .8rem .9rem; font-size: 1rem; margin-bottom: 1.1rem; outline: none; transition: border-color .15s, box-shadow .15s; background: #fff; color: var(--ink); }
.form-input:focus { border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 15%, transparent); }
.form-input.error { border-color: var(--bad); background: #FEF2F2; }
.form-error { color: var(--bad); font-size: .72rem; margin-top: -.55rem; margin-bottom: .6rem; display: none; }
.form-error.visible { display: block; }
.mode-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; margin-bottom: 1.1rem; }
.mode-option { cursor: pointer; position: relative; }
.mode-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mode-option-inner { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 11px; font-size: .82rem; transition: all .15s; }
.mode-option-inner i { color: var(--p); width: 16px; text-align: center; }
.mode-option input:checked + .mode-option-inner { border-color: var(--p); background: color-mix(in srgb, var(--p) 6%, #fff); box-shadow: 0 0 0 1px var(--p); }
.mode-option:hover .mode-option-inner { border-color: var(--p); }
.mode-label { font-weight: 600; color: var(--ink); }
.btn-book { width: 100%; background: var(--p); color: #fff; border: none; border-radius: 11px; min-height: 48px; padding: .9rem 1rem; font-size: .9rem; font-weight: 650; cursor: pointer; transition: background .15s, transform .15s; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none; }
.btn-book:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); }
.btn-book:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover:not(:disabled) { border-color: var(--p); color: var(--p); filter: none; }
.fine { font-size: .74rem; color: var(--gray); text-align: center; margin-top: 1rem; line-height: 1.7; }

/* Étape OTP + succès */
.otp-input { text-align: center; font-size: 1.5rem; font-weight: 800; letter-spacing: .5rem; }
.success { text-align: center; padding: .5rem 0 0; }
.success-ico { width: 76px; height: 76px; border-radius: 50%; background: #D1FAE5; color: var(--ok); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1rem; animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success h2 { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.success p { color: var(--gray); font-size: .86rem; margin-top: .5rem; line-height: 1.6; }
.recap { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; margin: 1.1rem 0; font-size: .84rem; }
.recap div { display: flex; justify-content: space-between; gap: 1rem; padding: .22rem 0; color: #475569; }
.recap strong { color: var(--ink); text-align: right; }
.success-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.success-actions a { text-decoration: none; font-size: .84rem; padding: .7rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 12px; font-size: .84rem; opacity: 0; transition: all .25s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* Public booking shell */
.booking-topbar { max-width: 1180px; min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.booking-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: 1.3rem; font-weight: 750; letter-spacing: -.05em; text-decoration: none; }
.booking-brand img { width: 30px; height: 30px; }
.booking-topbar-note { display: inline-flex; align-items: center; gap: .5rem; color: var(--gray); font-size: .75rem; }
.booking-topbar-note i { color: var(--p); }
.book-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.75rem 2rem; }
.book-eyebrow { display: flex; align-items: center; gap: .45rem; color: var(--p); font-size: .67rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin-bottom: .5rem; }
.book-heading h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 700; letter-spacing: -.05em; color: var(--ink); line-height: 1.2; }
.book-heading-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border: 1px solid var(--line); border-radius: 14px; color: var(--p); background: #FAFBFD; font-size: 1.15rem; }
.client-access { display: flex; justify-content: flex-end; margin-bottom: 1.25rem; font-size: .76rem; }
.client-access a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--gray); }
.client-access a:hover { color: var(--p); }
.pro-company { margin-top: .65rem; font-size: .73rem; color: var(--p); font-weight: 650; overflow-wrap: anywhere; }
.pro-tagline { margin-top: .7rem; font-size: .82rem; color: var(--gray); line-height: 1.65; }
.pro-actions { display: none; }
.pro-row > div { min-width: 0; overflow-wrap: anywhere; }
.pro-modes .chip i { width: auto; height: auto; flex: initial; border-radius: 0; background: transparent; font-size: .7rem; }
.pro-avis-head { flex-wrap: wrap; }
.type-group::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.type-meta > .chip { padding: 0; background: transparent; border: 0; border-radius: 0; font-weight: 500; font-size: .73rem; color: var(--gray); }
.type-meta > .prix { color: var(--ink); font-weight: 700; }
.type-meta > .acompte { color: #1D4ED8; }
.type-meta > .grp { color: #92400E; }
.book-assurance { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); background: #FAFBFD; color: var(--gray); font-size: .72rem; text-align: center; }
.book-assurance i { color: var(--p); }
.team-choice { border-radius: 12px; min-height: 76px; }
.picked { padding: .9rem 1rem; line-height: 1.6; }
.cal-day.empty { padding: 0; }
.mode-option input:focus-visible + .mode-option-inner { outline: 3px solid var(--p); outline-offset: 3px; }
:is(a, button, select, [role="button"]):focus-visible { outline: 3px solid var(--p); outline-offset: 4px; }
.stepper div[role="button"]:focus-visible { outline-offset: -4px; }
.stepper div[role="button"] { cursor: pointer; }
.back-btn { min-height: 40px; }
.recap { text-align: start; }
.recap strong { text-align: end; }
html[dir="rtl"] .type-arrow, html[dir="rtl"] .back-btn i { transform: scaleX(-1); }
body.embed .booking-topbar { display: none; }
body.embed .book-heading { padding: 1.25rem 1.5rem; }
body.embed .book { box-shadow: none; }
@media (max-width: 1080px) and (min-width: 901px) {
    body { padding-inline: 1.25rem; }
    .page { grid-template-columns: 290px minmax(0, 1fr); gap: 1.25rem; }
    .book-body, .book-heading { padding: 1.5rem; }
    .cal-layout { grid-template-columns: minmax(0, 1fr) 165px; gap: 1rem; }
    .slots-panel { padding-inline-start: 1rem; }
}
@media (max-width: 900px) {
    body { padding: 0 1rem 1.5rem; }
    .booking-topbar { min-height: 70px; }
    .page { grid-template-columns: 1fr; gap: 1rem; max-width: 720px; }
    .booking-topbar { max-width: 720px; }
    .pro { position: static; }
    .pro-band { min-height: 100px; padding-bottom: 2.6rem; }
    .pro-head { padding-bottom: 1rem; margin-top: -35px; }
    .pro-avatar { width: 70px; height: 70px; border-radius: 18px; font-size: 1.3rem; }
    .pro-name { font-size: 1.3rem; margin-top: .65rem; }
    .pro-actions { display: flex; gap: .75rem; padding: 0 1.5rem 1.25rem; }
    .pro-actions a, .pro-actions button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem .85rem; font: inherit; font-size: .76rem; font-weight: 600; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #fff; text-decoration: none; cursor: pointer; }
    .pro-actions a { background: var(--p); border-color: var(--p); color: #fff; }
    .pro-details:not(.expanded) { display: none; }
    .pro-about.clamp { max-height: 7.2em; }
    .pro-how { display: none; }
    .book-heading { padding: 1.5rem; }
    .book-body { padding: 1.5rem; }
}
@media (max-width: 600px) {
    body { padding-inline: .75rem; }
    .booking-brand { font-size: 1.15rem; }
    .booking-topbar-note { font-size: .67rem; }
    .booking-topbar { min-height: 60px; }
    .pro, .book { border-radius: 16px; }
    .pro-head { padding-inline: 1.25rem; }
    .pro-actions { padding-inline: 1.25rem; }
    .book-heading, body.embed .book-heading { padding: 1.25rem; }
    .book-heading-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .book-body { padding: 1.5rem 1.1rem; }
    .stepper { padding-inline: .6rem; }
    .stepper div { flex-direction: column; font-size: .64rem; gap: .45rem; padding: .9rem .2rem; }
    .stepper div span { display: block; }
    .step-title { font-size: 1.15rem; }
    .step-sub { font-size: .8rem; margin-bottom: 1.25rem; }
    .type-option { padding: 1rem .85rem; gap: .7rem; }
    .type-ico { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; font-size: .8rem; }
    .type-name { font-size: .87rem; }
    .type-arrow { border: 0; width: 12px; flex-basis: 12px; background: transparent; }
    .type-meta { gap: .45rem .65rem; }
    .type-meta > .chip { font-size: .69rem; }
    .cal-layout { grid-template-columns: 1fr; }
    .slots-panel { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; min-height: 0; }
    .cal-slots-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; gap: .6rem; }
    .cal-wrap { max-width: none; }
    .form-grid, .success-actions { grid-template-columns: 1fr; }
    .language-picker { margin: .25rem; }
    .book-assurance { padding-inline: 1rem; font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Presentation stays visible on mobile and opens without losing the booking step. */
.booking-video { padding: 0 1.5rem 1.25rem; }
.booking-video-card { position: relative; display: grid; grid-template-columns: 1fr; width: 100%; text-align: start; border: 1px solid var(--line); background: #fff; border-radius: 14px; overflow: hidden; cursor: pointer; color: var(--ink); transition: border-color .18s, box-shadow .18s; }
.booking-video-card:hover { border-color: var(--p); box-shadow: 0 4px 16px color-mix(in srgb, var(--p) 10%, transparent); }
.booking-video-thumbnail { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; background: linear-gradient(130deg, color-mix(in srgb, var(--p) 35%, #17243c), var(--p)); overflow: hidden; }
.booking-video-thumbnail img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.booking-video-thumbnail:has(img)::after { content: ''; position: absolute; inset: 0; background: rgba(15,23,42,.18); }
.booking-video-play-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--p); box-shadow: 0 4px 20px #0003; font-size: .9rem; }
.booking-video-play-icon i { margin-inline-start: 3px; }
.booking-video-caption { padding: .85rem 2.3rem .85rem 1rem; }
.booking-video-caption > span { display: block; font-size: .7rem; color: var(--gray); margin-bottom: .2rem; }
.booking-video-caption strong { display: block; font-size: .83rem; font-weight: 650; }
.booking-video-expand { position: absolute; inset-inline-end: 1rem; bottom: 1.15rem; font-size: .7rem; color: var(--gray); }
.booking-video-dialog { position: fixed; inset: 0; margin: auto; width: min(960px, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); overflow: auto; padding: 0; border: 1px solid #ffffff24; border-radius: 18px; background: #101827; color: #fff; box-shadow: 0 24px 100px #0006; }
.booking-video-dialog::backdrop { background: rgba(7,13,25,.8); backdrop-filter: blur(6px); }
.booking-video-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.booking-video-dialog-head p { color: #b0bbcf; font-size: .72rem; margin-bottom: .2rem; }
.booking-video-dialog-head h2 { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.booking-video-dialog-head button { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #ffffff35; border-radius: 50%; background: #ffffff0a; color: #fff; font-size: 1.2rem; cursor: pointer; }
.booking-video-player { background: #05070d; }
.booking-video-player iframe { display: block; width: 100%; aspect-ratio: 16/9; max-height: calc(100dvh - 8rem); border: 0; }
.booking-video-player video { display: block; width: 100%; max-height: calc(100dvh - 8rem); min-height: 160px; object-fit: contain; }
body.video-open { overflow: hidden; }
@media (max-width: 900px) {
    .booking-video-card { grid-template-columns: 90px minmax(0,1fr); align-items: center; }
    .booking-video-thumbnail { aspect-ratio: 1; width: 90px; }
    .booking-video-play-icon { width: 34px; height: 34px; font-size: .7rem; }
    .booking-video-caption { padding-inline-start: .8rem; }
    .booking-video-expand { bottom: calc(50% - .35rem); }
}
@media (max-width: 600px) {
    .booking-video { padding-inline: 1.25rem; }
    .booking-video-dialog { width: calc(100vw - 1rem); border-radius: 14px; }
    .booking-video-dialog-head { padding: .75rem 1rem; }
}
