/**
 * Composants vitrine partagés (accordéon, chatbot, book-demo, cookies).
 * Inclus dans landing-classic.css pour le thème classic.
 * Chargé en plus de vitrine-satchel.css pour le thème satchel.
 */

/* Tailwind (app.css) définit .collapse { visibility: collapse } pour les tableaux ;
 cela casse l’accordéon Bootstrap (contenu invisible ou qui « disparaît »). */
.website-layout .accordion .collapse,
.website-layout .accordion .collapsing {
    visibility: visible !important;
}

/* --- Chatbot vitrine (type centre d’aide, couleurs OptiBFR) --- */
/* Typo réf. Zazu / Intercom : corps 14px, line-height 1.4, texte rgb(20,22,26) */
#vitrine-chat-mount {
    --vcb-navy: #1a1a2e;
    --vcb-navy-soft: #243b53;
    --vcb-mint: #47cb9b;
    --vcb-mint-dark: #2da87c;
    --vcb-teal: #34b484;
    --vcb-header-tint: #f0fdf9;
    --vcb-card-shadow: 0 4px 20px rgba(26, 26, 46, 0.08);
    --vcb-zazu-text: rgb(20, 22, 26);
    --vcb-zazu-body: 14px;
    --vcb-zazu-lh: 1.4;
    position: fixed;
    z-index: 10050;
    right: 24px;
    bottom: 24px;
    font-family: var(--vitrine-font-family, 'Inter', system-ui, -apple-system, sans-serif);
    font-size: var(--vcb-zazu-body);
    line-height: var(--vcb-zazu-lh);
    color: var(--vcb-zazu-text);
}
.vcb-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.vcb-launcher {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, var(--vcb-mint), var(--vcb-mint-dark));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(45, 168, 124, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vcb-launcher:hover {
    transform: scale(1.06);
}
.vcb-panel {
    width: min(400px, calc(100vw - 28px));
    /* Hauteur type Zazu : ~82 % de la zone utile, plafonnée (jamais « trop bas ») */
    max-height: calc(100vh - 32px);
    height: min(
        900px,
        calc(100vh - 32px),
        max(480px, calc((100vh - 32px) * 0.82))
    );
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 16px 48px rgba(26, 26, 46, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(26, 26, 46, 0.06);
}
.vcb-head {
    padding: 14px 16px 12px;
    background: linear-gradient(180deg, #fefcfb 0%, var(--vcb-header-tint) 100%);
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
    flex-shrink: 0;
}
.vcb-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.vcb-head-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.vcb-head-favicon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(26, 26, 46, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(26, 26, 46, 0.06);
    overflow: hidden;
}
.vcb-head-favicon {
    width: 78%;
    height: 78%;
    object-fit: contain;
    object-position: center;
}
.vcb-head-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.vcb-head-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: var(--vcb-zazu-text);
    letter-spacing: -0.01em;
}
.vcb-head-tagline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
    line-height: 1.2;
}
.vcb-head-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.vcb-head-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow:
        0 0 0 2px rgba(52, 180, 132, 0.35),
        0 8px 22px rgba(45, 168, 124, 0.4);
    flex-shrink: 0;
}
.vcb-head-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.vcb-close {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 4px 9px;
    transition: background 0.15s ease, color 0.15s ease;
}
.vcb-close:hover {
    background: #f8fafc;
    color: var(--vcb-navy);
}

.vcb-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fafbfc;
    position: relative;
}
.vcb-view {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.vcb-view--home {
    overflow-y: auto;
    padding: 18px 16px 14px;
}
.vcb-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.vcb-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(26, 26, 46, 0.06);
    box-shadow: var(--vcb-card-shadow);
    text-align: left;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
}
.vcb-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(26, 26, 46, 0.1);
}
.vcb-card--block {
    flex-direction: column;
    align-items: stretch;
    cursor: default;
}
.vcb-card--block:hover {
    transform: none;
}
button.vcb-card--block {
    cursor: pointer;
    border: none;
    background: #fff;
}
button.vcb-card--block:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(26, 26, 46, 0.1);
}
.vcb-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vcb-card-title {
    font-weight: 600;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    color: var(--vcb-zazu-text);
    display: block;
}
.vcb-card-title--solo {
    display: block;
    margin-bottom: 10px;
}
.vcb-card-desc {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: var(--vcb-zazu-lh);
    display: block;
}
.vcb-card-stack {
    position: absolute;
    right: 10px;
    bottom: -8px;
    width: 56px;
    height: 48px;
    flex-shrink: 0;
    pointer-events: none;
}
.vcb-card-stack-logo {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vcb-card-stack-logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.vcb-card-stack-av {
    position: absolute;
    right: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(45, 168, 124, 0.3);
}
.vcb-card-stack-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.vcb-card-cta {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--vcb-teal), var(--vcb-mint-dark));
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(45, 168, 124, 0.35);
    transition: filter 0.15s ease;
}
.vcb-card-cta:hover {
    filter: brightness(1.05);
}
.vcb-card-cta--fake {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--vcb-teal), var(--vcb-mint-dark));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    text-align: center;
    box-shadow: 0 4px 16px rgba(45, 168, 124, 0.35);
}
.vcb-card--searchrow {
    align-items: center;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
}
.vcb-card--searchrow:hover {
    border-color: rgba(52, 180, 132, 0.45);
}
.vcb-card-search-label {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    color: var(--vcb-zazu-text);
}
.vcb-card-search-ico {
    color: var(--vcb-teal);
    flex-shrink: 0;
    display: flex;
    opacity: 0.95;
}
.vcb-card-search-ico svg {
    display: block;
}

.vcb-view--chat {
    background: #fff;
}
.vcb-chat-hint {
    margin: 0;
    padding: 16px 16px 4px;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    color: #6b7280;
    flex-shrink: 0;
}
.vcb-chat-hint[hidden] {
    display: none;
}
.vcb-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}
.vcb-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 100%;
}
.vcb-row--bot {
    align-self: flex-start;
    flex-direction: row;
}
.vcb-row--user {
    align-self: flex-end;
    flex-direction: row;
}
.vcb-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #f1f5f9;
}
.vcb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.vcb-bubble-wrap {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 50px);
}
.vcb-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--vcb-zazu-text);
}
.vcb-bubble--user {
    background: #e8faf3;
    color: var(--vcb-zazu-text);
    border-bottom-right-radius: 6px;
}
.vcb-bubble--bot {
    background: #f4f4f6;
    border: 1px solid #e8e8ec;
    border-bottom-left-radius: 6px;
}
.vcb-typing {
    flex-shrink: 0;
    background: #fff;
}
.vcb-typing[hidden] {
    display: none !important;
}
.vcb-typing-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 4px 12px 10px;
}
.vcb-typing-av {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.vcb-typing-bubble {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    border-bottom-left-radius: 6px;
    min-width: 64px;
}
.vcb-typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64748b;
    opacity: 0.45;
    animation: vcb-typing-dot 1.05s ease-in-out infinite;
}
.vcb-typing-dot:nth-child(2) {
    animation-delay: 0.18s;
}
.vcb-typing-dot:nth-child(3) {
    animation-delay: 0.36s;
}
@keyframes vcb-typing-dot {
    0%,
    70%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    35% {
        transform: translateY(-6px);
        opacity: 1;
    }
}
.vcb-form {
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #fff;
}
.vcb-input {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    color: var(--vcb-zazu-text);
    width: 100%;
}
.vcb-msg {
    flex: 1;
}
.vcb-send {
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    background: linear-gradient(135deg, var(--vcb-teal), var(--vcb-mint-dark));
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}
.vcb-send:hover {
    filter: brightness(1.05);
}

.vcb-view--help {
    padding: 16px 14px;
    overflow-y: auto;
}
.vcb-help-heading {
    margin: 0 0 12px;
    font-weight: 600;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    color: var(--vcb-zazu-text);
}
.vcb-help-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vcb-help-link {
    padding: 12px 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(26, 26, 46, 0.08);
    text-decoration: none;
    color: var(--vcb-navy-soft);
    font-weight: 500;
    font-size: 14px;
    line-height: var(--vcb-zazu-lh);
    transition: border-color 0.15s ease, color 0.15s ease;
}
.vcb-help-link:hover {
    border-color: var(--vcb-mint);
    color: var(--vcb-mint-dark);
}

.vcb-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 2px;
    padding: 4px 4px calc(6px + env(safe-area-inset-bottom, 0));
    background: #fff;
    border-top: 1px solid rgba(26, 26, 46, 0.08);
    flex-shrink: 0;
}
.vcb-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 3px 2px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.15;
    font-weight: 600;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease;
}
.vcb-nav-btn:hover {
    background: #f8fafc;
    color: var(--vcb-navy-soft);
}
.vcb-nav-btn--active {
    color: var(--vcb-mint-dark);
}
.vcb-nav-btn--active .vcb-nav-ico {
    color: var(--vcb-mint-dark);
}
.vcb-nav-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}
.vcb-nav-lbl {
    line-height: 1.1;
    text-align: center;
}
.vcb-nav-badge {
    position: absolute;
    top: 0;
    right: calc(50% - 16px);
    min-width: 14px;
    height: 14px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* --- Page dédiée /book-demo --- */
.section-modern.book-demo-page {
    padding: 0.35rem 0 1.25rem;
}

.book-demo-page--tight {
    padding-top: 0;
}

.book-demo-title {
    color: var(--text-primary);
    font-weight: 600;
    /* ~50 % de la taille précédente (clamp 0.94–1.5rem) */
    font-size: clamp(0.75rem, 1.35vw, 1rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.25rem;
    text-align: center;
}

.book-demo-lead {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.45;
    max-width: 640px;
    margin: 0 auto 0.65rem;
    text-align: center;
}

.book-demo-shell {
    max-width: min(1320px, 98vw);
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(26, 26, 46, 0.12);
    border: 1px solid rgba(26, 26, 46, 0.08);
    overflow: hidden;
    min-height: min(880px, calc(100vh - 76px));
}

.book-demo-page .vcb-demo-grid {
    min-height: min(820px, calc(100vh - 88px));
}

.book-demo-page .vcb-demo-content {
    padding: 16px 18px 20px;
}

.book-demo-page .vcb-demo-side {
    padding: 14px 12px 16px;
}

.book-demo-page .vcb-demo-slots {
    max-height: min(520px, 62vh);
}

.book-demo-page .vcb-demo-day {
    max-width: 42px;
    font-size: 13px;
}

.book-demo-page .vcb-demo-form-err {
    margin-bottom: 8px;
}

.vcb-demo-back--link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcb-demo-thanks-close--link {
    text-decoration: none;
    text-align: center;
}

a.vcb-card.vcb-card--block {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.vcb-card.vcb-card--block:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(26, 26, 46, 0.1);
}

/* --- Réservation démo (style Calendly, page + ancien widget) --- */
.vcb-demo-layer {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.vcb-demo-grid {
    display: grid;
    grid-template-columns: minmax(100px, 30%) 1fr;
    flex: 1;
    min-height: 0;
    align-items: stretch;
}

.vcb-demo-side {
    background: #fafbfc;
    border-right: 1px solid #e8eaed;
    padding: 10px 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.vcb-demo-back {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #0069ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-bottom: 10px;
    padding: 0;
    transition: filter 0.15s ease;
}

.vcb-demo-back:hover {
    filter: brightness(1.08);
}

.vcb-demo-side-av {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.vcb-demo-side-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.vcb-demo-host {
    font-size: 11px;
    color: #6b7280;
    margin: 0 0 4px;
    line-height: 1.3;
}

.vcb-demo-event {
    font-size: 13px;
    font-weight: 700;
    color: rgb(20, 22, 26);
    margin: 0 0 8px;
    line-height: 1.25;
}

.vcb-demo-dur {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    margin: 0 0 8px;
}

.vcb-demo-dur-ico {
    display: flex;
    color: #94a3b8;
}

.vcb-demo-side-extra {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e8eaed;
    font-size: 11px;
    color: #475569;
    line-height: 1.35;
}

.vcb-demo-sum-line {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin: 0 0 6px;
}

.vcb-demo-sum-ico {
    flex-shrink: 0;
    display: flex;
    color: #94a3b8;
}

.vcb-demo-side-foot {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
}

.vcb-demo-side-foot a {
    color: #0069ff;
    text-decoration: none;
}

.vcb-demo-side-foot a:hover {
    text-decoration: underline;
}

.vcb-demo-content {
    padding: 12px 10px 14px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.vcb-demo-main-title {
    font-size: 14px;
    font-weight: 700;
    color: rgb(20, 22, 26);
    margin: 0 0 6px;
    line-height: 1.35;
}

.vcb-demo-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 10px;
    line-height: 1.35;
}

.vcb-demo-pick-split {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.vcb-demo-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.vcb-demo-cal-nav-btn {
    border: none;
    background: transparent;
    color: #0069ff;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcb-demo-cal-nav-btn:hover {
    background: #e8f4ff;
}

.vcb-demo-cal-month {
    font-size: 13px;
    font-weight: 600;
    color: rgb(20, 22, 26);
    text-transform: capitalize;
}

.vcb-demo-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
}

.vcb-demo-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px 2px;
    margin-bottom: 10px;
}

.vcb-demo-day {
    aspect-ratio: 1;
    max-width: 36px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: none;
    background: transparent;
    cursor: default;
    position: relative;
    padding: 0;
    border-radius: 50%;
    color: #cbd5e1;
}

.vcb-demo-day--empty {
    visibility: hidden;
}

.vcb-demo-day--off {
    color: #cbd5e1;
}

.vcb-demo-day--avail {
    color: #0069ff;
    background: #e8f4ff;
    cursor: pointer;
    font-weight: 500;
}

.vcb-demo-day--avail:hover {
    filter: brightness(0.97);
}

.vcb-demo-day--today:not(.vcb-demo-day--selected)::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #0069ff;
}

.vcb-demo-day--selected {
    background: #0069ff !important;
    color: #fff !important;
    font-weight: 600;
}

.vcb-demo-day--selected::after {
    display: none;
}

.vcb-demo-tz-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 11px;
    color: #475569;
}

.vcb-demo-tz-ico {
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 2px;
}

.vcb-demo-tz-lbl {
    font-weight: 600;
    color: rgb(20, 22, 26);
    font-size: 10px;
}

.vcb-demo-tz-val {
    line-height: 1.3;
}

.vcb-demo-trouble {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    color: rgb(20, 22, 26);
    cursor: pointer;
}

.vcb-demo-trouble:hover {
    border-color: #cbd5e1;
}

.vcb-demo-slots-date {
    font-size: 13px;
    font-weight: 700;
    color: rgb(20, 22, 26);
    margin: 0 0 8px;
    text-transform: capitalize;
}

.vcb-demo-slots {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.vcb-demo-slots-placeholder {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.vcb-demo-slot {
    border: 1px solid #0069ff;
    background: #fff;
    color: #0069ff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition:
 background 0.12s ease,
        color 0.12s ease;
}

.vcb-demo-slot:hover {
    background: #f0f7ff;
}

.vcb-demo-slot--selected {
    background: #3d3d3d;
    color: #fff;
    border-color: #3d3d3d;
}

.vcb-demo-next-wrap {
    margin-top: 10px;
}

.vcb-demo-next {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #0069ff;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 14px;
    cursor: pointer;
}

.vcb-demo-next:hover {
    filter: brightness(1.06);
}

.vcb-demo-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vcb-demo-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.vcb-demo-flabel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: rgb(20, 22, 26);
}

.vcb-demo-input,
.vcb-demo-textarea {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.4;
    color: rgb(20, 22, 26);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.vcb-demo-input:focus,
.vcb-demo-textarea:focus {
    outline: none;
    border-color: #0069ff;
    box-shadow: 0 0 0 2px rgba(0, 105, 255, 0.15);
}

.vcb-demo-guests-toggle {
    align-self: flex-start;
    border: 1px solid #0069ff;
    background: #fff;
    color: #0069ff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.vcb-demo-legal {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.vcb-demo-form-err {
    font-size: 12px;
    color: #dc2626;
    margin: 0;
}

.vcb-demo-submit {
    border: none;
    border-radius: 8px;
    background: #0069ff;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    cursor: pointer;
}

.vcb-demo-submit:hover {
    filter: brightness(1.06);
}

.vcb-demo-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vcb-demo-step--thanks .vcb-demo-main-title {
    margin-bottom: 8px;
}

.vcb-demo-thanks-sub {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 16px;
}

.vcb-demo-thanks-close {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: rgb(20, 22, 26);
}

@media (min-width: 420px) {
    .vcb-demo-pick-split {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .vcb-demo-cal-col {
        flex: 1;
        min-width: 0;
    }

    .vcb-demo-slots-col {
        flex: 0 0 42%;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    #vitrine-chat-mount {
        right: 14px;
        bottom: 72px;
    }
    .vcb-panel {
        max-height: calc(100vh - 24px);
        height: min(
            900px,
            calc(100vh - 24px),
            max(440px, calc((100vh - 24px) * 0.82))
        );
    }
}

/* ===== COOKIE CONSENT BANNER (CNIL / RGPD) ===== */
.optibfr-cookie-root {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 2300;
    pointer-events: none;
}

.optibfr-cookie-root:not([hidden]) {
    pointer-events: auto;
}

.optibfr-cookie-banner {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border-light, #e2e8f0);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.85rem 0;
}

.optibfr-cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
}

.optibfr-cookie-banner__title {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
}

.optibfr-cookie-banner__desc {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-secondary, #475569);
    max-width: 52rem;
}

.optibfr-cookie-banner__link {
    color: var(--primary-hover, #2da87c);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.optibfr-cookie-banner__link:hover {
    color: var(--primary, #47cb9b);
}

.optibfr-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.optibfr-cookie-btn {
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.optibfr-cookie-btn--primary {
    background: var(--primary, #47cb9b);
    color: #fff;
    border-color: var(--primary, #47cb9b);
}

.optibfr-cookie-btn--primary:hover {
    background: var(--primary-hover, #2da87c);
    border-color: var(--primary-hover, #2da87c);
}

.optibfr-cookie-btn--ghost {
    background: #fff;
    color: var(--text-primary, #0f172a);
    border-color: var(--border, #cbd5e1);
}

.optibfr-cookie-btn--ghost:hover {
    border-color: var(--primary, #47cb9b);
    color: var(--primary-hover, #2da87c);
}

html.optibfr-cookie-open body.website-layout {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767.98px) {
    .optibfr-cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .optibfr-cookie-banner__actions {
        width: 100%;
    }

    .optibfr-cookie-btn {
        flex: 1 1 auto;
        text-align: center;
    }

    #vitrine-chat-mount {
        bottom: calc(72px + env(safe-area-inset-bottom, 0));
    }
}
