/* YTBusiness — quiz « On fait le point ». Charte reprise de la maquette validée (version 32). */
:root {
  --bg: #0c0c0e;
  --card: #17171a;
  --card-hi: #1e1e22;
  --line: #2a2a2e;
  --line-soft: #212125;
  --ink: #f3efe6;
  --ink-dim: #9b958b;
  --ink-faint: #615d56;
  --accent: #e5273f;
  --accent-hover: #c91f34;
  --accent-wash: rgba(229, 39, 63, 0.13);
  --gold: #e8b84b;
  --gold-wash: rgba(232, 184, 75, 0.12);
  --green: #4ea87a;
  --green-wash: rgba(78, 168, 122, 0.12);
  /* Variables posées par les thèmes (assets/quiz-themes.js) ; ici les valeurs du thème « nuit » */
  --accent-glow: rgba(229, 39, 63, 0.5);
  --on-accent: #fff;
  --line-strong: #3a3a40;
  --gold-line: rgba(232, 184, 75, 0.4);
  --green-line: rgba(78, 168, 122, 0.33);
  --tile-bg: #fff;
  --tile-line: transparent;
  --stripe-a: #141417;
  --stripe-b: #17171a;
  --widget-bg: #fff;
  --widget-line: transparent;
  --shadow: none;
  --r-card: 12px;
  --r-btn: 10px;
  --head: var(--serif);
  --head-weight: 600;
  --h1-weight: 500;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3 { font-family: var(--head); margin: 0; text-wrap: balance; }
button { font-family: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--on-accent); }

.shell {
  max-width: 660px; margin: 0 auto; min-height: 100dvh;
  padding: 36px 20px 48px; display: flex; flex-direction: column; gap: 26px;
}

/* ---------------------------------------------------------------- barre de marque */
.brandbar {
  display: flex; align-items: center; gap: 10px; color: var(--ink-dim);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase;
}
.brandbar .logo-tile { width: 26px; height: 26px; border-radius: 7px; background: var(--tile-bg); box-shadow: 0 0 0 1px var(--tile-line); display: grid; place-items: center; overflow: hidden; flex: none; }
.brandbar .logo-tile img { width: 20px; height: 20px; object-fit: contain; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.brandbar .step { margin-left: auto; color: var(--ink-faint); letter-spacing: 0.07em; }

/* ---------------------------------------------------------------- progression */
.scrub-wrap { display: flex; flex-direction: column; gap: 9px; }
.scrub { position: relative; height: 3px; border-radius: 3px; background: var(--line); }
.scrub-fill { position: absolute; inset: 0 auto 0 0; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.scrub-meta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.07em; }

/* ---------------------------------------------------------------- cartes */
.stage { flex: 1; display: flex; align-items: center; }
.stage > main { width: 100%; }
.card { width: 100%; display: flex; flex-direction: column; gap: 20px; animation: rise 0.36s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .card { animation: none; } .dot { animation: none; } .scrub-fill { transition: none; } }

.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.prompt { font-family: var(--head); font-size: clamp(25px, 4.6vw, 34px); font-weight: var(--head-weight); line-height: 1.2; text-wrap: balance; }
.prompt em, .sub em, .punch em, .res p em { font-style: normal; color: var(--ink); font-weight: 600; }
.sub { color: var(--ink-dim); font-size: 14.5px; max-width: 54ch; margin: -8px 0 0; }
.sub em { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------- options */
.options { display: flex; flex-direction: column; gap: 9px; }
.opt {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  padding: 15px 17px; border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; font-size: 16px; box-shadow: var(--shadow);
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.opt:hover { background: var(--card-hi); border-color: var(--line-strong); }
.opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .mark { flex: none; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--ink-faint); margin-top: 3px; position: relative; transition: border-color 0.16s; }
.opt.on { background: var(--accent-wash); border-color: var(--accent); transform: translateX(2px); }
.opt.on .mark { border-color: var(--accent); }
.opt.on .mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.opt .lbl { font-size: 15.5px; font-weight: 500; display: block; }
.opt .hint { font-size: 13px; color: var(--ink-dim); display: block; margin-top: 2px; font-weight: 400; }
.opt.multi .mark { border-radius: 5px; }
.opt.multi.on .mark::after { border-radius: 2px; inset: 3px; }
.is-locked .opt { pointer-events: none; }

/* ---------------------------------------------------------------- navigation */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.back { background: none; border: none; color: var(--ink-faint); font-size: 13px; cursor: pointer; padding: 8px 2px; }
.back:hover { color: var(--ink-dim); }
.back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.btn {
  background: var(--accent); color: var(--on-accent); border: none; border-radius: var(--r-btn);
  padding: 14px 26px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.16s, opacity 0.16s; text-decoration: none; display: inline-block;
}
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.3; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--r-btn); padding: 13px 24px; font-size: 14.5px; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--line-strong); background: var(--card); }
.btn-ghost:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- ouverture */
.intro h1 { font-size: clamp(31px, 6.4vw, 47px); font-weight: var(--h1-weight); line-height: 1.1; }
.intro .lede { color: var(--ink-dim); font-size: 16.5px; max-width: 47ch; margin: 0; }
.meta { display: flex; gap: 26px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.meta i { font-style: normal; display: block; font-family: var(--mono); color: var(--gold); font-size: 13.5px; }
.meta span { font-size: 12.5px; color: var(--ink-faint); }

/* ---------------------------------------------------------------- écrans de vente */
.reveal { display: flex; flex-direction: column; gap: 11px; }
.reveal-item {
  display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink-dim); line-height: 1.45;
}
.reveal-item:last-child { border-bottom: none; }
.reveal-item::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 8px; }
.punch { font-size: 16px; color: var(--ink); max-width: 52ch; margin: 0; }

.press { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.press-top { display: flex; align-items: center; gap: 10px; padding: 13px 17px; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); flex-wrap: wrap; }
.press-tag { background: var(--accent); color: var(--on-accent); padding: 3px 8px; border-radius: 4px; font-weight: 600; letter-spacing: 0.08em; }
.press-shot {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, var(--stripe-a), var(--stripe-a) 10px, var(--stripe-b) 10px, var(--stripe-b) 20px);
  border-bottom: 1px solid var(--line-soft); color: var(--ink-faint); font-family: var(--mono); font-size: 11.5px; text-align: center; padding: 16px;
}
.press-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line-soft); }
.press-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-bottom: 1px solid var(--line-soft); }
.press-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.press-quote { padding: 17px; font-family: var(--head); font-size: 19px; line-height: 1.35; color: var(--ink); }
.press-note { padding: 15px 17px 17px; font-size: 14px; line-height: 1.5; color: var(--ink-dim); }
.press-quote + .press-note { padding-top: 0; }

/* Témoignages : sur téléphone une colonne (le témoignage mis en avant en premier) ; entre 560 et 900 px deux
   colonnes avec le témoignage mis en avant sur toute la largeur ; sur ordinateur trois colonnes, mis en avant au centre. */
.testi { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tcard { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tcard.is-featured { border-color: var(--gold-line); }
.tshot {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, var(--stripe-a), var(--stripe-a) 8px, var(--stripe-b) 8px, var(--stripe-b) 16px);
  border-bottom: 1px solid var(--line-soft); color: var(--ink-faint); font-family: var(--mono); font-size: 10.5px; text-align: center; padding: 10px; line-height: 1.4;
  text-decoration: none;
}
.tshot.is-video { position: relative; background: #000; padding: 0; }
.tshot.is-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tbody { padding: 12px 13px; display: flex; flex-direction: column; gap: 2px; }
.tname { font-weight: 600; font-size: 14.5px; }
.tjob { font-size: 12.5px; color: var(--ink-dim); }
.tres { font-family: var(--mono); font-size: 12.5px; color: var(--gold); margin-top: 5px; }
.tcard.is-featured .tname { font-size: 16px; }
.tcard.is-featured .tres { font-size: 13.5px; }
@media (min-width: 560px) and (max-width: 899px) {
  .testi { grid-template-columns: 1fr 1fr; }
  .tcard.is-featured { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .testi { grid-template-columns: 1fr 1.35fr 1fr; gap: 16px; align-items: end; }
  .tcard.is-featured { grid-column: 2; grid-row: 1; }
  .tcard:not(.is-featured):nth-child(2) { grid-column: 1; grid-row: 1; }
  .tcard:not(.is-featured):nth-child(3) { grid-column: 3; grid-row: 1; }
}

.proof { display: flex; gap: 26px; flex-wrap: wrap; padding: 17px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.proof div { font-size: 12.5px; color: var(--ink-faint); }
.proof b { display: block; font-family: var(--mono); color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.proof b.k { word-spacing: -0.3em; }

/* ---------------------------------------------------------------- capture */
.fields { display: flex; flex-direction: column; gap: 13px; }
.field label { display: block; font-size: 12.5px; color: var(--ink-dim); margin-bottom: 6px; letter-spacing: 0.02em; }
.field input {
  width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 14px 16px; color: var(--ink); font-size: 16px; font-family: inherit;
}
.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input::placeholder { color: var(--ink-faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 12.5px; color: var(--ink-faint); margin: 0; }
.social { font-size: 13.5px; color: var(--ink-dim); margin: 0; }

/* ---------------------------------------------------------------- calcul */
.computing { align-items: flex-start; gap: 14px; }
.comp-line { font-family: var(--mono); font-size: 13.5px; color: var(--ink-faint); }
.comp-bar { width: 100%; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.comp-bar i { display: block; height: 100%; background: var(--accent); width: 0; animation: fill var(--dur, 1.9s) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------------------------------------------------------------- résultat */
.badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px; border-radius: 999px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase;
}
.badge.ok { background: var(--gold-wash); color: var(--gold); border: 1px solid var(--gold-line); }
.badge.free { background: var(--green-wash); color: var(--green); border: 1px solid var(--green-line); }
.res h2 { font-size: clamp(26px, 5.2vw, 38px); font-weight: var(--head-weight); line-height: 1.15; }
.res p { color: var(--ink-dim); font-size: 15.5px; max-width: 54ch; margin: 0; }
.res p + p { margin-top: -10px; }
.res-main, .res-side, .res-text, .res-lines { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.res-lines { gap: 6px; }
.next { border-left: 2px solid var(--accent); padding-left: 15px; font-size: 15px; color: var(--ink); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 2px; }
.reassure { font-size: 13px; color: var(--ink-faint); margin: 0; }
.reassure a { color: var(--ink-dim); }

/* ---------------------------------------------------------------- iClosed */
.widget-shell { background: var(--widget-bg); border: 1px solid var(--widget-line); border-radius: var(--r-card); padding: 6px; min-height: 560px; box-shadow: var(--shadow); }
.widget-shell .iclosed-widget, .widget-shell .call-details-widget { width: 100%; min-height: 540px; }

/* ---------------------------------------------------------------- merci */
.thanks { text-align: center; align-items: center; }
.hero-image {
  width: 132px; height: 132px; border-radius: 28px; background: var(--tile-bg); box-shadow: 0 0 0 1px var(--tile-line); display: grid; place-items: center; overflow: hidden;
}
.hero-image.is-photo { width: 100%; max-width: 520px; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--card); }
.hero-image img { width: 92px; height: 92px; object-fit: contain; }
.hero-image.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.thanks .res-text { color: var(--ink-dim); font-size: 15.5px; max-width: 54ch; margin: 0; }
.recap {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; margin: 0; width: 100%; max-width: 480px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; box-shadow: var(--shadow);
}
.recap dt { color: var(--ink-dim); font-size: 12.5px; font-family: var(--mono); }
.recap dd { margin: 0; font-weight: 500; }

/* ---------------------------------------------------------------- divers */
.foot { color: var(--ink-faint); font-size: 12px; text-align: center; font-family: var(--mono); letter-spacing: 0.05em; }
.debug {
  margin: 24px 0 0; padding: 14px; background: #0d0d0d; border: 1px dashed #444; border-radius: 10px;
  color: #9fe29f; font-size: 11.5px; line-height: 1.45; overflow: auto; max-height: 60vh; white-space: pre-wrap; font-family: var(--mono);
}
noscript { display: block; text-align: center; padding: 24px; color: var(--ink-dim); }

/* ---------------------------------------------------------------- sélecteur de thèmes (essais de charte)
   Construit par assets/quiz-themes.js, seulement avec ?themes=1 ou ?theme=<nom> dans l'URL. */
.themer { position: fixed; left: 14px; bottom: 14px; z-index: 50; font-family: var(--sans); font-size: 13px; color: var(--ink); }
.themer-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); cursor: pointer; font-size: 13px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}
.themer-toggle b { font-weight: 600; }
.themer-toggle .themer-swatch { width: 18px; height: 18px; }
.themer-panel {
  position: absolute; left: 0; bottom: calc(100% + 10px); width: min(360px, calc(100vw - 28px)); max-height: min(72vh, 600px); overflow: auto;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28); padding: 8px;
}
.themer-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.themer-hide { background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-dim); font-size: 11px; padding: 3px 8px; cursor: pointer; font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.themer-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px;
  border: 1px solid transparent; background: none; color: var(--ink); cursor: pointer; font-size: 13.5px; line-height: 1.3;
}
.themer-item:hover { background: var(--card-hi); }
.themer-item.is-on { border-color: var(--accent); background: var(--accent-wash); }
.themer-item b { display: block; font-weight: 600; }
.themer-item small { display: block; color: var(--ink-dim); font-size: 12px; }
.themer-swatch { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid; position: relative; overflow: hidden; }
.themer-swatch i { position: absolute; right: 0; bottom: 0; width: 55%; height: 55%; border-top-left-radius: 100%; }
.themer-foot { margin: 6px 10px 4px; font-size: 11.5px; color: var(--ink-faint); line-height: 1.4; }
.themer-foot code { font-family: var(--mono); }

@media (max-width: 430px) {
  .shell { padding-inline: 16px; }
  .meta { gap: 18px; }
  .proof { gap: 18px; }
}

/* ---------------------------------------------------------------- ordinateur : tout tient sur un écran
   Au-delà de 900 px : gabarit de 1 040 px, échelle réduite (révision du 4 novembre 2026), options sur deux
   colonnes, extrait France 2 à gauche et texte à droite, témoignages sur trois colonnes, résultat sur deux
   colonnes (portrait à gauche, calendrier à droite). Aucun écran ne doit demander de défilement : si le
   contenu dépasse malgré tout (écran bas), assets/quiz-fit.js réduit l'échelle de .shell (zoom). */
@media (min-width: 900px) {
  body { font-size: 16px; }
  .shell { max-width: 1040px; padding: 20px 44px 20px; gap: 16px; }
  .brandbar { font-size: 11.5px; gap: 12px; }
  .brandbar .logo-tile { width: 28px; height: 28px; border-radius: 8px; }
  .brandbar .logo-tile img { width: 21px; height: 21px; }
  .card { gap: 16px; }
  .eyebrow { font-size: 12px; }
  .prompt { font-size: 30px; max-width: 32ch; }
  .sub { font-size: 15px; max-width: 70ch; margin-top: -4px; }

  .options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-rows: 1fr; }
  .opt { padding: 12px 16px; align-items: center; }
  .opt .lbl { font-size: 15.5px; }
  .opt .hint { font-size: 13px; }
  .opt .mark { margin-top: 0; }
  .btn { padding: 12px 26px; font-size: 15px; }
  .btn-ghost { padding: 11px 24px; font-size: 14.5px; }
  .nav { margin-top: 0; }

  .intro h1 { font-size: 48px; max-width: 20ch; }
  .intro .lede { font-size: 18px; max-width: 58ch; }
  .meta { gap: 36px; padding-top: 14px; }
  .meta i { font-size: 14.5px; }

  /* Écran « révélation » : la liste sur deux colonnes */
  .reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .reveal-item { font-size: 15px; padding: 9px 0; }
  .reveal-item:nth-last-child(2) { border-bottom: none; }
  .punch { font-size: 17px; max-width: 66ch; }

  /* Écran « le métier » : l'extrait vidéo à gauche (16:9, largeur bornée), le texte à droite */
  .press { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: stretch; }
  .press-top { grid-column: 1 / -1; padding: 10px 18px; font-size: 11px; }
  .press-video, .press-img, .press-shot { grid-column: 1; grid-row: 2 / span 2; border-bottom: none; border-right: 1px solid var(--line-soft); align-self: start; }
  .press-quote { grid-column: 2; grid-row: 2; font-size: 18px; line-height: 1.3; padding: 16px 20px 0; }
  .press-note { grid-column: 2; grid-row: 2 / span 2; align-self: center; padding: 18px 24px 20px; font-size: 14.5px; line-height: 1.5; max-width: none; }
  .press-quote + .press-note { grid-row: 3; align-self: start; padding-top: 10px; }

  /* Écran « objectif » : chiffres plus serrés, trois témoignages, le mis en avant au centre */
  .proof { gap: 36px; padding: 12px 0; }
  .proof div { font-size: 12.5px; }
  .proof b { font-size: 17px; }
  .testi { grid-template-columns: 1fr 1.3fr 1fr; gap: 14px; }
  .tbody { padding: 10px 13px; gap: 1px; }
  .tname { font-size: 14.5px; }
  .tjob, .tres { font-size: 12.5px; }
  .tres { margin-top: 3px; }
  .tcard.is-featured .tname { font-size: 16px; }
  .tcard.is-featured .tres { font-size: 13.5px; }

  .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
  .field input { padding: 14px 16px; font-size: 16px; }
  .social { font-size: 14px; }
  .privacy { font-size: 13px; }

  /* Résultat (closing / setting) : en-tête sur deux colonnes (badge + titre à gauche, portrait et textes à droite),
     puis le calendrier iClosed sur TOUTE la largeur : il passe alors en deux colonnes à l'intérieur (formulaire +
     calendrier, ≈ 690 px) au lieu d'une colonne étroite de plus de 1 000 px. Sur écran bas, le cadre blanc est
     plafonné et défile à l'intérieur ; quiz-fit.js réduit l'échelle du reste. */
  .res h2 { font-size: 30px; }
  .res p { font-size: 15px; max-width: 58ch; }
  .next { font-size: 14.5px; padding-left: 16px; }
  .res-main, .res-side, .res-text { gap: 12px; }
  .res-booking { gap: 12px; }
  .is-result .scrub-wrap { display: none; }
  /* En-tête sur trois colonnes : badge + titre | portrait + texte | « dernière étape » */
  .res-booking .res-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px 32px; align-items: start; }
  .res-booking .res-main .badge { grid-column: 1; grid-row: 1; }
  .res-booking .res-main h2 { grid-column: 1; grid-row: 2; font-size: 28px; }
  .res-booking .res-text { grid-column: 2; grid-row: 1 / span 2; gap: 8px; padding-top: 4px; }
  .res-booking .res-text > p { font-size: 14.5px; line-height: 1.45; }
  .res-booking .res-main .next { grid-column: 3; grid-row: 1 / span 2; font-size: 14.5px; margin-top: 4px; }
  .res-booking .proof { display: none; }           /* chiffres déjà vus sur l'écran « objectif » */
  .res-booking .res-side .sub { display: none; }   /* les champs pré-remplis se voient dans le calendrier */
  .res-booking .res-lines { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .widget-shell { min-height: 0; max-height: max(392px, calc(140vh - 400px)); overflow-y: auto; }
  .widget-shell .iclosed-widget, .widget-shell .call-details-widget { min-height: 380px; }
  .res-free .cta { gap: 14px; }

  .thanks .res-text { font-size: 15.5px; max-width: 60ch; }
  .hero-image { width: 104px; height: 104px; border-radius: 22px; }
  .hero-image img { width: 72px; height: 72px; }
  .hero-image.is-photo { max-width: 520px; }
  .recap { max-width: 520px; padding: 12px 16px; }
}

/* Écrans bas (portables 1366 × 768 et moins) : on resserre encore avant que quiz-fit.js ne réduise l'échelle. */
@media (min-width: 900px) and (max-height: 720px) {
  .shell { padding: 14px 44px 14px; gap: 12px; }
  .card { gap: 12px; }
  .prompt { font-size: 27px; }
  .intro h1 { font-size: 42px; }
  .intro .lede { font-size: 17px; }
  .sub { font-size: 14.5px; }
  .opt { padding: 10px 14px; }
  .reveal-item { padding: 7px 0; font-size: 14.5px; }
  .proof { padding: 9px 0; }
  .press-note { font-size: 14px; padding: 14px 22px 16px; }
  .res h2 { font-size: 26px; }
  .foot { font-size: 11px; }
}
