/* Pop-up Blueprint quasr.fr, v5 (08/10/2026). Charte quasr.fr : Sora 800 titres, Cabin corps,
   noir #000, jaune #FFEE00 seul accent, CTA pilule jaune bord noir ombre noire, cartes rayon 10.
   Jamais de fond noir, jamais de texte clair sur blanc (gris #555 au plus clair). Mobile : <= 700 px. */
.qxp { --ink: #000; --y: #FFEE00; --paper: #fff; --mute: #555; --line: #E4E4E4; --blue: #2453B5; --grid: #DCE5F8;
  font-family: Cabin, system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
.qxp *, .qxp *::before, .qxp *::after { box-sizing: border-box; }
.qxp :where(img) { display: block; max-width: 100%; }
.qxp :where(button) { font: inherit; color: inherit; cursor: pointer; margin: 0; }
.qxp :where(p) { margin: 0; }

/* Socle */
.qxp-scrim { position: fixed; inset: 0; z-index: 2147483000; background: rgba(0, 0, 0, .55); }
.qxp-box { position: fixed; z-index: 2147483001; background: var(--paper); }
.qxp-box:focus, .qxp-drawer:focus, .qxp-cover-wrap:focus { outline: none; }
.qxp-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font: 400 24px/1 Arial, sans-serif; padding: 0 0 2px; }
.qxp-kick { font: 700 12px/1.2 Sora, sans-serif; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.qxp-title { font: 800 32px/1.06 Sora, sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.qxp mark { background: var(--y); color: var(--ink); padding: 0 .1em; }
.qxp-sub { font: 400 16px/1.45 Cabin, sans-serif; color: #333; margin-top: 12px; max-width: 44ch; }
.qxp-q { font: 700 19px/1.25 Sora, sans-serif; letter-spacing: -.02em; margin: 24px 0 12px; }
.qxp-q span { font-weight: 600; color: var(--mute); }
.qxp-opts { display: grid; gap: 10px; }
.qxp-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 10px; padding: 14px 16px; font: 700 16px/1.2 Sora, sans-serif;
  transition: transform .12s, box-shadow .12s, background-color .12s; }
.qxp-opt:hover, .qxp-opt:focus-visible { background: var(--y); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); outline: none; }
.qxp-opt small { display: block; font: 500 13px/1.3 Cabin, sans-serif; color: var(--mute); margin-top: 3px; }
.qxp-lab { flex: 1; }
.qxp-no { display: inline-block; background: none; border: 0; padding: 8px 0; margin-top: 12px; font: 500 14px Cabin, sans-serif;
  color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.qxp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--y); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); padding: 15px 28px;
  font: 700 16px/1.1 Sora, sans-serif; text-decoration: none; transition: transform .1s, box-shadow .1s; }
.qxp-cta:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.qxp-cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.qxp-cta:focus-visible, .qxp-no:focus-visible, .qxp-x:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.qxp-form { display: grid; gap: 12px; }
.qxp-form .qxp-q { margin-bottom: 4px; }
.qxp-form input { width: 100%; height: 54px; border: 2px solid var(--ink); border-radius: 10px; padding: 0 16px;
  font: 500 17px Cabin, sans-serif; background: var(--paper); color: var(--ink); }
.qxp-form input::placeholder { color: #767676; }
.qxp-form input:focus { outline: none; box-shadow: 0 0 0 4px var(--y); }
.qxp-form input[aria-invalid="true"] { border-color: #B00020; }
.qxp-err { color: #B00020; font: 600 14px/1.3 Cabin, sans-serif; }
.qxp-legal { font: 400 13px/1.4 Cabin, sans-serif; color: var(--mute); }
.qxp-ok { font: 800 34px/1.05 Sora, sans-serif; letter-spacing: -.04em; margin-bottom: 12px; }
.qxp-txt { font: 400 17px/1.5 Cabin, sans-serif; margin-bottom: 22px; max-width: 46ch; }
.qxp-sign { display: flex; align-items: center; gap: 10px; margin-top: 22px; font: 400 14px/1.3 Cabin, sans-serif; }
.qxp-sign img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); }
.qxp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qxp-cta:disabled { opacity: .6; cursor: wait; }
.qxp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qxp-dots { display: flex; gap: 6px; margin-top: auto; padding-top: 22px; }
.qxp-dots i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); }
.qxp-dots i.on { background: var(--ink); }
.qxp-body { animation: qxp-fade .22s ease-out; }
.qxp.is-new .qxp-box, .qxp.is-new .qxp-dock, .qxp.is-new .qxp-cover-wrap, .qxp.is-new .qxp-scrim { animation: qxp-fade .25s ease-out; }
@keyframes qxp-fade { from { opacity: 0; } }
.qxp-teaser { position: fixed; z-index: 2147483001; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  background: var(--y); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  padding: 6px 18px 6px 6px; font: 700 15px Sora, sans-serif; }
.qxp-teaser img { width: 32px; height: 42px; object-fit: cover; border-radius: 3px; }

/* V1 Wellcopy : modale 2 colonnes / plein écran mobile */
.qxp--v1 .qxp-box { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(920px, calc(100vw - 48px)); min-height: 540px;
  display: grid; grid-template-columns: 42% 1fr; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.qxp--v1 .qxp-media { background: #E9EEF7; }
.qxp--v1 .qxp-media img { width: 100%; height: 100%; object-fit: cover; }
.qxp--v1 .qxp-main { display: flex; flex-direction: column; padding: 44px 44px 30px; }
.qxp--v1 .qxp-title { font-size: 42px; }
.qxp--v1 .qxp-opts { grid-template-columns: 1fr 1fr; }

/* V2 coin / feuille du bas */
.qxp--v2 .qxp-scrim { display: none; }
.qxp--v2 .qxp-box { left: 24px; bottom: 24px; width: 380px; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); padding: 20px 20px 14px; }
.qxp--v2 .qxp-grip { display: none; }
.qxp--v2 .qxp-hrow { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
.qxp--v2 .qxp-thumb { width: 54px; height: 72px; object-fit: cover; border-radius: 3px; box-shadow: 3px 3px 0 var(--ink); }
.qxp--v2 .qxp-kick { font-size: 11px; margin-bottom: 4px; }
.qxp--v2 .qxp-title { font-size: 21px; }
.qxp--v2 .qxp-q { font-size: 16px; margin: 18px 0 4px; }
.qxp--v2 .qxp-opts { gap: 0; }
.qxp--v2 .qxp-opt { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 13px 4px; font-weight: 600; font-size: 15px; }
.qxp--v2 .qxp-opt:hover, .qxp--v2 .qxp-opt:focus-visible { background: #FFFBCC; box-shadow: none; transform: none; }
.qxp-chev { font-size: 24px; line-height: 1; }
.qxp--v2 .qxp-ok { font-size: 26px; padding-right: 40px; }
.qxp--v2 .qxp-txt { font-size: 15px; }
.qxp--v2 .qxp-form .qxp-q { margin-top: 18px; }

/* V3 quiz plein écran jaune */
.qxp--v3 .qxp-box { inset: 0; background: var(--y); overflow-y: auto; display: flex; flex-direction: column; }
.qxp--v3 .qxp-top { display: flex; align-items: center; gap: 24px; padding: 22px 40px; }
.qxp--v3 .qxp-logo { height: 30px; width: auto; }
.qxp-prog { flex: 1; display: flex; align-items: center; gap: 8px; max-width: 380px; margin: 0 auto; font: 700 13px Sora, sans-serif; }
.qxp-prog span { margin-right: 6px; white-space: nowrap; }
.qxp-prog i { flex: 1; height: 8px; border-radius: 4px; border: 2px solid var(--ink); }
.qxp-prog i.on { background: var(--ink); }
.qxp--v3 .qxp-x { position: static; background: var(--y); flex: none; }
.qxp--v3 .qxp-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: center;
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 10px 40px 64px; }
.qxp-krow { display: flex; align-items: center; gap: 12px; }
.qxp-krow .qxp-kick { margin: 0; }
.qxp-mini { width: 30px; height: 40px; object-fit: cover; border-radius: 2px; box-shadow: 2px 2px 0 var(--ink); }
.qxp--v3 .qxp-q { font: 800 54px/1.03 Sora, sans-serif; letter-spacing: -.045em; margin: 18px 0 28px; text-wrap: balance; }
.qxp--v3 .qxp-opts { gap: 12px; max-width: 560px; }
.qxp--v3 .qxp-opt { font-size: 19px; padding: 15px 18px; }
.qxp--v3 .qxp-opt:hover, .qxp--v3 .qxp-opt:focus-visible { background: var(--paper); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.qxp-key { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 6px; font: 800 14px Sora, sans-serif; }
.qxp--v3 .qxp-hint { font: 500 14px Cabin, sans-serif; margin-top: 18px; }
.qxp--v3 .qxp-no { color: var(--ink); }
.qxp--v3 .qxp-media img { border: 2px solid var(--ink); border-radius: 12px; transform: rotate(2.5deg); box-shadow: 8px 8px 0 var(--ink); background: var(--paper); }
.qxp--v3 .qxp-form { max-width: 560px; }
.qxp--v3 .qxp-form input { background: transparent; border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; height: 64px; font-size: 26px; padding: 0 2px; }
.qxp--v3 .qxp-form input:focus { box-shadow: none; border-bottom-width: 5px; }
.qxp--v3 .qxp-form input::placeholder { color: #6B6400; }
.qxp--v3 .qxp-cta { background: var(--paper); justify-self: start; }
.qxp--v3 .qxp-legal, .qxp--v3 .qxp-q span { color: #3D3A00; }
.qxp--v3 .qxp-ok { font-size: 72px; }
.qxp--v3 .qxp-txt { font-size: 20px; }

/* V4 livre : couverture d'abord, puis double page quadrillée */
.qxp-scrim.qxp-light { background: rgba(226, 234, 250, .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qxp-cover-wrap { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; gap: 72px; padding: 40px; }
.qxp-cover-wrap .qxp-x { top: 22px; right: 22px; }
.qxp-cover { width: 300px; transform: perspective(1200px) rotateY(-16deg) rotateZ(-1deg); border-radius: 3px 8px 8px 3px; box-shadow: 30px 30px 60px rgba(20, 40, 90, .35); }
.qxp-cover-txt { max-width: 380px; }
.qxp-cover-txt .qxp-title { font-size: 48px; }
.qxp-cover-txt .qxp-sub { font-weight: 600; font-size: 18px; color: var(--ink); }
.qxp-cover-txt .qxp-cta { margin-top: 26px; }
.qxp-cover-txt .qxp-no { display: block; }
.qxp--v4 .qxp-spread { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(1000px, calc(100vw - 48px)); height: 600px;
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px rgba(20, 40, 90, .35), 0 3px 0 #C9D3E6; }
.qxp--v4 .qxp-left { position: relative; background: var(--blue); }
.qxp--v4 .qxp-left img { width: 100%; height: 100%; object-fit: cover; }
.qxp--v4 .qxp-left::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 46px; background: linear-gradient(to left, rgba(0, 0, 0, .3), transparent); }
.qxp--v4 .qxp-page { position: relative; display: flex; flex-direction: column; padding: 46px 52px 34px; background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; overflow-y: auto; }
.qxp--v4 .qxp-page::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 36px; background: linear-gradient(to right, rgba(0, 0, 0, .12), transparent); pointer-events: none; }
.qxp--v4 .qxp-title { font-size: 34px; }
.qxp--v4 .qxp-opts { gap: 2px; }
.qxp--v4 .qxp-opt { border: 0; border-radius: 6px; background: transparent; padding: 11px 6px; font-weight: 600; font-size: 18px; }
.qxp--v4 .qxp-opt:hover, .qxp--v4 .qxp-opt:focus-visible { background: rgba(255, 238, 0, .55); box-shadow: none; transform: none; }
.qxp-check { width: 24px; height: 24px; flex: none; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); }
.qxp--v4 .qxp-opt:hover .qxp-check { background: var(--y); }
.qxp-folio { margin-top: auto; padding-top: 16px; font: 600 11px Sora, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* V5 barre d'annonce + tiroir */
.qxp-dock { position: fixed; z-index: 2147483001; left: 0; right: 0; top: 0; display: flex; flex-direction: column; }
.qxp-bar { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 6px 60px;
  background: var(--y); border-bottom: 2px solid var(--ink); font: 400 15px/1.3 Cabin, sans-serif; }
.qxp-bar b { font: 700 15px Sora, sans-serif; }
.qxp-barbtn { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; font: 700 13px Sora, sans-serif; white-space: nowrap; }
.qxp-bar .qxp-x { top: 50%; right: 14px; transform: translateY(-50%); width: 30px; height: 30px; font-size: 18px; background: var(--y); }
.qxp-drawer { background: var(--paper); border-bottom: 2px solid var(--ink); }
.qxp-dwrap { display: grid; grid-template-columns: 260px minmax(0, 1fr) 190px; gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 28px 40px 30px; }
.qxp--v5 .qxp-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 10px; }
.qxp--v5 .qxp-q { margin-top: 0; font-size: 24px; }
.qxp--v5 .qxp-opts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qxp--v5 .qxp-opt { justify-content: center; text-align: center; min-height: 64px; font-size: 15px; }
.qxp--v5 .qxp-form { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.qxp--v5 .qxp-form .qxp-q, .qxp--v5 .qxp-err, .qxp--v5 .qxp-legal { grid-column: 1 / -1; }
.qxp--v5 .qxp-ok { font-size: 30px; }
.qxp--v5 .qxp-txt { margin-bottom: 16px; }
.qxp-steps { list-style: none; margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--line); display: grid; gap: 14px; font: 600 14px Sora, sans-serif; color: var(--mute); counter-reset: s; }
.qxp-steps li { counter-increment: s; }
.qxp-steps li::before { content: counter(s) "  "; font-weight: 800; }
.qxp-steps li.on { color: var(--ink); }
.qxp-steps li.on span { background: var(--y); padding: 0 .15em; }
.qxp-steps li.done { color: var(--ink); }
.qxp-steps li.done::before { content: "✓  "; }

/* V6 une seule question, sans image */
.qxp--v6 .qxp-box { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  border: 2px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); padding: 34px 40px 28px; }
.qxp--v6 .qxp-logo { height: 24px; width: auto; margin-bottom: 26px; }
.qxp--v6 .qxp-title { font-size: 40px; }
.qxp--v6 .qxp-sub { font-size: 17px; }
.qxp--v6 .qxp-q { font: 700 13px Sora, sans-serif; text-transform: uppercase; letter-spacing: .08em; margin: 26px 0 12px; }
.qxp--v6 .qxp-et { font: 800 30px/1.08 Sora, sans-serif; text-transform: none; letter-spacing: -.035em; margin-top: 0; }
.qxp--v6 .qxp-opts { grid-template-columns: 1fr 1fr; }
.qxp--v6 .qxp-opt { min-height: 84px; font-size: 18px; }
.qxp--v6 .qxp-sign img { width: 60px; height: 60px; }

/* Labo seulement */
.qxp-reopen { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 2147483001; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 18px; font: 700 14px Sora, sans-serif; }
.qxp-payload { position: fixed; z-index: 2147483002; right: 16px; top: 16px; display: grid; gap: 3px; max-width: 300px; padding: 12px 14px; background: var(--paper); border: 2px dashed var(--ink); border-radius: 10px; font: 400 12.5px/1.35 Cabin, sans-serif; }
.qxp-payload b { font: 700 12px Sora, sans-serif; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 700px) {
  .qxp-title { font-size: 28px; }
  .qxp-ok { font-size: 30px; }
  .qxp-txt { font-size: 16px; }
  .qxp-teaser { left: 16px; bottom: 16px; }
  /* V1 : plein écran, image en bandeau */
  .qxp--v1 .qxp-box { inset: 0; transform: none; width: auto; min-height: 0; display: flex; flex-direction: column; border: 0; border-radius: 0; box-shadow: none; overflow-y: auto; }
  .qxp--v1 .qxp-media { flex: 0 0 26vh; }
  .qxp--v1 .qxp-main { flex: 1; padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .qxp--v1 .qxp-title { font-size: 30px; }
  .qxp--v1 .qxp-opts { grid-template-columns: 1fr; }
  .qxp--v1 .qxp-opt { min-height: 54px; }
  /* V2 : feuille du bas */
  .qxp--v2 .qxp-scrim { display: block; background: rgba(0, 0, 0, .4); }
  .qxp--v2 .qxp-box { left: 0; right: 0; bottom: 0; width: auto; max-height: 88dvh; overflow-y: auto; border: 0; border-top: 2px solid var(--ink); border-radius: 20px 20px 0 0; box-shadow: none; padding: 10px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .qxp--v2 .qxp-grip { display: block; width: 44px; height: 5px; border-radius: 3px; background: #BDBDBD; margin: 0 auto 14px; }
  .qxp--v2 .qxp-x { top: 22px; right: 16px; }
  .qxp--v2 .qxp-opt { padding: 16px 4px; font-size: 16px; }
  /* V3 : quiz, une colonne */
  .qxp--v3 .qxp-top { padding: 14px 16px; gap: 14px; }
  .qxp--v3 .qxp-logo { height: 22px; }
  .qxp-prog { gap: 5px; }
  .qxp--v3 .qxp-grid { grid-template-columns: 1fr; gap: 0; align-items: start; padding: 18px 20px 32px; }
  .qxp--v3 .qxp-media, .qxp--v3 .qxp-hint { display: none; }
  .qxp--v3 .qxp-q { font-size: 34px; margin: 16px 0 22px; }
  .qxp--v3 .qxp-opt { font-size: 17px; min-height: 58px; }
  .qxp--v3 .qxp-form input { font-size: 20px; }
  .qxp--v3 .qxp-ok { font-size: 48px; }
  .qxp--v3 .qxp-txt { font-size: 17px; }
  /* V4 : couverture puis page, tranche bleue à gauche */
  .qxp-cover-wrap { flex-direction: column; gap: 28px; padding: 56px 24px 24px; text-align: center; }
  .qxp-cover { width: 54vw; max-width: 230px; transform: perspective(900px) rotateY(-14deg); }
  .qxp-cover-txt .qxp-title { font-size: 34px; }
  .qxp-cover-txt .qxp-sub { margin-left: auto; margin-right: auto; }
  .qxp--v4 .qxp-spread { top: 12px; left: 12px; right: 12px; bottom: 12px; transform: none; width: auto; height: auto; grid-template-columns: 40px 1fr; }
  .qxp--v4 .qxp-left img { object-position: 0 50%; }
  .qxp--v4 .qxp-left::after { width: 16px; }
  .qxp--v4 .qxp-page { padding: 30px 20px 18px 22px; }
  .qxp--v4 .qxp-title { font-size: 28px; }
  .qxp--v4 .qxp-x { top: 10px; right: 10px; }
  /* V5 : barre en bas, tiroir qui monte */
  .qxp-dock { top: auto; bottom: 0; }
  .qxp-bar { justify-content: space-between; text-align: left; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 16px; border-bottom: 0; border-top: 2px solid var(--ink); font-size: 14px; }
  .qxp-bar b { font-size: 14px; }
  .qxp-bar .qxp-x { position: static; transform: none; flex: none; }
  .qxp[data-state]:not([data-state="teaser"]) .qxp-bar { padding-bottom: 10px; border-radius: 18px 18px 0 0; border: 2px solid var(--ink); border-bottom: 0; }
  .qxp-drawer { border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); max-height: 80dvh; overflow-y: auto; }
  .qxp-dwrap { grid-template-columns: 1fr; gap: 14px; padding: 16px 16px 22px; }
  .qxp--v5 .qxp-media img { aspect-ratio: auto; height: 84px; }
  .qxp--v5 .qxp-q { font-size: 20px; }
  .qxp--v5 .qxp-opts { grid-template-columns: 1fr 1fr; }
  .qxp--v5 .qxp-opt { min-height: 74px; }
  .qxp-steps { display: none; }
  .qxp--v5 .qxp-form { grid-template-columns: 1fr; }
  /* V6 : carte centrée */
  .qxp--v6 .qxp-box { padding: 24px 20px 18px; box-shadow: 6px 6px 0 var(--ink); }
  .qxp--v6 .qxp-logo { margin-bottom: 18px; }
  .qxp--v6 .qxp-title { font-size: 30px; }
  .qxp--v6 .qxp-sub { font-size: 16px; }
  .qxp--v6 .qxp-opts { grid-template-columns: 1fr; }
  .qxp--v6 .qxp-opt { min-height: 62px; }
  .qxp--v6 .qxp-et { font-size: 26px; }
  .qxp-payload { left: 12px; right: 12px; top: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .qxp *, .qxp.is-new * { animation: none !important; transition: none !important; } }

/* W : Wellcopy à l'identique (09/10). Plein écran desktop : texte à gauche sur papier quadrillé (ADN de V4), livre à droite.
   Mobile : carte plein écran, livre en haut. Parcours : plateforme > CA si Shopify > email > merci. */
.qxp--w .qxp-scrim { display: none; }
.qxp--w .qxp-box { inset: 0; display: grid; grid-template-columns: minmax(460px, 42%) minmax(0, 1fr); }
.qxp--w .qxp-box { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.qxp--w .qxp-panel { display: flex; align-items: center; justify-content: center; padding: 48px 40px; overflow-y: auto; }
.qxp--w .qxp-col { width: 100%; max-width: 470px; text-align: center; }
.qxp--w .qxp-logo { height: 34px; width: auto; margin: 0 auto 24px; }
.qxp--w .qxp-kick { font: 500 15px/1.3 Cabin, sans-serif; letter-spacing: 0; text-transform: none; color: var(--mute); margin-bottom: 8px; }
.qxp--w .qxp-title { font-size: 36px; line-height: 1.08; }
.qxp--w .qxp-q { font: 500 18px/1.3 Cabin, sans-serif; letter-spacing: 0; color: #333; margin: 24px 0 14px; }
.qxp--w .qxp-opts { gap: 12px; }
.qxp--w .qxp-opt { justify-content: center; text-align: center; background: var(--y); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink);
  padding: 15px 18px; font: 700 14px/1.2 Sora, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.qxp--w .qxp-opt:hover, .qxp--w .qxp-opt:focus-visible { background: var(--y); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.qxp--w .qxp-no { margin-top: 16px; }
.qxp--w .qxp-form { margin-top: 26px; gap: 14px; }
.qxp--w .qxp-form input { height: 58px; }
.qxp--w .qxp-form .qxp-cta { width: 100%; letter-spacing: .07em; text-transform: uppercase; font-size: 15px; padding: 18px 20px; }
.qxp--w .qxp-ok { margin-top: 8px; }
.qxp--w .qxp-txt { margin-left: auto; margin-right: auto; }
.qxp--w .qxp-sign { justify-content: center; }
.qxp-hero { position: relative; overflow: hidden; min-height: 0; display: flex; align-items: center; justify-content: center; background: #E9EEF5; }
.qxp-fit-cover img { width: 100%; height: 100%; object-fit: cover; }
.qxp-fit-frame img { width: auto; height: auto; max-width: 80%; max-height: 82%; border-radius: 14px; box-shadow: 0 28px 60px rgba(18, 38, 84, .22), 0 2px 6px rgba(18, 38, 84, .12); }
.qxp--w .qxp-x { top: 20px; right: 20px; width: 42px; height: 42px; }

/* Carnet détouré (08/10) : posé sur le quadrillé, taille l/m/s, fond grid (bleu) ou y (jaune) */
.qxp-bg-grid { background-color: #EEF3FC; background-image: linear-gradient(#D3DEF5 1px, transparent 1px), linear-gradient(90deg, #D3DEF5 1px, transparent 1px); background-size: 28px 28px; background-position: center; }
.qxp-bg-y { background-color: var(--y); background-image: linear-gradient(rgba(0,0,0,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.09) 1px, transparent 1px); background-size: 28px 28px; background-position: center; }
.qxp-fit-free { background: transparent; }
.qxp-fit-free img { width: auto; height: auto; filter: drop-shadow(0 26px 34px rgba(18, 38, 84, .28)) drop-shadow(0 3px 6px rgba(18, 38, 84, .18)); }
.qxp-fit-free.qxp-sz-l img { max-width: 86%; max-height: 82%; }
.qxp-fit-free.qxp-sz-m img { max-width: 64%; max-height: 64%; }
.qxp-fit-free.qxp-sz-s img { max-width: 46%; max-height: 50%; }
.qxp-rot img { transform: rotate(-5deg); }


/* Habits du sélecteur (retour 5.6, 08/10) : boutons BLANCS + logo de la plateforme. s1 liste à ombre, s2 tuiles, s3 cartes radio,
   s4 pastille de logo, s5 liste groupée, s6 grandes lignes avec sous-titre. Les boutons de CA suivent l'habit (sans logo). */
.qxp-ico { flex: none; display: grid; place-items: center; min-width: 30px; height: 30px; }
.qxp-ico img { width: 26px; height: 26px; object-fit: contain; }
.qxp-stack { display: flex; }
.qxp-stack img { width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #fff; }
.qxp-stack img + img { margin-left: -7px; }
.qxp-emo { font-size: 22px; line-height: 1; }
.qxp--w[class*="qxp-sel-"] .qxp-opt { background: #fff; text-transform: none; letter-spacing: 0; font: 700 16px/1.2 Sora, sans-serif; color: var(--ink); text-align: left; justify-content: flex-start; }
.qxp--w[class*="qxp-sel-"] .qxp-opt .qxp-lab { flex: 1; }
/* s1 : pilule blanche, bord noir, ombre dure (la charte, en blanc) */
.qxp-sel-s1 .qxp-opt { border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); padding: 12px 22px 12px 14px; }
.qxp-sel-s1 .qxp-opt::after { content: '→'; font: 700 18px/1 Sora, sans-serif; }
.qxp-sel-s1 .qxp-opt:hover, .qxp-sel-s1 .qxp-opt:focus-visible { background: #fff; box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
/* s2 : tuiles côte à côte, logo au-dessus */
.qxp-sel-s2 .qxp-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qxp-sel-s2[data-state="q2"] .qxp-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qxp-sel-s2 .qxp-opt { flex-direction: column; justify-content: center !important; text-align: center !important; gap: 10px; border-radius: 14px; padding: 18px 8px; min-height: 118px; font-size: 14px !important; box-shadow: 0 2px 0 var(--ink); }
.qxp-sel-s2[data-state="q2"] .qxp-opt { min-height: 64px; }
.qxp-sel-s2 .qxp-ico { min-width: 44px; height: 44px; }
.qxp-sel-s2 .qxp-ico img { width: 40px; height: 40px; }
.qxp-sel-s2 .qxp-stack img { width: 28px; height: 28px; }
.qxp-sel-s2 .qxp-emo { font-size: 34px; }
.qxp-sel-s2 .qxp-opt:hover, .qxp-sel-s2 .qxp-opt:focus-visible { background: #fff; box-shadow: 0 5px 0 var(--ink); transform: translateY(-3px); }
/* s3 : cartes douces, bord gris, rond radio à droite */
.qxp-sel-s3 .qxp-opt { border: 1.5px solid #CFCFCF; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05); }
.qxp-sel-s3 .qxp-opt::after { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #BDBDBD; background: #fff; }
.qxp-sel-s3 .qxp-opt:hover, .qxp-sel-s3 .qxp-opt:focus-visible { background: #fff; border-color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.10); transform: none; }
.qxp-sel-s3 .qxp-opt:hover::after, .qxp-sel-s3 .qxp-opt:focus-visible::after { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 4px, var(--y) 5px); }
/* s4 : pastille carrée grise qui porte le logo, bord noir sans ombre */
.qxp-sel-s4 .qxp-opt { border-radius: 14px; padding: 9px 14px 9px 9px; gap: 14px; box-shadow: none; }
.qxp-sel-s4 .qxp-ico { width: 46px; min-width: 46px; height: 46px; border-radius: 10px; background: #F2F2F2; }
.qxp-sel-s4 .qxp-stack img { width: 16px; height: 16px; }
.qxp-sel-s4 .qxp-stack img + img { margin-left: -5px; }
.qxp-sel-s4 .qxp-opt::after { content: '›'; font: 400 28px/1 Arial, sans-serif; color: var(--mute); }
.qxp-sel-s4[data-state="q2"] .qxp-opt { padding: 15px 16px; }
.qxp-sel-s4 .qxp-opt:hover, .qxp-sel-s4 .qxp-opt:focus-visible { background: #fff; box-shadow: none; transform: none; }
.qxp-sel-s4 .qxp-opt:hover .qxp-ico, .qxp-sel-s4 .qxp-opt:focus-visible .qxp-ico { background: var(--y); }
/* s5 : une seule carte blanche, lignes séparées par un filet (liste façon réglages) */
.qxp-sel-s5 .qxp-opts { gap: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.qxp-sel-s5 .qxp-opt { border: 0; border-radius: 0; padding: 15px 16px; box-shadow: none; }
.qxp-sel-s5 .qxp-opt + .qxp-opt { border-top: 1px solid var(--line); }
.qxp-sel-s5 .qxp-opt::after { content: '›'; font: 400 26px/1 Arial, sans-serif; color: var(--mute); }
.qxp-sel-s5 .qxp-opt:hover, .qxp-sel-s5 .qxp-opt:focus-visible { background: #FFFBD1; box-shadow: none; transform: none; }
/* s6 : grandes lignes, logo + titre + sous-titre gris */
.qxp-sel-s6 .qxp-opt { border: 1.5px solid var(--ink); border-radius: 12px; padding: 12px 16px; gap: 14px; box-shadow: 0 3px 0 var(--ink); }
.qxp-sel-s6 .qxp-ico { min-width: 38px; height: 38px; }
.qxp-sel-s6 .qxp-ico img { width: 34px; height: 34px; }
.qxp-sel-s6 .qxp-stack img { width: 22px; height: 22px; }
.qxp-sel-s6 .qxp-opt small { font-size: 13px; }
.qxp-sel-s6 .qxp-opt:hover, .qxp-sel-s6 .qxp-opt:focus-visible { background: #fff; box-shadow: 0 5px 0 var(--ink); transform: translateY(-2px); }

/* Kickers (retour 5.5) : « +1 800 fois » avec étoiles / emojis */
.qxp-stars { color: #F2A900; letter-spacing: 1px; }
.qxp--w .qxp-kick { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.qxp-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 12px; font: 600 14px/1.2 Cabin, sans-serif; color: var(--ink); }
.qxp-kick-k1 .qxp-kick { color: var(--ink); font-weight: 600; }
.qxp-kick-k3 .qxp-kick, .qxp-kick-k6 .qxp-kick { gap: 10px; text-align: left; font-size: 13px; line-height: 1.35; color: var(--ink); }
.qxp-ava { display: flex; }
.qxp-ava i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F2F2F2; border: 2px solid #fff; font-style: normal; font-size: 15px; }
.qxp-ava i:nth-child(2) { background: #FFF6A8; } .qxp-ava i:nth-child(3) { background: #E6EEFC; }
.qxp-ava i + i { margin-left: -9px; }
.qxp-kick-k4 .qxp-kick { color: var(--ink); font-weight: 600; }
.qxp-big { font: 800 34px/1 Sora, sans-serif; letter-spacing: -.04em; color: var(--ink); }

@media (max-width: 700px) {
  .qxp--w .qxp-scrim { display: block; background: rgba(0, 0, 0, .5); }
  .qxp--w .qxp-box { inset: 10px; display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
  .qxp--w .qxp-hero { order: -1; flex: 1 1 0; min-height: 90px; max-height: 40%; }
  .qxp--w .qxp-panel { flex: 0 1 auto; min-height: 0; overflow-y: auto; }
  .qxp-o-l.qxp-fit-frame img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }
  .qxp-o-p.qxp-fit-frame img { max-height: 86%; max-width: 70%; border-radius: 10px; }
  .qxp--w .qxp-panel { align-items: flex-start; padding: 14px 18px 16px; }
  .qxp--w .qxp-logo { height: 26px; margin-bottom: 12px; }
  .qxp--w .qxp-kick { font-size: 14px; margin-bottom: 6px; }
  .qxp--w .qxp-title { font-size: 29px; }
  .qxp--w .qxp-q { font-size: 16px; margin: 16px 0 10px; }
  .qxp--w .qxp-opts { gap: 10px; }
  .qxp--w .qxp-opt { padding: 13px 14px; font-size: 13px; }
  .qxp--w .qxp-no { margin-top: 8px; }
  .qxp--w .qxp-x { top: 10px; right: 10px; width: 38px; height: 38px; }
  .qxp--w .qxp-form { margin-top: 18px; }
  .qxp-fit-free.qxp-sz-l img { max-width: 92%; max-height: 90%; }
  .qxp-fit-free.qxp-sz-m img { max-width: 80%; max-height: 82%; }
  .qxp-fit-free.qxp-sz-s img { max-width: 70%; max-height: 74%; }
  .qxp-fit-free img { filter: drop-shadow(0 12px 16px rgba(18, 38, 84, .26)); }
  .qxp-fit-free.qxp-msz-s img { max-width: 52%; max-height: 80%; }
  .qxp-mrot img { transform: rotate(-5deg); }
  /* Taille du carnet sur mobile (retour 08/10 : « l'image plus grande, pour économiser la place en haut et en bas ») :
     le bandeau du carnet prend toute la hauteur libre (plus de plafond à 40 %), le carnet grandit selon img-l / img-xl / img-xls (droit). */
  .qxp--w[class*="qxp-img-"] .qxp-hero { max-height: none; }
  .qxp-img-l .qxp-fit-free.qxp-msz-s img { max-width: 64%; max-height: 88%; }
  .qxp-img-xl .qxp-fit-free.qxp-msz-s img, .qxp-img-xls .qxp-fit-free.qxp-msz-s img { max-width: 80%; max-height: 92%; }
  .qxp-img-xls .qxp-mrot img { transform: none; }
  .qxp--w[class*="qxp-sel-"] .qxp-opt { font-size: 15px; }
  .qxp-sel-s2 .qxp-opt { min-height: 96px; padding: 12px 6px; font-size: 13px !important; gap: 8px; }
  .qxp-sel-s2 .qxp-ico { height: 34px; }
  .qxp-sel-s2 .qxp-ico img { width: 34px; height: 34px; }
  .qxp-sel-s2 .qxp-stack img { width: 24px; height: 24px; }
  .qxp-sel-s1 .qxp-opt, .qxp-sel-s3 .qxp-opt, .qxp-sel-s5 .qxp-opt { padding-top: 12px; padding-bottom: 12px; }
  .qxp-sel-s4 .qxp-ico { width: 40px; height: 40px; }
  .qxp-sel-s6 .qxp-opt { padding: 10px 14px; }
  .qxp-big { font-size: 28px; }
}

/* Écran très court (iPhone SE en paysage, clavier) : le texte et les boutons passent avant le carnet */
@media (max-width: 700px) and (max-height: 600px) { .qxp--w .qxp-hero { display: none; } }

/* Tactile : pas de survol collant après un appui (08/10) */
@media (hover: none) { .qxp--w[class*="qxp-sel-"] .qxp-opt:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); } }

/* Pages WordPress (08/10) : le thème stylise les <button> ; on reprend la main sur la croix et « Non merci » */
.qxp .qxp-x { color: var(--ink); background: var(--paper); text-decoration: none; text-transform: none; }
.qxp .qxp-no { color: var(--mute); background: none; box-shadow: none; text-transform: none; letter-spacing: 0; }
