.pasi-quest-app{--pq-navy:#08294d;--pq-blue:#0f67b7;--pq-cyan:#36c2f0;--pq-orange:#f47b20;--pq-soft:#f4f8fc;--pq-line:#d8e5ef;--pq-green:#1c9f68;--pq-red:#c53c2c;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14263b;max-width:1180px;margin:0 auto}.pq-app-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;border-radius:28px;background:linear-gradient(135deg,var(--pq-navy),#0b457d);color:white;box-shadow:0 18px 40px rgba(8,41,77,.22)}.pq-app-header span,.pq-app-header strong{display:block}.pq-app-header span{font-size:14px;opacity:.88;text-transform:uppercase;letter-spacing:.08em}.pq-app-header strong{font-size:30px;line-height:1.1}.pq-app-pill{border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:8px 14px;background:rgba(255,255,255,.12)}.pq-app-card{margin-top:20px;padding:24px;border:1px solid var(--pq-line);border-radius:28px;background:white;box-shadow:0 12px 30px rgba(8,41,77,.08)}.pq-app-hidden{display:none!important}.pq-hero-split{display:flex;justify-content:space-between;gap:22px;align-items:center}.pq-hero-split h2{margin:0;color:var(--pq-navy);font-size:28px}.pq-hero-split p{font-size:17px}.pq-hero-mark{padding:16px;border-radius:20px;background:#eef8ff;color:var(--pq-navy);font-weight:800}.pq-app-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px}.pq-app-row input{min-height:54px;border:1px solid #bfd2e4;border-radius:16px;padding:0 16px;font-size:18px}.pq-app-row button,.pq-final-card button{min-height:54px;border:0;border-radius:999px;padding:0 24px;background:var(--pq-orange);color:white;font-weight:900;font-size:17px}.pq-app-board-head,.pq-mission-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center}.pq-app-board-head h2{margin:4px 0 0;color:var(--pq-navy);font-size:28px}.pq-app-board-head span:last-child,.pq-mission-toolbar span{display:inline-flex;align-items:center;justify-content:center;min-width:78px;padding:10px 14px;border-radius:999px;background:#fff1e8;color:#9b440f;font-weight:900}.pq-ateliers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.pq-atelier-card{text-align:left;border:1px solid var(--pq-line);border-radius:22px;background:var(--pq-soft);padding:18px;cursor:pointer;transition:.18s ease}.pq-atelier-card:hover{transform:translateY(-2px);border-color:var(--pq-cyan);box-shadow:0 10px 22px rgba(8,41,77,.1)}.pq-atelier-card span{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,var(--pq-blue),var(--pq-cyan));color:white;font-weight:900}.pq-atelier-card strong{display:block;margin:12px 0 6px;color:var(--pq-navy);font-size:19px}.pq-atelier-card p{margin:0;color:#536b83}.pq-atelier-card small{display:block;margin-top:10px;color:#8a4b16;font-weight:800}.pq-app-back{border:1px solid var(--pq-line);border-radius:999px;padding:10px 16px;background:white;color:var(--pq-navy);font-weight:800}.pq-mission-hero{padding:20px;border-radius:24px;background:linear-gradient(135deg,#eef8ff,#fff7f0);border:1px solid #d9e8f4}.pq-mission-hero span{font-weight:900;color:var(--pq-orange);text-transform:uppercase;letter-spacing:.06em}.pq-mission-hero h2{margin:6px 0;color:var(--pq-navy);font-size:30px}.pq-mission-hero p{font-size:17px}.pq-enigme{margin-top:18px;padding:20px;border:1px solid var(--pq-line);border-radius:24px;background:white}.pq-enigme-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.pq-enigme-head span{font-weight:900;color:var(--pq-blue)}.pq-hint{border:0;border-radius:999px;background:#e7f7fe;color:var(--pq-navy);padding:9px 14px;font-weight:900}.pq-enigme h3{margin:10px 0;color:var(--pq-navy);font-size:22px}.pq-answer-list{display:grid;gap:10px;margin-top:14px}.pq-answer-button{text-align:left;border:1px solid #c9dae9;border-radius:16px;background:#f8fbfe;padding:15px 16px;color:var(--pq-navy);font-weight:800;font-size:16px}.pq-answer-button:hover{border-color:var(--pq-cyan);background:#eefaff}.pq-answer-button:disabled{opacity:.62;cursor:not-allowed}.pq-feedback{margin-top:14px;padding:14px 16px;border-radius:18px;font-weight:700}.pq-feedback p{margin:6px 0 0}.pq-feedback-ok{background:#ebfaf4;color:#0d6844;border:1px solid #b8ead5}.pq-feedback-ko{background:#fff0ed;color:#84281d;border:1px solid #ffd0c7}.pq-feedback-hint{background:#fff7e8;color:#7a4213;border:1px solid #f4d5a8}.pq-final-card{margin-top:18px;padding:20px;border-radius:24px;background:var(--pq-navy);color:white}.pq-final-card h3{margin-top:0;color:white;font-size:24px}@media(max-width:820px){.pq-app-row,.pq-ateliers{grid-template-columns:1fr}.pq-hero-split,.pq-app-board-head,.pq-mission-toolbar{align-items:flex-start;flex-direction:column}.pq-app-header{border-radius:18px}.pq-app-card{border-radius:20px;padding:18px}}.pq-hotspot-scene{margin-top:16px;border:1px solid var(--pq-line);border-radius:24px;overflow:hidden;background:#f8fbff}.pq-scene-title{padding:12px 16px;background:linear-gradient(135deg,var(--pq-navy),#0f67b7);color:white;font-weight:900}.pq-scene-illustration{position:relative;height:340px;background:linear-gradient(180deg,#dff4ff 0%,#eef8ff 45%,#e7ded2 45%,#e7ded2 100%);overflow:hidden}.pq-scene-illustration:before{content:'';position:absolute;left:8%;right:8%;top:44%;height:12px;border-radius:99px;background:repeating-linear-gradient(90deg,#f47b20 0,#f47b20 26px,#fff 26px,#fff 52px);box-shadow:0 80px 0 rgba(8,41,77,.08)}.pq-scene-worker{position:absolute;left:18%;bottom:44px;width:58px;height:92px;border-radius:28px 28px 12px 12px;background:#f47b20;box-shadow:0 -28px 0 -7px #fff,0 -42px 0 -17px #08294d}.pq-scene-zone{position:absolute;right:16%;bottom:42px;width:220px;height:90px;border-radius:18px;background:rgba(244,123,32,.18);border:3px dashed #f47b20}.pq-hotspot{position:absolute;transform:translate(-50%,-50%);width:48px;height:48px;border:4px solid white;border-radius:50%;background:#f47b20;color:white;font-size:18px;font-weight:900;box-shadow:0 10px 22px rgba(8,41,77,.25);cursor:pointer}.pq-hotspot:hover,.pq-hotspot.pq-selected{background:#08294d;scale:1.08}.pq-hotspot:disabled{cursor:default;opacity:.72}.pq-hotspot-help{margin:0;padding:12px 16px;font-weight:800;color:var(--pq-navy)}

.pq-scene-has-image{background-size:cover!important;background-position:center!important}.pq-scene-has-image:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,41,77,.05),rgba(8,41,77,.18));pointer-events:none}.pq-scene-has-image .pq-scene-worker,.pq-scene-has-image .pq-scene-zone{display:none}.pq-scene-has-image .pq-hotspot{z-index:2}

/* Module 9 — visuels d’atelier et identité graphique */
.pasi-quest-app{--pq-navy:#08294d;--pq-blue:#0f67b7;--pq-cyan:#36c2f0;--pq-orange:#f47b20}.pq-hero-mark{background-size:cover;background-position:center}.pq-hero-mark-visual span{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.86);color:#08294d}.pq-atelier-card-visual{position:relative;overflow:hidden;background-image:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.84)),var(--pq-atelier-bg);background-size:cover;background-position:center}.pq-atelier-card-visual:after{content:"";position:absolute;inset:auto 0 0;height:4px;background:linear-gradient(90deg,var(--pq-orange),var(--pq-cyan))}.pq-mission-hero-visual{background-size:cover;background-position:center;color:white}.pq-mission-hero-visual h2,.pq-mission-hero-visual p,.pq-mission-hero-visual strong,.pq-mission-hero-visual span{color:white}.pq-scene-has-image{background-size:cover;background-position:center}.pq-scene-has-image .pq-scene-worker,.pq-scene-has-image .pq-scene-zone{opacity:.08}
/* Module 11/12 — amélioration front-office tablette et widgets Elementor */
.pasi-quest-app{--pq-app-max-width:1180px}.pq-app-header,.pq-app-card{backdrop-filter:saturate(1.05)}.pq-app-join{background:radial-gradient(circle at 94% 8%,rgba(54,194,240,.20),transparent 30%),#fff}.pq-app-row input,.pq-app-row button{font-size:16px}.pq-ateliers{align-items:stretch}.pq-atelier-card{transition:transform .18s ease, box-shadow .18s ease}.pq-atelier-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(8,41,77,.16)}.pq-mission-hero{min-height:210px}.pq-feedback strong{display:block;margin-bottom:6px}.pq-final-card{border:1px solid rgba(54,194,240,.45);background:linear-gradient(135deg,#fff,#f2fbff);border-radius:20px;padding:20px;margin-top:18px;color:var(--pq-navy)}.pq-final-card h3{margin:0 0 8px;color:var(--pq-navy)!important}.pq-final-card p{margin:0;color:#4b647d;font-weight:700;line-height:1.6}.pq-final-card button{border:0;border-radius:999px;background:var(--pq-orange);color:#fff;min-height:42px;padding:0 18px;font-weight:800}

/* Version 1.6.1 — correctifs front-office, démo mission et plein écran */
html:has(.pasi-quest-app), body:has(.pasi-quest-app){scroll-behavior:smooth}.pasi-quest-app{max-width:var(--pq-app-max-width,1280px);width:min(100% - 32px,var(--pq-app-max-width,1280px));margin:24px auto 32px}.pasi-quest-app *{box-sizing:border-box}.pasi-quest-page-template-clean{max-width:1280px;margin:0 auto}.pasi-quest-page-template-clean h1{display:none}.pasi-quest-page-purpose{font-size:16px;color:#34465a;margin:0 0 10px}.pasi-quest-widget-hint{display:inline-flex;gap:8px;align-items:center;margin:0 0 16px;padding:8px 12px;border:1px solid #d8e5ef;border-radius:999px;background:#f6fbff;color:#08294d;font-size:13px}.pq-demo-shell{--pq-app-max-width:1180px}.pq-demo-shell .pq-app-card{padding:28px}.pq-demo-enigme .pq-answer-button,.pq-demo-enigme .pq-hotspot{cursor:pointer}.pq-demo-enigme .pq-answer-button:focus-visible,.pq-demo-enigme .pq-hotspot:focus-visible,.pq-app-row button:focus-visible,.pq-hint:focus-visible,.pq-app-back:focus-visible{outline:4px solid rgba(54,194,240,.45);outline-offset:3px}.pq-demo-enigme .pq-feedback{margin-top:12px}.pq-mission-hero strong{display:block;margin-top:10px}.pq-app-header{margin-bottom:0}.pq-app-card{overflow:hidden}.pq-app-message{min-height:22px;color:#08294d;font-weight:800}.pq-answer-button,.pq-hint,.pq-app-back,.pq-app-row button{touch-action:manipulation}.pq-answer-button{line-height:1.35}.pq-scene-illustration{min-height:300px}.pq-hotspot{z-index:3}body.admin-bar .pasi-quest-app{margin-top:24px}@media (min-width:1024px){.pasi-quest-app{width:min(100% - 64px,var(--pq-app-max-width,1280px))}.pq-ateliers{grid-template-columns:repeat(3,minmax(0,1fr))}.pq-demo-shell .pq-ateliers{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:782px){.pasi-quest-app{width:min(100% - 20px,var(--pq-app-max-width,1280px));margin:12px auto}.pq-app-header strong{font-size:24px}.pq-hero-split h2,.pq-app-board-head h2{font-size:24px}.pq-mission-hero h2{font-size:25px}.pq-scene-illustration{height:280px}.pq-widget-hint{font-size:12px}}


/* Version 1.6.2 — lisibilité des cartes ateliers, titres longs et mode apprenant */
.pq-ateliers{grid-auto-rows:1fr}
.pq-atelier-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:188px;overflow:hidden}
.pq-atelier-card span{flex:0 0 auto}
.pq-atelier-card strong,.pq-atelier-card p,.pq-atelier-card small{max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.pq-atelier-card strong{line-height:1.18;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pq-atelier-card p{line-height:1.34;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pq-atelier-card small{margin-top:auto;padding-top:10px;white-space:normal}
.pq-app-board-head{margin-bottom:6px}.pq-app-board-head span[data-pq-session-title]{display:block;max-width:100%;overflow-wrap:anywhere}
@media (min-width:1024px){.pq-atelier-card{min-height:192px;padding:20px}.pq-atelier-card strong{font-size:18px}.pq-atelier-card p{font-size:15.5px}.pq-ateliers{gap:18px}}
@media (min-width:1280px){.pasi-quest-app{--pq-app-max-width:1320px}.pq-ateliers{grid-template-columns:repeat(3,minmax(0,1fr))}.pq-atelier-card{min-height:200px}}
@media (max-width:980px){.pq-ateliers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.pq-ateliers{grid-template-columns:1fr}.pq-atelier-card{min-height:auto}.pq-atelier-card strong,.pq-atelier-card p{-webkit-line-clamp:unset}}
@supports selector(body:has(.pasi-quest-app)){body:has(.pasi-quest-app.pq-learner-fullscreen) #wpadminbar{display:none!important}html:has(.pasi-quest-app.pq-learner-fullscreen){margin-top:0!important}body.admin-bar:has(.pasi-quest-app.pq-learner-fullscreen){padding-top:0!important}.pasi-quest-app.pq-learner-fullscreen{margin-top:16px}}

/* Version 1.6.3 — correctifs globaux textes, débordements et plein écran */
.pasi-quest-app,
.pasi-quest-app *{min-width:0;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.pasi-quest-app .pq-app-header strong,
.pasi-quest-app .pq-app-header span,
.pasi-quest-app .pq-app-pill,
.pasi-quest-app h1,
.pasi-quest-app h2,
.pasi-quest-app h3,
.pasi-quest-app p,
.pasi-quest-app strong,
.pasi-quest-app span,
.pasi-quest-app small,
.pasi-quest-app button{max-width:100%;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.pq-app-header{min-width:0;overflow:hidden}.pq-app-header>div{min-width:0}.pq-app-header strong{line-height:1.12}.pq-app-pill{flex:0 0 auto;white-space:normal;text-align:center}
.pq-ateliers{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:stretch}.pq-atelier-card{height:100%;min-height:194px}.pq-atelier-card strong{font-size:clamp(17px,1.5vw,20px);line-height:1.18}.pq-atelier-card p{font-size:clamp(14px,1.2vw,16px)}
.pq-mission-hero{overflow:hidden}.pq-mission-hero h2{font-size:clamp(23px,3vw,34px);line-height:1.12}.pq-enigme h3{font-size:clamp(19px,2.3vw,24px);line-height:1.18}.pq-answer-button{white-space:normal;overflow-wrap:anywhere}.pq-scene-title{overflow-wrap:anywhere}
body.admin-bar .pasi-quest-app.pq-learner-fullscreen{margin-top:16px!important}.pasi-quest-force-fullscreen #wpadminbar{display:none!important}.pasi-quest-force-fullscreen{margin-top:0!important}.pasi-quest-force-fullscreen body{margin-top:0!important}
.pasi-quest-widget-hint{display:none!important}.pasi-quest-page-template-clean{width:min(100% - 32px,1320px);max-width:1320px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px)!important;clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;white-space:nowrap!important}
@media(min-width:1180px){.pq-ateliers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.pq-app-header{align-items:flex-start;flex-direction:column}.pq-app-pill{align-self:flex-start}.pq-app-row{grid-template-columns:1fr}.pq-ateliers{grid-template-columns:1fr}.pq-atelier-card{min-height:auto}.pq-atelier-card strong,.pq-atelier-card p{-webkit-line-clamp:unset}}


/* Version 1.8.0 — validation hotspot à zones multiples */
.pq-hotspot[aria-pressed="true"],.pq-hotspot.pq-selected{background:#08294d;box-shadow:0 0 0 6px rgba(54,194,240,.25),0 10px 22px rgba(8,41,77,.25)}
.pq-hotspot-validate{display:inline-flex;align-items:center;justify-content:center;margin:12px 16px 16px;min-height:46px;border:0;border-radius:999px;background:var(--pq-orange);color:#fff;font-weight:900;padding:0 18px;cursor:pointer}
.pq-hotspot-validate:disabled{opacity:.6;cursor:not-allowed}

/* Version 2.4.0 — harmonisation front-office */
.pq-demo-shell .pq-app-card{padding:26px}.pq-demo-shell .pq-enigme{margin-top:20px}.pq-demo-shell .pq-template-footer{margin-top:24px}.pq-demo-shell .pq-template-footer h3{margin:0 0 8px;color:var(--pq-navy)!important}.pq-demo-shell .pq-template-footer p{color:#536b83!important}.pq-app-card .pq-mission-hero strong{display:block;line-height:1.55;color:var(--pq-navy)}.pq-app-header strong{overflow-wrap:anywhere}.pq-hotspot-help{line-height:1.45}.pq-scene-title{overflow-wrap:anywhere}.pq-enigme h3{line-height:1.22}.pq-answer-list{gap:12px}.pq-answer-button{line-height:1.35}.pq-app-board-head [data-pq-progress]{white-space:nowrap}@media(max-width:760px){.pq-demo-shell .pq-app-card{padding:18px}.pq-demo-shell .pq-enigme{padding:16px}.pq-scene-illustration{height:260px}.pq-scene-zone{width:150px;height:72px}.pq-scene-worker{transform:scale(.82);transform-origin:bottom left}.pq-hotspot{width:42px;height:42px}}
