.booking-step-content {
    width: min(1080px, calc(100% - 56px));
    padding-top: clamp(46px, 7vw, 108px);
}

.booking-details {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: 16px;
}

.booking-recap,
.booking-contact,
.booking-confirmation {
    min-width: 0;
    padding: clamp(22px, 2.6vw, 40px);
    border-radius: 24px;
}

.booking-recap {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #ede7fb;
}

.booking-details .public-profile-art {
    inset: auto 0 0;
    width: 100%;
    height: min(35%, 152px);
}

.booking-details .public-profile-art img {
    object-fit: cover;
    object-position: 75% 72%;
    mask-image: linear-gradient(to bottom, transparent, #000 44%);
}

.booking-recap-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
}

.booking-recap-heading > div { min-width: 0; }
.booking-recap .public-profile-initials {
    width: clamp(49px, 5.2vw, 73px);
    font-size: clamp(22px, 2.3vw, 32px);
}

.booking-recap h2 {
    font-size: clamp(21px, 2.16vw, 32px);
    font-weight: 730;
    letter-spacing: -.04em;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.booking-recap-host {
    margin-top: 5px;
    color: var(--muted);
    font-size: clamp(16px, 1.65vw, 22px);
    overflow-wrap: anywhere;
}

.booking-details .booking-recap-heading > div { display: flex; flex-direction: column-reverse; }
.booking-details .booking-recap h2 { font-size: clamp(21px, 1.85vw, 28px); }
.booking-details .booking-recap-host { margin: 0 0 4px; }
.booking-recap-list {
    display: grid;
    gap: 15px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.booking-recap-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: clamp(16px, 1.55vw, 22px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.booking-recap-list img { flex: 0 0 auto; align-self: flex-start; margin-top: .13em; }

.booking-contact,
.booking-confirmation {
    border: 1px solid #dfd6f6;
    background: #fff;
}

.booking-contact h1,
.booking-confirmation h1 {
    font-weight: 755;
    letter-spacing: -.048em;
    line-height: 1.12;
    text-wrap: balance;
}

.booking-contact h1 { margin-bottom: 25px; font-size: clamp(27px, 3.2vw, 43px); }
.booking-contact form { display: grid; gap: 18px; }
.booking-contact-field { display: grid; gap: 7px; }
.booking-contact label { font-size: clamp(16px, 1.43vw, 20px); font-weight: 570; }
.booking-contact-field :is(input, textarea, select) {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #a5a8bf;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.booking-contact .booking-continue { width: 100%; margin-top: 10px; }
.booking-contact-error { margin: 0 0 6px; color: #9b2039; font-size: 15px; }
.booking-contact-field input[aria-invalid="true"] { border-color: #9b2039; }
.booking-terms-check { display: flex; gap: 10px; align-items: start; font-size: 16px !important; font-weight: 450 !important; line-height: 1.45; }
.booking-contact-field .booking-terms-check input { width: 20px; min-width: 20px; min-height: 20px; height: 20px; margin-top: .15em; padding: 0; accent-color: var(--profile-violet); }
.booking-terms-check a { color: var(--profile-violet); text-decoration: underline; text-underline-offset: 2px; }
.booking-redirect { margin-top: 18px; text-align: center; color: var(--muted); }
.booking-redirect a { color: var(--profile-violet); font-weight: 600; }
.booking-questions { display: grid; gap: 16px; padding-top: 17px; border-top: 1px solid #e0d7f4; min-width: 0; }
.booking-questions h2 { font-size: 21px; font-weight: 710; }
.booking-questions label, .booking-questions legend { overflow-wrap: anywhere; }
.booking-question-choice { display: grid; gap: 8px; min-width: 0; padding: 0; border: 0; margin: 0; }
.booking-question-choice legend { padding: 0 0 8px; font-size: 17px; font-weight: 570; }
.booking-question-choice label { display: flex; gap: 9px; align-items: start; }
.booking-question-choice input { margin-top: .25em; accent-color: var(--profile-violet); }

.booking-confirmation {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(830px, 100%);
    margin-inline: auto;
    text-align: center;
}

.booking-step-content:has(.booking-confirmation) { padding-top: clamp(26px, 4.3vw, 65px); }
.booking-confirmation .public-profile-art { inset: 0 0 auto auto; width: 44%; height: 126px; }
.booking-confirmation .public-profile-art img {
    object-fit: cover;
    object-position: center 43%;
    mask-image: linear-gradient(45deg, transparent 27%, #000 76%);
}

.booking-confirmation-icon {
    display: grid;
    place-items: center;
    width: clamp(69px, 7vw, 101px);
    aspect-ratio: 1;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #def8e7;
}

.booking-confirmation-icon img {
    width: 48%;
    filter: brightness(0) saturate(100%) invert(33%) sepia(83%) saturate(1120%) hue-rotate(105deg);
}

.booking-confirmation h1 { font-size: clamp(31px, 4.3vw, 55px); }
.booking-confirmation-heading p { margin-top: 8px; font-size: clamp(16px, 2.1vw, 26px); line-height: 1.35; text-wrap: balance; }
.booking-confirmation .booking-recap {
    margin-top: clamp(22px, 3vw, 39px);
    padding: clamp(18px, 2.6vw, 34px);
    border-radius: 18px;
    background: #f1ecfb;
    text-align: start;
}

.booking-confirmation .booking-recap-heading { margin-top: 0; }
.booking-confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 22px;
}

.booking-confirmation-back {
    display: inline-grid;
    place-items: center;
    min-height: 44px;
    margin-top: clamp(12px, 1.9vw, 26px);
    color: var(--profile-violet);
    font-size: clamp(16px, 1.7vw, 23px);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.booking-confirmation-video {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: clamp(16px, 2vw, 26px);
    text-align: center;
}

.booking-confirmation-video-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--profile-violet);
    color: #fff;
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 700;
    text-decoration: none;
}

.booking-confirmation-video-link img { padding: 2px; border-radius: 6px; background: #fff; }
.booking-confirmation-video-link:focus-visible { outline: 3px solid var(--profile-violet); outline-offset: 3px; }
.booking-confirmation-video p { max-width: 42ch; margin: 0; color: #505470; font-size: 15px; line-height: 1.45; }

@media (max-width: 720px) {
    .booking-step-content { width: calc(100% - 28px); padding-top: 18px; }
    .booking-details { grid-template-columns: minmax(0, 1fr); }
    .booking-recap, .booking-contact, .booking-confirmation { padding: 18px; border-radius: 17px; }
    .booking-details .booking-back { min-height: 44px; margin-top: -8px; }
    .booking-recap-heading { margin-top: 12px; gap: 10px; }
    .booking-recap-list { gap: 10px; margin-top: 18px; }
    .booking-recap-list img { width: 19px; height: 19px; }
    .booking-contact h1 { margin-bottom: 15px; }
    .booking-contact form { gap: 12px; }
    .booking-contact-field { gap: 4px; }
    .booking-contact-field input { min-height: 44px; border-radius: 9px; }
    .booking-contact .booking-continue { margin-top: 5px; }
    .booking-confirmation { padding: 26px 18px 20px; }
    .booking-confirmation .public-profile-art { inset: 0 0 auto auto; width: 75%; height: 88px; }
    .booking-confirmation-icon { width: 78px; }
    .booking-confirmation h1 { font-size: clamp(26px, 7.2vw, 36px); }
    .booking-confirmation-heading p { max-width: 25ch; margin-inline: auto; font-size: 17px; }
    .booking-confirmation .booking-recap { margin-top: 24px; padding: 19px; }
    .booking-confirmation .booking-recap-list { gap: 13px; }
    .booking-confirmation-back { margin-top: 16px; }
}
.booking-refund-terms { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.booking-package-help { margin: 0; color: #5b5670; font-size: 14px; }

/* Bouton « Reprendre un rendez-vous » (choix du professionnel pour ce motif). */
.booking-confirmation-rebook { display: flex; justify-content: center; margin-top: clamp(18px, 2.2vw, 28px); }
.booking-confirmation-rebook a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--profile-violet);
    color: #fff;
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.booking-confirmation-rebook a:focus-visible { outline: 3px solid var(--profile-violet); outline-offset: 3px; }
