/* ── Prodige Booking Widget ──────────────────────────────────────────── */

.pb-widget {
    max-width: 560px;
    margin: 0 auto;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    background: #fff;
}

/* Header */
.pb-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--pb-primary) 0%, color-mix(in srgb, var(--pb-primary) 80%, #4a90d9) 100%);
    color: #fff;
}
.pb-avatar { font-size: 22px; }
.pb-title  { font-weight: 700; flex: 1; letter-spacing: -.01em; }
.pb-status { font-size: 11px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 4px; }
.pb-status::before { content: ''; display: inline-block; width: 6px; height: 6px; background: rgba(255,255,255,.85); border-radius: 50%; animation: pb-pulse 2s infinite; }
@keyframes pb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* Messages */
.pb-messages {
    height: 340px;
    overflow-y: auto;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f8fb;
}

.pb-message { max-width: 84%; word-break: break-word; }
.pb-message p { margin: 0; padding: 11px 15px; border-radius: 16px; line-height: 1.55; }

.pb-message--bot   { align-self: flex-start; }
.pb-message--bot p { background: #fff; border: 1px solid #eaeaef; color: #222; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }

.pb-message--user   { align-self: flex-end; }
.pb-message--user p { background: var(--pb-primary); color: #fff; border-bottom-right-radius: 4px; }

/* Typing indicator */
.pb-loading {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}
.pb-loading span {
    width: 7px; height: 7px;
    background: #aaa;
    border-radius: 50%;
    animation: pb-bounce 1.2s infinite;
}
.pb-loading span:nth-child(2) { animation-delay: .2s; }
.pb-loading span:nth-child(3) { animation-delay: .4s; }

@keyframes pb-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%            { transform: translateY(-6px); }
}

/* Confirm form */
.pb-confirm-form {
    margin: 0 14px 10px;
    padding: 16px 18px;
    background: var(--pb-secondary, #f0f7ff);
    border: 1.5px solid color-mix(in srgb, var(--pb-primary, #1a1a2e) 18%, transparent);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.75;
}
.pb-confirm-summary { margin: 0 0 14px; }
.pb-confirm-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pb-optin-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    margin: 10px 0;
    line-height: 1.5;
}
.pb-optin-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: var(--pb-primary, #1a1a2e);
}

/* Input area */
.pb-input-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

#pb-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 9px 13px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    outline: none;
    line-height: 1.5;
    transition: border-color .2s;
}
#pb-input:focus { border-color: var(--pb-primary); }

/* Buttons */
.pb-btn { cursor: pointer; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; padding: 9px 16px; transition: opacity .15s; }
.pb-btn:disabled { opacity: .5; cursor: not-allowed; }

.pb-btn--primary { background: var(--pb-primary); color: #fff; }
.pb-btn--primary:hover:not(:disabled) { opacity: .85; }

.pb-btn--ghost { background: transparent; color: #555; border: 1px solid #ccc; }
.pb-btn--ghost:hover:not(:disabled) { background: #f0f0f0; }

.pb-btn--send {
    background: var(--pb-primary);
    color: #fff;
    border-radius: 10px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pb-btn--send svg { width: 18px; height: 18px; }
.pb-btn--send:hover:not(:disabled) { opacity: .85; }

/* Contact bar */
.pb-contact-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}
.pb-contact-link {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s;
}
.pb-contact-link:hover { background: #efefef; color: #222; }

/* Admin schedule table */
.pb-schedule-table td,
.pb-schedule-table th { padding: 8px 12px; vertical-align: middle; }

/* ── Layout wrapper ────────────────────────────────────────────────── */
.pb-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: inherit;
}

/* Title */
.pb-page-title {
    font-size: 28px;
    font-weight: 800;
    color: inherit;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -.02em;
}

/* ── Bannière paiement abandonné ──────────────────────────────────────── */
.pb-pending-banner {
    background: #fff8e6;
    border: 1.5px solid #f59e0b;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 4px;
}
.pb-pending-banner-title {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 15px;
    color: #92400e;
}
.pb-pending-banner-text {
    margin: 0 0 12px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}
.pb-pending-banner-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #777;
}

/* ── Staff selector (liste compacte, accent au survol) ───────────────── */
.pb-staff-selector {
    background: color-mix(in srgb, var(--pb-secondary, #f0f7ff) 55%, #fff);
    border-radius: 20px;
    padding: 20px 20px 22px;
}

.pb-staff-selector-hint {
    font-size: 17px;
    font-weight: 800;
    color: var(--pb-primary, #1a1a2e);
    margin: 0 0 14px;
    letter-spacing: -.01em;
}

.pb-staff-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 3px color-mix(in srgb, var(--pb-primary, #1a1a2e) 8%, transparent),
        0 10px 28px color-mix(in srgb, var(--pb-primary, #1a1a2e) 12%, transparent);
}

.pb-staff-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #f0eee9;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.pb-staff-list .pb-staff-card:last-child {
    border-bottom: none;
}

.pb-staff-card:hover {
    background: color-mix(in srgb, var(--pb-primary, #1a1a2e) 7%, #fff);
    border-left-color: var(--pb-primary, #1a1a2e);
}

.pb-staff-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-primary, #1a1a2e) 14%, transparent);
}

.pb-staff-avatar--init {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--pb-primary, #1a1a2e) 22%, #fff),
        color-mix(in srgb, var(--pb-primary, #1a1a2e) 10%, #fff));
}

.pb-staff-avatar--init span {
    font-size: 18px;
    font-weight: 800;
    color: var(--pb-primary, #1a1a2e);
    letter-spacing: -.01em;
    line-height: 1;
    user-select: none;
}

.pb-staff-avatar--any {
    background: transparent;
    border: 1.5px dashed color-mix(in srgb, var(--pb-primary, #1a1a2e) 35%, #d5d2cc);
    color: var(--pb-primary, #1a1a2e);
    font-size: 18px;
    box-shadow: none;
}

.pb-staff-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pb-staff-card--any .pb-staff-card-name,
.pb-staff-card-name--any {
    color: #6b6f76;
    font-weight: 600;
}

.pb-staff-card-name {
    font-weight: 700;
    font-size: 15.5px;
    color: #1a1d21;
    line-height: 1.3;
}

.pb-staff-card-desc {
    font-size: 12.5px;
    color: #777;
    line-height: 1.5;
    margin-top: 2px;
}

.pb-staff-card-chevron {
    color: color-mix(in srgb, var(--pb-primary, #1a1a2e) 55%, #9a9a9e);
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

/* ── Booking wrap (colonne : carrousel + chat empilés) ──────────────── */
.pb-booking-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pb-booking-wrap--hidden { display: none; }

.pb-booking-wrap .pb-widget {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

/* Back button */
.pb-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s;
    align-self: flex-start;
}
.pb-back-btn:hover { background: #f5f5f5; border-color: #999; color: #222; }

/* ── Section services avec carrousel ─────────────────────────────────── */
.pb-svc-section {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pb-svc-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pb-services-title {
    font-size: 13px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .07em;
    white-space: nowrap;
    margin: 0;
}

/* Filtres catégories (pills) */
.pb-cat-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    flex: 1;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pb-cat-filters::-webkit-scrollbar { display: none; }

.pb-cat-btn {
    padding: 5px 15px;
    border-radius: 20px;
    border: 1.5px solid var(--pb-primary, #1a1a2e);
    background: transparent;
    color: var(--pb-primary, #1a1a2e);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}
.pb-cat-btn:hover,
.pb-cat-btn--active {
    background: var(--pb-primary, #1a1a2e);
    color: #fff;
}

/* Carrousel */
.pb-carousel-outer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-carousel-track {
    flex: 1;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 14px;
    /* Masquer la barre de scroll native mais garder la fonctionnalité */
    scrollbar-width: thin;
    scrollbar-color: var(--pb-primary, #1a1a2e) #eee;
}
.pb-carousel-track::-webkit-scrollbar { height: 3px; }
.pb-carousel-track::-webkit-scrollbar-track { background: #eee; border-radius: 2px; }
.pb-carousel-track::-webkit-scrollbar-thumb { background: var(--pb-primary, #1a1a2e); border-radius: 2px; }

.pb-carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--pb-primary, #1a1a2e);
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--pb-primary, #1a1a2e) 35%, transparent);
    transition: opacity .15s, transform .15s;
    padding: 0;
    font-family: inherit;
}
.pb-carousel-btn:hover:not(:disabled) {
    opacity: .82;
    transform: scale(1.08);
}
.pb-carousel-btn:disabled { opacity: .2; cursor: default; }

@media (max-width: 600px) {
    .pb-carousel-btn { display: none; }
}

/* Cards dans le carrousel */
.pb-service-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    padding: 16px 16px;
    border: 1.5px solid #ececec;
    border-top: 3px solid var(--pb-primary, #1a1a2e);
    transition: box-shadow .2s, transform .15s;
    display: flex;
    flex-direction: column;
}
.pb-service-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .pb-service-card { flex: 0 0 75vw; }
}

.pb-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.pb-service-name {
    font-weight: 700;
    font-size: 14px;
    color: inherit;
    line-height: 1.35;
    flex: 1;
}

.pb-service-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--pb-primary, #1a1a2e);
    white-space: nowrap;
    flex-shrink: 0;
}

.pb-service-meta {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pb-service-badge {
    font-size: 11px;
    background: color-mix(in srgb, var(--pb-primary, #1a1a2e) 10%, #f5f5f5);
    color: color-mix(in srgb, var(--pb-primary, #1a1a2e) 80%, #333);
    border-radius: 20px;
    padding: 2px 9px;
    white-space: nowrap;
    line-height: 1.6;
}

.pb-service-desc {
    font-size: 12px;
    color: #777;
    margin: 8px 0 0;
    line-height: 1.55;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    flex: 1;
}

.pb-service-book-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 9px 12px;
    background: var(--pb-primary, #1a1a2e);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity .15s;
    font-family: inherit;
    margin-top: auto;
    padding-top: 10px;
}
.pb-service-book-btn:hover { opacity: .85; }

/* Image de service */
.pb-service-img-wrap {
    margin: -16px -16px 12px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    height: 120px;
    flex-shrink: 0;
}
.pb-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════════════════════════════════════════════
   Formulaire classique premium v1.6
   ══════════════════════════════════════════════════════════════════════ */

/* Wrap principal — large pour accueillir deux colonnes */
.pb-classic-wrap {
    max-width: 1060px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    color: inherit;
}

/* En-tête */
.pb-classic-header  { margin-bottom: 28px; }
.pb-classic-title   { font-size: 26px; font-weight: 800; color: inherit; margin: 0 0 5px; letter-spacing: -.02em; line-height: 1.2; }
.pb-classic-subtitle { color: #555; margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.pb-classic-contact-hint { color: #777; font-size: 14px; margin: 4px 0 0; }
.pb-cl-contact-link { color: var(--pb-primary, #1a1a2e); text-decoration: underline; }
.pb-cl-contact-link:hover { opacity: .8; }

/* Layout deux colonnes */
.pb-cl-main {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.pb-cl-steps {
    flex: 1;
    min-width: 0;
}

.pb-cl-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
}

/* ── Barre de progression avec points et connecteurs ── */
.pb-cl-progress {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.pb-prog-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pb-prog-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, box-shadow .25s;
}

.pb-prog-dot span {
    font-size: 13px;
    font-weight: 700;
    color: #aaa;
    transition: color .25s;
    line-height: 1;
}

.pb-prog-label {
    font-size: 11px;
    font-weight: 600;
    color: #c0c0c0;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: color .25s;
    text-align: center;
    white-space: nowrap;
}

.pb-prog-connector {
    flex: 1;
    height: 2px;
    background: #e8e8e8;
    margin: 0 6px;
    margin-bottom: 22px;
    transition: background .3s;
}
.pb-prog-connector.done { background: #2e7d32; }

.pb-prog-step.active .pb-prog-dot { background: var(--pb-primary, #1a1a2e); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pb-primary, #1a1a2e) 15%, transparent); }
.pb-prog-step.active .pb-prog-dot span { color: #fff; }
.pb-prog-step.active .pb-prog-label   { color: var(--pb-primary, #1a1a2e); }

.pb-prog-step.done .pb-prog-dot { background: #2e7d32; }
.pb-prog-step.done .pb-prog-dot span { color: #fff; }
.pb-prog-step.done .pb-prog-label { color: #2e7d32; }

/* ── Panneaux avec animation ── */
.pb-cl-panel { animation: pb-panel-in .22s ease; }
.pb-cl-panel--hidden { display: none; }

@keyframes pb-panel-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pb-cl-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: inherit;
    margin: 0 0 20px;
    letter-spacing: -.01em;
}

.pb-cl-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    font-family: inherit;
    transition: color .15s;
}
.pb-cl-back:hover { color: #333; }

.pb-cl-error { color: #c00; font-size: 13px; margin: 4px 0; }
.pb-cl-hint  { color: #888; font-size: 13px; margin-top: 10px; }

/* ── Onglets catégories (mode classique) ──── */
.pb-cl-cat-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}

.pb-cl-cat-tab {
    padding: 7px 18px;
    border-radius: 8px;
    border: 1.5px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    white-space: nowrap;
}

.pb-cl-cat-tab:hover:not(.pb-cl-cat-tab--active) {
    border-color: var(--pb-primary, #1a1a2e);
    color: var(--pb-primary, #1a1a2e);
    background: color-mix(in srgb, var(--pb-primary, #1a1a2e) 5%, #fff);
}

.pb-cl-cat-tab--active {
    background: var(--pb-primary, #1a1a2e);
    border-color: var(--pb-primary, #1a1a2e);
    color: #fff;
}

/* ── Grille de cartes de services ── */
.pb-svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.pb-svc-card {
    background: #fff;
    border: 1.5px solid #ebebeb;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .22s, transform .22s, border-color .22s;
    display: flex;
    flex-direction: column;
}

.pb-svc-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,.11);
    border-color: var(--pb-primary, #1a1a2e);
    transform: translateY(-3px);
}

.pb-svc-card.selected {
    border-color: var(--pb-primary, #1a1a2e);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-primary, #1a1a2e) 15%, transparent);
}

/* Photo du service */
.pb-svc-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: color-mix(in srgb, var(--pb-primary, #1a1a2e) 12%, #f2f2f2);
    flex-shrink: 0;
}

/* Placeholder initiales quand pas de photo */
.pb-svc-photo--init {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--pb-primary, #1a1a2e) 18%, #f5f5f5),
        color-mix(in srgb, var(--pb-primary, #1a1a2e) 7%, #fafafa));
}

.pb-svc-photo--init span {
    font-size: 44px;
    font-weight: 800;
    color: color-mix(in srgb, var(--pb-primary, #1a1a2e) 22%, #e0e0e0);
    letter-spacing: -.02em;
    line-height: 1;
    user-select: none;
}

/* Corps de la carte */
.pb-svc-info {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pb-svc-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

.pb-svc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pb-svc-badge {
    font-size: 12px;
    background: #f3f3f3;
    color: #666;
    border-radius: 20px;
    padding: 3px 10px;
    font-weight: 600;
    line-height: 1.5;
}

.pb-svc-badge--price {
    background: color-mix(in srgb, var(--pb-primary, #1a1a2e) 10%, #fff);
    color: var(--pb-primary, #1a1a2e);
}

.pb-svc-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Pied de la carte — CTA */
.pb-svc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-top: 1px solid #f0f0f0;
}

.pb-svc-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--pb-primary, #1a1a2e);
}

.pb-svc-arrow {
    color: var(--pb-primary, #1a1a2e);
    flex-shrink: 0;
    transition: transform .2s;
}
.pb-svc-card:hover .pb-svc-arrow { transform: translateX(3px); }

/* ── Calendrier ── */
.pb-cl-calendar {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pb-cal-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--pb-primary, #1a1a2e);
    color: #fff;
}

.pb-cal-month-label { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }

.pb-cal-nav {
    background: none;
    border: none;
    color: rgba(255,255,255,.85);
    font-size: 24px;
    line-height: 1;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 6px;
    font-family: inherit;
    transition: background .15s, color .15s;
}
.pb-cal-nav:hover:not([disabled]) { background: rgba(255,255,255,.15); color: #fff; }
.pb-cal-nav[disabled] { opacity: .3; cursor: default; }

.pb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    gap: 3px;
}

.pb-cal-dh {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #b0b0b0;
    padding: 6px 2px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pb-cal-day {
    text-align: center;
    padding: 9px 3px;
    font-size: 14px;
    border-radius: 8px;
    transition: background .15s, color .15s;
    user-select: none;
    line-height: 1;
}

.pb-cal-day--off  { color: #d8d8d8; }

.pb-cal-day--on {
    font-weight: 600;
    cursor: pointer;
    color: var(--pb-primary, #1a1a2e);
    background: color-mix(in srgb, var(--pb-primary, #1a1a2e) 8%, #fff);
}
.pb-cal-day--on:hover { background: color-mix(in srgb, var(--pb-primary, #1a1a2e) 18%, #fff); }

.pb-cal-day--sel {
    background: var(--pb-primary, #1a1a2e) !important;
    color: #fff !important;
    font-weight: 700;
}

.pb-cal-day--today:not(.pb-cal-day--sel) {
    box-shadow: inset 0 0 0 2px var(--pb-primary, #1a1a2e);
    font-weight: 700;
}

/* ── Créneaux horaires ── */
.pb-slots-label {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 12px;
}

.pb-slots-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.pb-slot {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    font-family: inherit;
    transition: background .15s, border-color .15s, color .15s;
    min-width: 64px;
    text-align: center;
}
.pb-slot:hover    { border-color: var(--pb-primary, #1a1a2e); color: var(--pb-primary, #1a1a2e); }
.pb-slot--sel     { background: var(--pb-primary, #1a1a2e); border-color: var(--pb-primary, #1a1a2e); color: #fff; }

/* ── Champs de formulaire ── */
.pb-cl-fields { display: flex; flex-direction: column; gap: 14px; }

.pb-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pb-field { display: flex; flex-direction: column; }

.pb-field-lbl {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pb-req { color: #c00; font-weight: 700; }
.pb-opt { color: #aaa; font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; }

.pb-cl-input {
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    color: #111;
    appearance: none;
}
.pb-cl-input:focus {
    border-color: var(--pb-primary, #1a1a2e);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-primary, #1a1a2e) 12%, transparent);
}

/* Neutralise le fond jaune que certains navigateurs imposent aux champs auto-remplis */
.pb-cl-input:-webkit-autofill,
.pb-cl-input:-webkit-autofill:hover,
.pb-cl-input:-webkit-autofill:focus,
.pb-cl-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #111 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ── Opt-in ── */
.pb-optin-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    line-height: 1.55;
    margin: 10px 0;
}
.pb-optin-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--pb-primary, #1a1a2e);
    cursor: pointer;
}

/* ── Récapitulatif étape 4 ── */
.pb-cl-summary { margin-bottom: 20px; }

.pb-cl-sum-list {
    background: #f8f9fb;
    border: 1.5px solid #eaeaea;
    border-radius: 14px;
    overflow: hidden;
}

.pb-cl-sum-row {
    display: flex;
    gap: 14px;
    padding: 11px 18px;
    border-bottom: 1px solid #eee;
    align-items: baseline;
}
.pb-cl-sum-row:last-child { border-bottom: none; }

.pb-cl-sum-lbl {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #aaa;
    min-width: 70px;
    flex-shrink: 0;
}

.pb-cl-sum-val {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    flex: 1;
}

/* ── Succès ── */
.pb-cl-success {
    text-align: center;
    padding: 48px 24px 40px;
}

.pb-cl-success-check {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pb-cl-success-check svg {
    width: 34px;
    height: 34px;
    color: #2e7d32;
}

.pb-cl-success h3 { font-size: 22px; font-weight: 800; color: #111; margin: 0 0 10px; letter-spacing: -.02em; }
.pb-cl-success p  { color: #666; font-size: 15px; margin: 0; line-height: 1.6; }

/* ── Sidebar de récapitulatif live ── */
.pb-sidebar-card {
    background: #fff;
    border: 1.5px solid #eaeaea;
    border-radius: 16px;
    overflow: hidden;
}

.pb-sidebar-head {
    background: #f6f7f9;
    padding: 13px 18px;
    border-bottom: 1px solid #eaeaea;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #999;
}

.pb-sidebar-body { padding: 6px 0; }

.pb-sidebar-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 18px;
    border-bottom: 1px solid #f3f3f3;
}
.pb-sidebar-row:last-child { border-bottom: none; }

.pb-sidebar-key {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #bbb;
}

.pb-sidebar-val {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.pb-sidebar-empty {
    color: #ccc;
    font-size: 13px;
    text-align: center;
    padding: 24px 16px;
    margin: 0;
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .pb-cl-main {
        flex-direction: column-reverse;
    }
    .pb-cl-sidebar {
        width: 100%;
        position: static;
    }
    .pb-cl-sidebar-card, .pb-sidebar-card {
        display: none; /* Masqué sur mobile : le résumé étape 4 suffit */
    }
    .pb-svc-grid {
        grid-template-columns: 1fr;
    }
    .pb-fields-row {
        grid-template-columns: 1fr;
    }
    .pb-classic-title { font-size: 22px; }
}


@media (max-width: 460px) {
    .pb-prog-label { display: none; }
    .pb-prog-dot   { width: 28px; height: 28px; }
    .pb-prog-dot span { font-size: 11px; }
    .pb-prog-connector { margin: 0 3px; margin-bottom: 5px; }
}

/* ── Carte de confirmation visuelle (item 8) ──────────────────────── */
.pb-confirmed-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #e8f5e9;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    animation: pb-fade-in .4s ease;
}
@keyframes pb-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.pb-confirmed-icon {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 10px;
}
.pb-confirmed-title {
    margin: 0 0 16px;
    color: #1a7a1a;
    font-size: 22px;
    font-weight: 700;
}
.pb-confirmed-details {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}
.pb-confirmed-details p {
    margin: 0;
}
.pb-confirmed-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.pb-confirmed-actions .pb-btn {
    font-size: 13px;
    padding: 10px 18px;
}
