/* Questionnaire du panneau 904 Raban (plugin WordPress) — charte Bellevi_ v1, version immo en clair (design « 904 Raban — Questionnaire QR »).
 *
 * Même palette que le thème « Clair » de la page client (tarifs/themes.py) : encre, filet gris-vert, un seul accent citron.
 * Ce n'est PAS le thème lilas de MagicPropal : cette page porte la marque Bellevi_immo, pas celle du produit.
 * Les couleurs ne sont écrites qu'ici, dans le bloc de variables ; elles reprennent questionnaire/charte.py (un test les compare).
 * Le citron foncé (--q-citron) et le vert (--q-vert) servent aux aplats, filets et icônes ; le texte vert prend --q-vert-texte (5,0:1 sur blanc).
 * Seul dégradé de la feuille : le voile sur la photo de l'accueil, pour que le logo et la légende restent lisibles.
 * Mobile d'abord pour un QR : sous 800 px, la colonne « Votre parcours » disparaît et les boutons se collent en bas d'écran. */

/* Polices : celles du thème bellevi-2026 (déjà servies par le site, aucune ressource tierce). Repli : Arial. */
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url('/wp-content/themes/bellevi-2026/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url('/wp-content/themes/bellevi-2026/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 600; src: url('/wp-content/themes/bellevi-2026/assets/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); }
html, body { margin: 0; padding: 0; background: #fff; }


.q904 {
  --q-encre: #0f1412;
  --q-texte: #3d4a40;
  --q-discret: #5c6660;
  --q-filet: #c7d1cb;
  --q-filet-doux: #e3eae5;
  --q-citron: #8db52e;
  --q-citron-survol: #7ea626;
  --q-citron-vif: #d4f24a;
  --q-vert: #5f8a1a;
  --q-vert-texte: #547a16;
  --q-danger: #b3123f;
  --q-blanc: #ffffff;
  --q-gris-sur-photo: #c9d1cc;
  --q-gris-trait: #3a443e;
  --q-fond-doux: #f5f7f5;
  --q-voile-haut: rgba(15, 20, 18, 0.72);
  --q-voile-bas: rgba(15, 20, 18, 0.86);
  --q-voile-mobile: rgba(15, 20, 18, 0.6);
  --q-voile-nul: rgba(15, 20, 18, 0);
  --q-blanc-nul: rgba(255, 255, 255, 0);
  --q-r-petit: 6px;
  --q-r-moyen: 8px;
  --q-r-grand: 13px;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--q-blanc);
  color: var(--q-encre);
  font-family: Archivo, Arial, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
.q904 *, .q904 *::before, .q904 *::after { box-sizing: border-box; }
.q904 a { color: var(--q-vert-texte); }
.q904 a:hover { color: var(--q-encre); }
.q904 :focus-visible { outline: 3px solid var(--q-encre); outline-offset: 2px; }
.q904 .x { font-family: Archivo, 'Arial Black', sans-serif; font-stretch: 125%; }
.q904 .m { font-family: 'IBM Plex Mono', Menlo, monospace; }
.q-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.q-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- En-tête ------------------------------------------------------------------------------------------------- */
.q-entete { flex: none; height: 72px; padding: 0 55px; display: flex; align-items: center; justify-content: space-between; gap: 21px; }
.q-entete--filet { border-bottom: 1px solid var(--q-filet); }
.q-marque { display: inline-flex; align-items: center; color: var(--q-encre); font-size: 22px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; text-decoration: none; }
.q904 a.q-marque, .q904 a.q-marque:hover { color: var(--q-encre); }
.q904 .q-marque--clair, .q904 a.q-marque--clair { color: var(--q-blanc); }
.q-tiret { color: var(--q-vert); }
.q-marque-immo { font-weight: 500; letter-spacing: -0.02em; color: var(--q-vert-texte); }
.q-marque--clair { color: var(--q-blanc); font-size: 16px; }
.q-marque--clair .q-tiret, .q-marque--clair .q-marque-immo { color: var(--q-citron-vif); }
.q-entete-droite { display: flex; align-items: center; gap: 21px; min-width: 0; }
.q-etiquette-entete { font-size: 13px; color: var(--q-discret); }
.q-sep { width: 1px; height: 22px; background: var(--q-filet); }
.q-logo-904 { height: 30px; width: auto; display: block; }

.q-progres { display: block; flex: none; width: 100%; height: 3px; border: 0; padding: 0; -webkit-appearance: none; appearance: none; background: var(--q-filet); color: var(--q-vert); }
.q-progres::-webkit-progress-bar { background: var(--q-filet); }
.q-progres::-webkit-progress-value { background: var(--q-vert); }
.q-progres::-moz-progress-bar { background: var(--q-vert); }

/* ---- Pages de questions : colonne « Votre parcours » + question ---------------------------------------------- */
.q-corps { flex: 1; display: grid; grid-template-columns: 360px minmax(0, 1fr); }
.q-laterale { border-right: 1px solid var(--q-filet); padding: 55px; display: flex; flex-direction: column; gap: 21px; }
.q-etiquette { font-size: 11px; letter-spacing: 0.1em; color: var(--q-discret); }
.q-etiquette.q-vert { color: var(--q-vert-texte); }
.q-etiquette.q-citron-vif { color: var(--q-citron-vif); }
.q-etapes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; font-size: 15px; }
.q-etape { display: flex; gap: 13px; align-items: center; color: var(--q-discret); }
.q-etape-num { flex: none; width: 28px; height: 28px; border-radius: var(--q-r-petit); border: 1px solid var(--q-filet); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.q-etape--courante { color: var(--q-encre); font-weight: 600; }
.q-etape--courante .q-etape-num { background: var(--q-encre); border-color: var(--q-encre); color: var(--q-blanc); }
.q-etape--faite { color: var(--q-texte); }
.q-etape--faite .q-etape-num { border-color: var(--q-vert); color: var(--q-vert-texte); }
.q-note, .q-contact { margin: 0; font-size: 13px; line-height: 1.45; color: var(--q-discret); }
.q-note { border: 1px solid var(--q-filet); border-radius: var(--q-r-grand); padding: 21px; color: var(--q-texte); }

.q-principal { padding: 89px 120px 55px; display: flex; flex-direction: column; min-width: 0; }
.q-principal--saisie { padding-top: 72px; }
.q-principal--envoi { padding-top: 55px; padding-bottom: 34px; }
.q-form { width: 100%; max-width: 660px; display: flex; flex-direction: column; gap: 34px; }
.q-principal--envoi .q-form { gap: 21px; }
.q-intro { display: flex; flex-direction: column; gap: 13px; }
.q-principal--envoi .q-intro { gap: 8px; }
.q-titre { margin: 0; font-size: 34px; line-height: 1.05; font-weight: 900; letter-spacing: -0.04em; text-wrap: balance; }
.q-aide { margin: 0; font-size: 15px; line-height: 1.5; color: var(--q-texte); }

/* Réponses à choisir : cartes (profil), lignes (les autres) */
.q-options { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.q-options--cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; max-width: none; }
.q-option { position: relative; display: flex; gap: 16px; align-items: center; min-height: 56px; padding: 0 17px; background: var(--q-blanc); border: 1px solid var(--q-filet); border-radius: var(--q-r-petit); font-size: 16px; cursor: pointer; }
.q-option:hover { border-color: var(--q-encre); }
.q-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.q-lettre { flex: none; width: 28px; height: 28px; border-radius: var(--q-r-petit); border: 1px solid var(--q-filet); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.q-option-texte { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.q-option-detail { font-size: 13px; line-height: 1.45; color: var(--q-texte); }
.q-option-coche { margin-left: auto; flex: none; color: var(--q-vert); display: none; }
.q-option input:checked ~ .q-lettre { background: var(--q-encre); border-color: var(--q-encre); color: var(--q-blanc); }
.q-option input:checked ~ .q-option-coche { display: block; }
.q-option:has(input:checked) { border-color: var(--q-encre); box-shadow: inset 0 0 0 1px var(--q-encre); }
.q-option input:checked ~ .q-option-texte .q-option-libelle { font-weight: 600; }
.q-option:has(input:focus-visible) { outline: 3px solid var(--q-encre); outline-offset: 2px; }
.q-option--bloquee { opacity: 0.5; cursor: not-allowed; }
.q-option--bloquee input { cursor: not-allowed; }
.q-options--cartes .q-option { align-items: flex-start; padding: 21px; border-radius: var(--q-r-grand); }
.q-options--cartes .q-lettre { width: 30px; height: 30px; }
.q-options--cartes .q-option-libelle { font-size: 17px; font-weight: 600; }
.q-options--cartes .q-option-coche { display: none !important; }

/* Coordonnées, texte libre */
.q-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; max-width: 620px; }
.q-champ { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.q-champ--plein { grid-column: 1 / -1; }
.q-canal legend { padding: 0; margin-bottom: 8px; }
.q-facultatif { font-weight: 400; color: var(--q-discret); }
.q-saisie, .q-texte { width: 100%; border: 1px solid var(--q-filet); border-radius: var(--q-r-petit); background: var(--q-blanc); color: var(--q-encre); font-family: inherit; font-size: 16px; font-weight: 400; }
.q-saisie { height: 52px; padding: 0 16px; }
.q-texte { min-height: 176px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.q-texte--court { min-height: 92px; }
.q-saisie::placeholder, .q-texte::placeholder { color: var(--q-discret); opacity: 1; }
.q-saisie:focus, .q-texte:focus { outline: none; border-color: var(--q-encre); box-shadow: inset 0 0 0 1px var(--q-encre); }
.q-saisie[aria-invalid="true"], .q-texte[aria-invalid="true"] { border-color: var(--q-danger); box-shadow: inset 0 0 0 1px var(--q-danger); }
.q-erreur { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--q-danger); }
.q-segments { display: flex; gap: 8px; }
.q-segment { position: relative; flex: 1; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--q-blanc); border: 1px solid var(--q-filet); border-radius: var(--q-r-petit); font-size: 15px; font-weight: 400; cursor: pointer; }
.q-segment input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.q-segment:hover { border-color: var(--q-encre); }
.q-segment:has(input:checked) { border-color: var(--q-encre); box-shadow: inset 0 0 0 1px var(--q-encre); font-weight: 600; }
.q-segment:has(input:focus-visible) { outline: 3px solid var(--q-encre); outline-offset: 2px; }

/* Récapitulatif et consentement */
.q-recap { margin: 0; max-width: 640px; padding: 8px 21px; background: var(--q-blanc); border: 1px solid var(--q-filet); border-radius: var(--q-r-grand); font-size: 14px; line-height: 1.4; }
.q-recap-ligne { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; column-gap: 21px; padding: 8px 0; border-bottom: 1px solid var(--q-filet-doux); }
.q-recap-ligne:last-child { border-bottom: 0; }
.q-recap dt { color: var(--q-discret); }
.q-recap dd { margin: 0; overflow-wrap: anywhere; }
.q-consentement { display: flex; flex-direction: column; gap: 13px; max-width: 640px; }
.q-case { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.q-case input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--q-encre); }
.q-mentions { margin: 0; max-width: 640px; font-size: 13px; line-height: 1.45; color: var(--q-discret); }

/* Boutons */
.q-actions { display: flex; align-items: center; gap: 13px; }
.q-btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--q-r-petit); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; }
.q-btn--primaire { background: var(--q-citron); color: var(--q-encre); }
.q-btn--primaire:hover { background: var(--q-citron-survol); }
.q904 a.q-btn--primaire, .q904 a.q-btn--primaire:hover { color: var(--q-encre); }
.q-btn--contour { background: var(--q-blanc); border-color: var(--q-filet); color: var(--q-encre); font-weight: 500; padding: 0 21px; }
.q904 a.q-btn--contour { color: var(--q-encre); }
.q-btn--contour:hover { border-color: var(--q-encre); }
.q-btn--encre { background: var(--q-encre); color: var(--q-blanc); }
.q904 a.q-btn--encre, .q904 a.q-btn--encre:hover { color: var(--q-blanc); }
.q-btn--grand { height: 52px; padding: 0 28px; }
.q-btn--retour svg { display: none; }
.q-btn.envoi-en-cours { opacity: 0.6; cursor: progress; }
.q-aide-clavier { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; color: var(--q-discret); }

/* ---- Accueil ------------------------------------------------------------------------------------------------- */
.q-accueil { flex: 1; display: flex; flex-direction: column; }
.q-accueil-corps { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.q-visuel { position: relative; background: var(--q-encre); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 520px; }
.q-visuel-image, .q-visuel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.q-visuel-video { opacity: 0; transition: opacity 0.6s ease; }
.q-visuel-video--pret { opacity: 1; }
.q-voile { position: absolute; inset: 0; background: linear-gradient(180deg, var(--q-voile-haut) 0%, var(--q-voile-nul) 38%, var(--q-voile-nul) 55%, var(--q-voile-bas) 100%); }
.q-visuel-haut { position: relative; padding: 55px; display: flex; align-items: center; justify-content: space-between; }
.q-logo-blanc { height: 72px; width: auto; display: block; }
.q-visuel-bas { position: relative; padding: 55px; display: flex; flex-direction: column; gap: 8px; }
.q-legende { font-size: 13px; color: var(--q-gris-sur-photo); max-width: 420px; }
.q-presentation { padding: 89px 89px 55px; display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.q-titre--accueil { font-size: 48px; line-height: 0.95; letter-spacing: -0.045em; max-width: 600px; }
.q-chapo { margin: 0; font-size: 18px; line-height: 1.5; color: var(--q-texte); max-width: 560px; }
.q-chiffres { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; max-width: 660px; }
.q-chiffres li { display: flex; flex-direction: column; gap: 5px; padding: 21px; background: var(--q-blanc); border: 1px solid var(--q-filet); border-radius: var(--q-r-grand); }
.q-chiffre { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; white-space: nowrap; }
.q-chiffre-legende { font-size: 11px; letter-spacing: 0.1em; color: var(--q-discret); }
.q-commencer { display: flex; align-items: center; gap: 21px; }
.q-presentation .q-mentions { max-width: 560px; }

/* ---- Merci --------------------------------------------------------------------------------------------------- */
.q-merci { flex: 1; padding: 89px 144px; display: flex; flex-direction: column; gap: 34px; }
.q-merci-tete { display: flex; align-items: center; gap: 13px; }
.q-pastille { width: 34px; height: 34px; border-radius: 999px; background: var(--q-citron); color: var(--q-encre); display: flex; align-items: center; justify-content: center; }
.q-titre--grand { font-size: 48px; line-height: 0.95; letter-spacing: -0.045em; }
.q-merci .q-chapo { max-width: 640px; }
.q-suites { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 13px; max-width: 1152px; }
.q-suite { display: flex; flex-direction: column; gap: 8px; padding: 21px; background: var(--q-blanc); border: 1px solid var(--q-filet); border-radius: var(--q-r-grand); }
.q-suite-titre { font-size: 17px; font-weight: 600; }
.q-suite-texte { font-size: 14px; line-height: 1.45; color: var(--q-texte); }
.q-actions--merci { flex-wrap: wrap; }
.q-actions--merci .q-contact { margin: 0 0 0 8px; font-size: 13px; color: var(--q-discret); }
.q-partage-etat { margin: 0; font-size: 13px; color: var(--q-discret); }
.q-partage-etat:empty { display: none; }

/* ---- Petit écran (QR scanné au téléphone) -------------------------------------------------------------------- */
.q-seul-mobile { display: none; }
@media (max-width: 800px) {
  .q-seul-bureau { display: none; }
  .q-seul-mobile { display: inline; }
  .q-entete { height: 60px; padding: 0 21px; }
  .q-entete-droite { gap: 10px; }
  .q-marque { font-size: 16px; }
  .q-etiquette-entete { font-size: 11px; white-space: nowrap; }
  .q-sep { display: none; }
  .q-logo-904 { height: 22px; }

  .q-corps { display: flex; flex-direction: column; }
  /* Sur mobile, la colonne se réduit à un bandeau compact (photo ou vidéo) sous l'en-tête ; la liste des étapes disparaît. */
  .q-laterale { display: block; padding: 0; border: 0; }
  .q-laterale > :not(.q-laterale-media) { display: none; }
  .q-laterale-media { height: 128px; min-height: 0; margin: 0; border-radius: 0; }
  .q-principal, .q-principal--saisie, .q-principal--envoi { flex: 1; padding: 34px 21px 0; }
  .q-principal--saisie { padding-top: 28px; }
  .q-principal--envoi { padding-top: 28px; }
  .q-form { flex: 1; max-width: none; gap: 21px; }
  .q-principal--envoi .q-form { gap: 16px; }
  .q-intro { gap: 8px; }
  .q-titre { font-size: 26px; }
  .q-aide { font-size: 14px; line-height: 1.45; }
  .q-options, .q-options--cartes { display: flex; flex-direction: column; gap: 8px; max-width: none; }
  .q-option { min-height: 56px; padding: 0 16px; border-radius: var(--q-r-moyen); gap: 13px; }
  .q-lettre, .q-options--cartes .q-lettre { width: 28px; height: 28px; font-size: 12px; }
  .q-options--cartes .q-option { align-items: center; min-height: 64px; padding: 13px 16px; border-radius: var(--q-r-moyen); }
  .q-options--cartes .q-option-libelle { font-size: 16px; }
  .q-option-texte { gap: 2px; }
  .q-option-detail { font-size: 12px; line-height: 1.4; }
  .q-champs { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: none; }
  .q-champ--plein { grid-column: auto; }
  .q-recap { max-width: none; padding: 4px 16px; border-radius: var(--q-r-moyen); }
  .q-recap-ligne { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding: 10px 0; }
  .q-recap dt { grid-column: 1; font-size: 12px; }
  .q-recap dd { grid-column: 1; font-size: 14px; }
  .q-recap-modifier { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; }
  .q-case { font-size: 14px; }
  .q-case input { width: 24px; height: 24px; }
  .q-mentions { font-size: 12px; }
  .q-consentement { gap: 10px; max-width: none; }

  .q-actions { position: sticky; bottom: 0; margin: auto -21px 0; padding: 13px 21px 21px; gap: 8px; background: var(--q-blanc); border-top: 1px solid var(--q-filet); }
  .q-actions .q-btn { height: 56px; font-size: 17px; }
  .q-actions .q-btn--primaire { flex: 1; }
  .q-btn--retour { width: 56px; padding: 0; }
  .q-btn--retour svg { display: block; }
  .q-btn--retour .q-btn-texte { display: none; }
  .q-aide-clavier { display: none; }

  .q-accueil-corps { display: flex; flex-direction: column; }
  .q-visuel { flex: none; height: 400px; min-height: 0; }
  .q-visuel-image, .q-visuel-video { object-position: 50% 60%; }
  .q-voile { background: linear-gradient(180deg, var(--q-voile-mobile) 0%, var(--q-voile-nul) 35%, var(--q-blanc-nul) 55%, var(--q-blanc) 100%); }
  .q-visuel-haut { padding: 21px; }
  .q-logo-blanc { height: 44px; }
  .q-presentation { flex: 1; position: relative; margin-top: -34px; padding: 0 21px 21px; gap: 16px; justify-content: flex-start; }
  .q-titre--accueil { font-size: 30px; line-height: 0.98; letter-spacing: -0.04em; }
  .q-chapo { font-size: 15px; }
  .q-chiffres { gap: 8px; max-width: none; }
  .q-chiffres li { gap: 3px; padding: 13px 10px; border-radius: var(--q-r-moyen); }
  .q-chiffre { font-size: 18px; }
  .q-chiffre-legende { font-size: 10px; letter-spacing: 0.08em; }
  .q-commencer { margin-top: auto; flex-direction: column; align-items: stretch; gap: 10px; }
  .q-commencer .q-btn { height: 56px; font-size: 17px; }
  .q-commencer .q-aide-clavier { display: block; text-align: center; font-size: 12px; }

  .q-merci { padding: 34px 21px 21px; gap: 21px; }
  .q-pastille { width: 44px; height: 44px; }
  .q-merci-tete .q-etiquette { display: none; }
  .q-titre--grand { font-size: 34px; line-height: 0.98; letter-spacing: -0.045em; }
  .q-chapo { line-height: 1.5; }
  .q-suites { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .q-suite { padding: 13px 16px; gap: 3px; border-radius: var(--q-r-moyen); }
  .q-suite-titre { font-size: 15px; }
  .q-suite-texte { font-size: 13px; line-height: 1.4; }
  .q-actions--merci { position: static; flex-direction: column; align-items: stretch; margin: auto 0 0; padding: 0; border: 0; gap: 8px; }
  .q-actions--merci .q-btn { height: 52px; font-size: 16px; }
  .q-actions--merci .q-contact { margin: 0; padding-top: 5px; text-align: center; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .q904 * { transition: none !important; animation: none !important; }
}

.q-ecran { flex: 1; display: flex; flex-direction: column; }
.q-ecran[hidden] { display: none; }
.q-sans-js { padding: 55px; max-width: 640px; }

/* Colonne « Votre parcours » : la photo (ou la vidéo) d'ambiance occupe l'espace restant, au-dessus de la note. Cachée sur mobile avec la colonne. */
.q-laterale-media { position: relative; flex: 1; min-height: 220px; margin-top: 8px; border-radius: var(--q-r-grand); overflow: hidden; background: var(--q-encre); }
@media (max-width: 800px) {
  .q-laterale-media { flex: none; height: 128px; min-height: 0; margin: 0; border-radius: 0; }
}

/* ---- Page d'atterrissage (QR) : sections sous le héros ----------------------------------------------------------- */
.q-seul-mobile-flex { display: none; }
.q-accueil-corps { min-height: calc(100vh - 72px); }
.q-commencer { flex-wrap: wrap; }
.q-l { padding: 89px 120px; display: flex; flex-direction: column; gap: 34px; border-top: 1px solid var(--q-filet); }
.q-l--doux { background: var(--q-fond-doux); }
.q-l--sombre { background: var(--q-encre); color: var(--q-blanc); border-top: 0; }
.q-l--sombre .q-l-chapo, .q-l--sombre .q-l-liste { color: var(--q-gris-sur-photo); }
.q-l--sombre .q-l-legende { color: var(--q-gris-sur-photo); }
.q-l--sombre .q-l-chiffres li { background: transparent; border-color: var(--q-gris-trait); }
.q-l--sombre .q-tiret { color: var(--q-citron-vif); }
.q-l--final { align-items: flex-start; background: var(--q-blanc); }
.q-l-tete { display: flex; flex-direction: column; gap: 13px; }
.q-l-titre { margin: 0; font-size: 40px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; max-width: 820px; text-wrap: balance; }
.q-l-chapo { margin: 0; font-size: 18px; line-height: 1.5; color: var(--q-texte); max-width: 680px; }
.q-l-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.q-l-cartes, .q-l-lots, .q-l-etapes { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.q-l-cartes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.q-l-lots, .q-l-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-l-carte, .q-l-lot, .q-l-etape { display: flex; flex-direction: column; gap: 13px; padding: 26px; background: var(--q-blanc); border: 1px solid var(--q-filet); border-radius: var(--q-r-grand); }
.q-l-carte-titre { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.q-l-carte-texte { margin: 0; font-size: 15px; line-height: 1.5; color: var(--q-texte); flex: 1; }
.q-l-carte-cta { align-self: stretch; }
.q-l-num { font-size: 13px; color: var(--q-vert-texte); }
.q-l-chiffre { font-size: 30px; line-height: 1; font-weight: 900; letter-spacing: -0.03em; white-space: nowrap; }
.q-l-legende { font-size: 11px; letter-spacing: 0.1em; color: var(--q-discret); }
.q-l-deux { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 55px; align-items: center; }
.q-l-deux > div { display: flex; flex-direction: column; gap: 21px; }
.q-l-liste { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.7; }
.q-l-chiffres { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.q-l-chiffres li { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--q-filet); border-radius: var(--q-r-grand); }
.q-l-pied { padding: 34px 120px 55px; border-top: 1px solid var(--q-filet); font-size: 13px; line-height: 1.5; color: var(--q-discret); }
.q-l-pied p { margin: 0; max-width: 900px; }

@media (max-width: 1100px) {
  .q-l, .q-l-pied { padding-left: 55px; padding-right: 55px; }
  .q-l-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .q-seul-bureau-flex { display: none; }
  .q-seul-mobile-flex { display: flex; }
  .q-accueil-corps { min-height: 0; }
  .q-l { padding: 55px 21px; gap: 21px; }
  .q-l-titre { font-size: 28px; }
  .q-l-chapo { font-size: 16px; }
  .q-l-cartes, .q-l-lots, .q-l-etapes, .q-l-deux { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .q-l-deux { gap: 34px; }
  .q-l-carte, .q-l-lot, .q-l-etape { padding: 21px; border-radius: var(--q-r-moyen); }
  .q-l-chiffres li { padding: 16px; border-radius: var(--q-r-moyen); }
  .q-l-chiffre { font-size: 24px; }
  .q-l-actions .q-btn { flex: 1; height: 56px; font-size: 17px; }
  .q-l-pied { padding: 21px 21px 110px; }
  .q-l-collant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 13px 21px calc(13px + env(safe-area-inset-bottom)); background: var(--q-blanc); border-top: 1px solid var(--q-filet); }
  .q-l-collant .q-btn { flex: 1; height: 56px; font-size: 17px; }
}
