/* AlphaCampus — visite guidée (beta.434) */
.jc-tour-layer { position: fixed; inset: 0; z-index: 100050; pointer-events: none; }
.jc-tour-shade { position: absolute; inset: 0; pointer-events: auto; }
.jc-tour-spot { position: fixed; z-index: 1; border-radius: 12px; box-shadow: 0 0 0 4px rgba(242, 206, 116, .95), 0 0 0 9999px rgba(10, 28, 40, .58); transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.jc-tour-bubble { position: fixed; z-index: 2; box-sizing: border-box; width: min(380px, calc(100vw - 24px)); padding: 16px 18px 14px; color: #1d3a4c; background: #fff; border-top: 4px solid #d6a93b; border-radius: 14px; box-shadow: 0 18px 44px rgba(10, 28, 40, .3); font: 14.5px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; pointer-events: auto; transition: left .25s ease, top .25s ease; }
.jc-tour-bubble.is-center { top: 50% !important; left: 50% !important; width: min(460px, calc(100vw - 24px)); transform: translate(-50%, -50%); }
.jc-tour-bubble.is-sheet { right: 10px; bottom: 10px; left: 10px; top: auto !important; width: auto; }
.jc-tour-bubble__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.jc-tour-bubble__count { color: #8a6a1a; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.jc-tour-bubble__close { width: 30px; height: 30px; margin: -6px -8px 0 0; color: #5b7180; background: transparent; border: 0; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.jc-tour-bubble__close:hover, .jc-tour-bubble__close:focus-visible { color: #1d3a4c; background: #eef4f7; outline: 0; }
.jc-tour-bubble__title { margin: 0 0 6px; font-family: inherit; font-weight: 800; color: #12364b; font-size: 17px; line-height: 1.3; }
.jc-tour-bubble__text { margin: 0; color: #35546a; }
.jc-tour-bubble__dots { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 10px; }
.jc-tour-bubble__dots span { width: 7px; height: 7px; background: #d6e2e8; border-radius: 50%; }
.jc-tour-bubble__dots span.is-on { width: 18px; background: #d6a93b; border-radius: 4px; }
.jc-tour-bubble__nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.jc-tour-bubble__buttons { display: flex; gap: 8px; margin-left: auto; }
.jc-tour-btn { min-height: 38px; padding: 7px 14px; color: #12364b; background: #fff; border: 1px solid #cfdde5; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.jc-tour-btn:hover, .jc-tour-btn:focus-visible { background: #f2f7f9; border-color: #8ec3d4; outline: 0; }
.jc-tour-btn--primary { color: #fff; background: #12506a; border-color: #12506a; }
.jc-tour-btn--primary:hover, .jc-tour-btn--primary:focus-visible { color: #fff; background: #0c3a4e; border-color: #0c3a4e; box-shadow: 0 0 0 3px rgba(18, 80, 106, .25); }
.jc-tour-btn[hidden] { display: none; }
.jc-tour-link { padding: 4px 0; color: #5b7180; background: none; border: 0; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.jc-tour-link:hover, .jc-tour-link:focus-visible { color: #12364b; outline: 0; }

/* Fenêtre d'accueil */
.jc-tour-modal { position: fixed; inset: 0; z-index: 100060; display: grid; padding: 16px; place-items: center; background: rgba(10, 28, 40, .55); }
.jc-tour-modal__box { box-sizing: border-box; width: min(520px, 100%); padding: 28px 28px 20px; color: #1d3a4c; text-align: center; background: linear-gradient(160deg, #ffffff 55%, #fff8e6); border-top: 5px solid #d6a93b; border-radius: 18px; box-shadow: 0 24px 60px rgba(10, 28, 40, .35); font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.jc-tour-modal__icon { display: grid; width: 58px; height: 58px; margin: 0 auto 10px; place-items: center; color: #12506a; background: #fdf1cf; border-radius: 50%; }
.jc-tour-modal__box h2 { margin: 0 0 8px; font-family: inherit; font-weight: 800; color: #12364b; font-size: 22px; }
.jc-tour-modal__box p { margin: 0 0 16px; color: #35546a; }
.jc-tour-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 8px; }
.jc-tour-modal__actions .jc-tour-btn { min-height: 44px; padding: 9px 20px; font-size: 15px; }
.jc-tour-modal__note { margin: 10px 0 0 !important; color: #6a7f8b !important; font-size: 12.5px; }

/* Bouton « Visite guidée » */
.jc-tour-launcher { position: fixed; right: 16px; bottom: 16px; z-index: 99980; display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; color: #12364b; background: #fff; border: 1px solid #e0c57a; border-radius: 999px; box-shadow: 0 8px 22px rgba(16, 54, 75, .16); font: 700 13.5px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; cursor: pointer; }
.jc-tour-launcher:hover, .jc-tour-launcher:focus-visible { background: #fff8e6; outline: 3px solid rgba(214, 169, 59, .35); }
.jc-tour-open .jc-tour-launcher { display: none; }
#wpadminbar .jc-ab-tour > .ab-item .ab-icon:before { top: 2px; }
@media (max-width: 640px) { .jc-tour-launcher span { display: none; } .jc-tour-launcher { padding: 11px; } .jc-tour-launcher--visitor span { display: inline; } .jc-tour-launcher--visitor { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .jc-tour-spot, .jc-tour-bubble { transition: none; } }
