/* Parcours CBB : des parcours à jouer, une scène à la fois. Couleurs de la charte CBB. */
:root {
  --vert: #24463d; --vert-2: #2f5a4e; --vert-pale: #e3ece6;
  --creme: #f7f3ea; --papier: #fffdf8; --trait: #e2dccd;
  --encre: #1d2a26; --gris: #5d6a64;
  --ocre: #c98a1b; --ocre-pale: #f8ecd2; --bordeaux: #8c2f39; --bordeaux-pale: #f6e1e2; --ok: #2f7a4f; --ok-pale: #dff0e4;
  --titre: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --texte: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: Consolas, 'SF Mono', Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--creme); color: var(--encre); font: 16px/1.6 var(--texte); }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
a { color: var(--vert-2); text-underline-offset: 2px; }
a:hover { color: var(--vert); }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; display: block; }
code { font: 0.92em var(--mono); background: var(--vert-pale); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
kbd { font: 0.82em var(--mono); background: var(--papier); border: 1px solid #cfc7b5; border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.saut { position: absolute; left: -999px; } .saut:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 50; }

.btn { font: 600 15px var(--texte); border: 1px solid var(--vert); background: var(--papier); color: var(--vert); border-radius: 8px; padding: 9px 16px; cursor: pointer; }
a.btn { text-decoration: none; display: inline-block; }
.btn:hover { background: var(--vert-pale); }
.btn.plein { background: var(--vert); color: #fff; } .btn.plein:hover { background: var(--vert-2); }
.btn.discret { border-color: var(--trait); font-weight: 500; padding: 6px 12px; }
.btn:disabled { opacity: .5; cursor: default; }

/* Entrée */
.porte { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--vert); }
.porte-carte { background: var(--papier); border-radius: 14px; padding: 32px 28px; width: min(100%, 440px); display: grid; gap: 12px; }
.porte-carte h1 { font-size: 34px; } .porte-carte p { margin: 0; }
.marque { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
label { font-weight: 600; font-size: 14px; }
input[type=text], input[type=password] { font: 16px var(--texte); padding: 10px 12px; border: 1px solid #cfc7b5; border-radius: 8px; width: 100%; background: #fff; color: var(--encre); min-width: 0; }
.erreur { color: var(--bordeaux); font-weight: 600; }
.qui-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.qui-liste .btn { font-size: 17px; padding: 12px 20px; }
.qui-nouveau .btn { white-space: nowrap; }
.qui-nouveau { display: grid; gap: 6px; border-top: 1px solid var(--trait); padding-top: 14px; margin-top: 4px; }
.ligne { display: flex; gap: 8px; }

/* Cadre */
.tete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; background: var(--vert); color: #fff; padding: 10px 20px; min-height: 52px; }
.tete-titre { font: 600 20px var(--titre); color: #fff; text-decoration: none; white-space: nowrap; }
.tete-fil { font-size: 14px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tete-droite { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tete-avance { font-size: 14px; opacity: .9; }
.tete .btn.discret { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
#contenu { outline: none; }

/* Carte des parcours */
.carte { max-width: 1120px; margin: 0 auto; padding: 40px 24px 64px; }
.carte-tete h1 { font-size: clamp(30px, 4vw, 42px); }
.carte-tete .chapo { font-size: 18.5px; color: var(--gris); max-width: 62ch; margin: 12px 0 22px; }
.carte h2 { font: 700 12px var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin: 36px 0 12px; }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cj { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; text-align: left; background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; padding: 18px 18px 16px; color: var(--encre); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.cj:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29, 42, 38, .1); border-color: #c9c0aa; color: var(--encre); }
.cj-ico { font-size: 28px; line-height: 1; }
.cj b { font: 600 19px/1.25 var(--titre); }
.cj p { margin: 0; font-size: 14.5px; color: var(--gris); }
.cj-pied { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gris); margin-top: 8px; }
.cj-etat { font-weight: 700; font-size: 12.5px; padding: 2px 9px; border-radius: 999px; background: var(--creme); }
.cj-etat.fait { background: var(--ok-pale); color: var(--ok); }
.cj-etat.encours { background: var(--ocre-pale); color: #8a5c0a; }
.cj.bientot { opacity: .62; border-style: dashed; background: transparent; }
.carte .pied { margin-top: 40px; font-size: 13px; color: var(--gris); }

/* Scène */
.scene { max-width: 1280px; margin: 0 auto; padding: 22px 24px 40px; }
.scene-barre { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.lieu { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--texte); letter-spacing: .08em; text-transform: uppercase; color: var(--vert-2); background: var(--vert-pale); border-radius: 999px; padding: 5px 12px; }
.scene.ok .lieu { background: var(--ok-pale); color: var(--ok); }
.scene.ko .lieu { background: var(--bordeaux-pale); color: var(--bordeaux); }
.avance { flex: 1; height: 6px; border-radius: 3px; background: var(--trait); overflow: hidden; }
.avance i { display: block; height: 100%; background: var(--vert); transition: width .3s; }
.scene-grille { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, 1fr); gap: 28px; align-items: start; }
.scene.seule .scene-grille { grid-template-columns: minmax(0, 720px); justify-content: center; }
.media figure { margin: 0; }
.capture { position: relative; border: 1px solid #cfc7b5; border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; padding: 0; display: block; width: 100%; box-shadow: 0 10px 30px rgba(29, 42, 38, .08); }
.capture img { width: 100%; height: auto; }
.repere { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--bordeaux); color: #fff; font: 700 14px/26px var(--texte); text-align: center; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 2px 8px rgba(0,0,0,.35); animation: pop .35s ease-out backwards; }
.repere:nth-of-type(2) { animation-delay: .1s; } .repere:nth-of-type(3) { animation-delay: .2s; } .repere:nth-of-type(4) { animation-delay: .3s; }
@keyframes pop { from { transform: translate(-50%, -50%) scale(0); } }
figcaption { font-size: 14px; color: var(--gris); margin-top: 8px; }
.reperes-liste { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--encre); }
.reperes-liste b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bordeaux); color: #fff; font-size: 12px; margin-right: 6px; }
.panneau { background: var(--papier); border: 1px solid var(--trait); border-radius: 16px; padding: 24px 24px 22px; position: sticky; top: 72px; }
.scene.ok .panneau { border-color: #a9cbb3; box-shadow: inset 4px 0 0 var(--ok); }
.scene.ko .panneau { border-color: #ddb2b6; box-shadow: inset 4px 0 0 var(--bordeaux); }
.panneau h1 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 12px; }
.panneau p { margin: 0 0 12px; }
.panneau ul { margin: 0 0 12px; padding-left: 20px; } .panneau li { margin-bottom: 4px; }
mark.vert { background: #d9eedd; } mark.ocre { background: var(--ocre-pale); text-decoration: underline wavy var(--ocre); }
.choix { display: grid; gap: 10px; margin-top: 18px; }
.choix button { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; text-align: left; font: 600 16px/1.35 var(--texte); color: var(--vert); background: #fff; border: 1.5px solid var(--vert); border-radius: 12px; padding: 13px 14px; cursor: pointer; transition: background .15s, transform .1s; }
.choix button:hover { background: var(--vert-pale); }
.choix button:active { transform: scale(.99); }
.choix button:first-child { background: var(--vert); color: #fff; }
.choix button:first-child:hover { background: var(--vert-2); }
.choix.question button { background: #fff; color: var(--vert); }
.choix.question button:hover { background: var(--vert-pale); }
.choix .num { width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid currentColor; display: grid; place-items: center; font: 700 13px var(--mono); opacity: .8; }
.choix .vu { font-size: 12px; font-weight: 600; opacity: .75; }
.scene-pied { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 16px; }
.scene-pied .btn { font-size: 14px; }
.aide-touches { font-size: 12.5px; color: var(--gris); margin: 10px 0 0; }

/* Visuels propres à une scène */
.outils { display: grid; gap: 12px; }
.outil { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; padding: 16px 18px; }
.outil-ico { grid-row: span 2; font-size: 34px; display: grid; place-items: center; background: var(--vert-pale); border-radius: 12px; }
.outil b { font: 600 20px var(--titre); }
.outil span:last-child { color: var(--gris); font-size: 15px; }
.outils-plus { margin: 12px 4px 0; font-size: 14.5px; color: var(--gris); }
.touches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.touches div { background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; padding: 20px 16px; display: grid; gap: 10px; justify-items: start; }
.touches kbd { font-size: 18px; padding: 4px 10px; }
.touches span { font-size: 15px; color: var(--gris); }
.tel { width: min(300px, 100%); margin: 0 auto; border: 10px solid #1d2a26; border-radius: 34px; background: var(--creme); overflow: hidden; box-shadow: 0 14px 34px rgba(29, 42, 38, .18); }
.tel-ecran { min-height: 360px; padding: 26px 16px 16px; display: grid; align-content: start; gap: 10px; }
.tel-titre { font: 600 22px var(--titre); margin: 0 0 6px; }
.tel-ligne { margin: 0; background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.tel-ligne.etiq { background: none; border: 0; padding: 0 2px; margin-bottom: -6px; font-size: 13px; font-weight: 600; color: var(--gris); }
.tel-ligne.fort { background: var(--vert); color: #fff; border-color: var(--vert); font-weight: 600; }
.tel-onglets { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--trait); font-size: 10.5px; text-align: center; color: var(--gris); }
.tel-onglets span { padding: 10px 2px; }
.schema { text-align: center; font-size: 12.5px; color: var(--gris); margin: 10px 0 0; }

/* Essaie ici */
.essai { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 8px; }
.essai li { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; padding: 9px 12px; border: 1px dashed #cfc7b5; border-radius: 10px; background: #fff; font-size: 15px; transition: background .2s, border-color .2s; }
.essai .case { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfc7b5; display: grid; place-items: center; font-size: 13px; color: #fff; }
.essai li.ok { background: var(--ok-pale); border: 1px solid #9fbea6; }
.essai li.ok .case { background: var(--ok); border-color: var(--ok); }
.essai li.ok .case::after { content: '✓'; }
.essai-titre { font: 700 12px var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--ocre); margin: 14px 0 6px !important; }
.bravo { font-weight: 700; color: var(--ok); }

/* Fin d'un parcours */
.fin { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; text-align: center; }
.fin-ico { font-size: 56px; animation: pop2 .5s ease-out; }
@keyframes pop2 { from { transform: scale(.3); opacity: 0; } }
.fin h1 { font-size: clamp(28px, 4vw, 38px); margin: 10px 0 8px; }
.fin .acquis { text-align: left; background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; padding: 18px 22px; margin: 22px 0; list-style: none; }
.fin .acquis li { padding: 6px 0 6px 30px; position: relative; }
.fin .acquis li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; display: grid; place-items: center; }
.fin .suite { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Suivi */
.page { max-width: 1120px; margin: 0 auto; padding: 36px 24px 64px; }
.defile { overflow-x: auto; }
table.suivi { border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--papier); }
table.suivi th, table.suivi td { border: 1px solid var(--trait); padding: 8px 10px; text-align: left; white-space: nowrap; }
table.suivi td.fait { background: var(--ok-pale); color: var(--ok); font-weight: 700; }
table.suivi td.encours { background: var(--ocre-pale); }

/* Capture en grand, comme dans Bureau */
.visionneuse { position: fixed; inset: 0; z-index: 60; background: rgba(15, 28, 24, .92); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 10px; padding: 14px; overflow: hidden; }
.visionneuse img { max-width: min(100%, 1400px); max-height: 100%; border-radius: 8px; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; cursor: zoom-in; }
.visionneuse.zoomee img { cursor: grab; }
.visionneuse.zoomee img:active { cursor: grabbing; }
.visionneuse .btn { justify-self: end; }
.vis-aide { margin: 0; color: #e9e3d6; font-size: 13.5px; text-align: center; }
body.vis-ouverte { overflow: hidden; }

@media (max-width: 900px) {
  .scene-grille { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .panneau { position: static; }
  .tete-fil { display: none; }
  .scene, .carte, .page { padding-left: 16px; padding-right: 16px; }
  .touches { grid-template-columns: 1fr; }
  .repere { width: 20px; height: 20px; font-size: 11px; line-height: 20px; }
  .aide-touches { display: none; }
}
@media (max-width: 520px) { .tete-avance { display: none; } }

/* ---------- Le film : un grand écran animé, le sous-titre, l'arbre des étapes ---------- */
.film { max-width: max(592px, min(1180px, calc((100svh - 310px) * 1.468 + 54px))); margin: 0 auto; padding: 18px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.f-scene { position: relative; }
.f-ecran { position: relative; overflow: hidden; border-radius: 14px; background: #0f1714; box-shadow: 0 0 0 10px #1b2421, 0 0 0 11px #3a4541, 0 22px 50px rgba(15, 23, 20, .28); margin: 11px; }
.f-echelle { position: absolute; left: 0; top: 0; width: 1280px; height: 872px; transform-origin: 0 0; }
.f-monde { position: absolute; inset: 0; transform-origin: 0 0; overflow: hidden; }
.f-bureau { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 70% at 62% 58%, rgba(120, 170, 255, .85), transparent 60%),
  radial-gradient(ellipse 45% 55% at 40% 40%, rgba(80, 120, 230, .7), transparent 65%),
  radial-gradient(ellipse 80% 60% at 80% 100%, rgba(40, 70, 170, .9), transparent 70%),
  linear-gradient(160deg, #0b1d4d, #1d3f8f 45%, #0a1a40); }
.f-ico { position: absolute; width: 92px; display: grid; justify-items: center; gap: 6px; padding: 8px 4px; border-radius: 6px; color: #fff; font: 500 14px/1.25 'Segoe UI', system-ui, sans-serif; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.f-ico .i { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.f-ico.sel { background: rgba(255, 255, 255, .22); outline: 1px solid rgba(255, 255, 255, .45); }
.f-taches { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: rgba(28, 32, 44, .88); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; font: 13px 'Segoe UI', system-ui, sans-serif; z-index: 3; }
.f-taches .t { width: 34px; height: 30px; border-radius: 5px; display: grid; place-items: center; font-size: 18px; position: relative; }
.f-taches .t.ouvert::after { content: ''; position: absolute; bottom: 1px; width: 8px; height: 3px; border-radius: 2px; background: #9fc3ff; }
.f-taches .heure { position: absolute; right: 14px; text-align: right; line-height: 1.2; font-size: 12px; }
.f-fenetre { position: absolute; left: 0; top: 0; width: 1280px; height: 832px; opacity: 0; transform-origin: 0 0; background: #f7f3ea; z-index: 2; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.f-titre-fen { height: 32px; display: flex; align-items: center; gap: 10px; padding-left: 12px; background: #e9e4d8; color: #1d2a26; font: 13px 'Segoe UI', system-ui, sans-serif; border-bottom: 1px solid #d6cfbf; }
.f-logo-mini { width: 16px; height: 16px; border-radius: 4px; background: #24463d; box-shadow: inset 0 0 0 3px #24463d, inset 0 0 0 5px #f7f3ea; }
.f-fen-btns { margin-left: auto; display: flex; height: 100%; }
.f-fen-btns i { width: 46px; height: 100%; position: relative; }
.f-fen-btns .moins::after { content: ''; position: absolute; left: 18px; top: 15px; width: 10px; height: 1px; background: #333; }
.f-fen-btns .carre::after { content: ''; position: absolute; left: 18px; top: 11px; width: 9px; height: 9px; border: 1px solid #333; }
.f-fen-btns .croix::before, .f-fen-btns .croix::after { content: ''; position: absolute; left: 17px; top: 15px; width: 12px; height: 1px; background: #333; transform: rotate(45deg); }
.f-fen-btns .croix::after { transform: rotate(-45deg); }
.f-vue { position: absolute; left: 0; top: 32px; width: 1280px; height: 800px; overflow: hidden; background: #f7f3ea; }
.f-img { position: absolute; inset: 0; width: 1280px; height: 800px; max-width: none; object-fit: cover; object-position: top left; opacity: 0; }
.f-img.dessus { opacity: 1; }
.f-tel-scene { position: absolute; inset: 0 0 40px; opacity: 0; z-index: 2; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 60%, rgba(247, 243, 234, .55), rgba(15, 23, 20, .72)); pointer-events: none; }
.f-tel { width: 340px; height: 700px; border-radius: 46px; background: #111; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 2px #333; position: relative; }
.f-tel-encoche { position: absolute; top: 22px; left: 50%; width: 96px; height: 26px; margin-left: -48px; border-radius: 14px; background: #000; z-index: 2; }
.f-tel-ecran { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #f7f3ea; color: #1d2a26; font: 17px/1.4 'Segoe UI', system-ui, sans-serif; }
.f-flash { position: absolute; inset: 0; background: #fff; pointer-events: none; }
.f-touche { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: rgba(20, 30, 27, .82); border-radius: 18px; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); pointer-events: none; z-index: 30; }
.f-touche kbd { font: 700 34px/1 var(--texte); color: #1d2a26; background: #fdfbf6; border: 0; border-radius: 10px; padding: 12px 18px 14px; min-width: 62px; text-align: center; box-shadow: 0 5px 0 #b9b19f; transition: transform .12s, box-shadow .12s; }
.f-touche kbd.appuie { transform: translateY(4px); box-shadow: 0 1px 0 #b9b19f; }
.f-touche-plus { color: #fff; font: 700 30px/1 var(--texte); }
.f-souris { position: absolute; left: 0; top: 0; z-index: 9; transform-origin: 0 0; will-change: transform; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); pointer-events: none; }
.f-souris svg { display: block; margin: -3px 0 0 -4px; }
.f-doigt { display: none; position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .35); border: 3px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); }
.f-souris.doigt svg { display: none; } .f-souris.doigt .f-doigt { display: block; }
.f-onde { position: absolute; z-index: 8; width: 90px; height: 90px; border-radius: 50%; border: 5px solid #c98a1b; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); }
.f-cadre { position: absolute; z-index: 7; border: 4px solid #c98a1b; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(15, 23, 20, .28), 0 0 22px rgba(201, 138, 27, .7); opacity: 0; pointer-events: none; transition: left .45s, top .45s, width .45s, height .45s, opacity .3s; }
.f-bulle { position: absolute; z-index: 8; max-width: 420px; background: #1d2a26; color: #fff; font: 600 21px/1.35 'Segoe UI', system-ui, sans-serif; padding: 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; text-align: center; transition: opacity .25s; }
.f-bulle b, .f-bulle strong { color: #f3c46b; }
.f-frappe { position: absolute; z-index: 6; display: flex; align-items: center; font-family: 'Segoe UI', system-ui, sans-serif; color: #1d2a26; white-space: pre; pointer-events: none; }
.f-frappe.masque { background: #fff; padding-left: 2px; }
.f-frappe.curseur::after { content: ''; width: 2px; height: 1.2em; margin-left: 1px; background: #1d2a26; animation: f-clignote .9s steps(1) infinite; }
@keyframes f-clignote { 50% { opacity: 0; } }

/* Le téléphone (CBB Compagnon), redessiné d'après le code de l'app : couleurs et textes réels */
.f-tel-ecran { background: #faf7f1; color: #1b2522; }
.ct-barre { height: 50px; }
.ct-tete { padding: 2px 20px 12px; display: flex; gap: 10px; align-items: center; }
.ct-tete p { margin: 0; color: #5f6a66; font-size: 13px; }
.ct-tete h3 { font: 600 25px/1.15 Georgia, serif; margin: 0; }
.ct-retour { font-size: 34px; line-height: 1; color: #294c45; }
.ct-beta { font: 600 11px 'Segoe UI', sans-serif; background: #f7eedb; color: #86560f; border-radius: 99px; padding: 2px 8px; vertical-align: middle; }
.ct-corps { padding: 4px 16px; display: grid; gap: 12px; }
.ct-carte { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e4ddcf; border-radius: 12px; padding: 14px; }
.ct-carte b { display: block; font-size: 16px; } .ct-carte small { display: block; color: #5f6a66; font-size: 13px; line-height: 1.3; }
.ct-carte-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: #e6ede3; display: grid; place-items: center; font-size: 22px; }
.ct-chevron { margin-left: auto; font-size: 24px; color: #5f6a66; }
.ct-section { margin: 6px 2px -4px; font: 600 18px Georgia, serif; }
.ct-champ { display: grid; gap: 5px; } .ct-champ span { font-size: 14px; font-weight: 600; color: #46524e; }
.ct-champ i { font-style: normal; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #d5ccbb; border-radius: 10px; padding: 0 12px; height: 48px; color: #1b2522; font-size: 17px; }
.ct-champ i.vide { color: #9aa39f; } .ct-champ i.saisie { border: 2px solid #294c45; } .ct-champ i.nom { font-weight: 600; } .ct-champ i.nom span { color: #294c45; }
.ct-aide { margin: 0; color: #5f6a66; font-size: 13.5px; line-height: 1.35; } .ct-aide.fort { color: #294c45; font-weight: 600; background: #e6ede3; border-radius: 10px; padding: 8px 10px; }
.ct-vide { text-align: center; color: #5f6a66; font-size: 26px; padding: 18px 6px; } .ct-vide p { font-size: 14px; line-height: 1.4; margin: 6px 0 0; } .ct-vide b { color: #1b2522; }
.ct-sugg { background: #fff; border: 1px solid #e4ddcf; border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .1); margin-top: -6px; }
.ct-sugg-l { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 10px 12px; align-items: center; }
.ct-sugg-img { grid-row: span 2; width: 40px; height: 40px; border-radius: 6px; background: #f1ece2; }
.ct-sugg-l b { font-size: 16px; } .ct-sugg-l small { color: #5f6a66; font-size: 12.5px; }
.ct-bas { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 14px 20px; background: #faf7f1; border-top: 1px solid #e4ddcf; }
.ct-galerie { width: 54px; height: 54px; border-radius: 12px; border: 1px solid #d5ccbb; background: #fff; display: grid; place-items: center; font-size: 22px; }
.ct-prendre { flex: 1; height: 54px; border-radius: 12px; background: #294c45; color: #fff; font-weight: 600; display: grid; place-items: center; font-size: 17px; }
.ct-bandeau { margin: 0 16px 8px; background: #e6ede3; color: #294c45; border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.ct-groupe { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e4ddcf; border-radius: 12px; padding: 10px; }
.ct-groupe img { width: 62px; height: 78px; object-fit: cover; border-radius: 8px; max-width: none; }
.ct-groupe b { display: block; font-size: 16px; } .ct-groupe small { display: block; color: #5f6a66; font-size: 13px; }
.ct-pastille { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; border-radius: 99px; padding: 2px 9px; }
.ct-pastille.envoi { background: #f7eedb; color: #86560f; } .ct-pastille.ok { background: #e3f0e6; color: #3f7d52; }
.ct-onglets { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid #e4ddcf; font-size: 11.5px; text-align: center; color: #5f6a66; padding-bottom: 14px; }
.ct-onglets span { padding: 10px 2px 4px; } .ct-onglets span.on { color: #294c45; font-weight: 700; }
.ct-photo { position: absolute; inset: 0; background: #000; display: grid; grid-template-rows: 1fr auto; }
.ct-photo .vise { position: relative; overflow: hidden; background: #2b2722; }
.ct-photo .vise img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ct-photo .vise::after { content: ''; position: absolute; inset: 14% 10%; border: 2px solid rgba(255, 255, 255, .55); border-radius: 8px; }
.ct-photo .bas { height: 140px; display: grid; place-items: center; }
.ct-declencheur { width: 74px; height: 74px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px #000, 0 0 0 9px #fff; }
.f-ico-cbb { background: #fff; overflow: hidden; padding: 0; } .f-ico-cbb img { width: 100%; height: 100%; }
.f-t-cbb img { width: 22px; height: 22px; border-radius: 5px; }
.f-ico.sel .i, .f-ico.cbb:hover .i { outline: 2px solid rgba(255, 255, 255, .6); }

/* Panneaux posés sur l'écran : intro, choix, fin */
.f-panneau:empty { display: none; }
.f-panneau { position: absolute; inset: 11px; border-radius: 14px; display: grid; place-items: center; padding: 22px; background: rgba(15, 23, 20, .5); backdrop-filter: blur(6px); z-index: 5; overflow: auto; }
.film:not(.f-e-intro):not(.f-e-choix):not(.f-e-fin) .f-panneau { display: none; }
.f-intro, .f-choix, .f-fin { background: var(--papier); border-radius: 16px; padding: 28px 32px; max-width: 760px; width: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); display: grid; gap: 14px; animation: f-monte .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes f-monte { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.f-surtitre { margin: 0; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre); font-weight: 700; }
.f-intro h1, .f-fin h1 { font-size: clamp(24px, 3vw, 34px); }
.f-chapo { font-size: 17.5px; line-height: 1.55; } .f-chapo p { margin: 0; }
.f-chapo mark { background: linear-gradient(transparent 55%, #f3d79c 55%); color: inherit; padding: 0 2px; font-weight: 600; }
.f-prealable { background: var(--vert-pale); border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; }
.f-prealable-titre { margin: 0; font-weight: 700; font-size: 14px; color: var(--vert); }
.f-flux { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: f; }
.f-flux li { background: #fff; border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; font-size: 14px; line-height: 1.4; position: relative; }
.f-flux li + li::before { content: '→'; position: absolute; left: -11px; top: 50%; transform: translate(-50%, -50%); color: var(--vert); font-weight: 700; }
.f-flux-ico { font-size: 22px; }
.f-note { margin: 0; font-size: 14px; color: var(--gris); }
.f-go { justify-self: start; font-size: 17px; padding: 12px 26px; }
.f-choix-q { margin: 0; font: 600 clamp(20px, 2.4vw, 26px)/1.25 var(--titre); }
.f-choix-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.f-carte { text-align: left; font: inherit; color: inherit; background: #fff; border: 2px solid var(--trait); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.f-carte-in { display: flex; flex-direction: column; gap: 6px; }
.f-carte:hover, .f-carte:focus-visible { border-color: var(--vert); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36, 70, 61, .15); }
.f-carte b { font-size: 17px; } .f-carte-d { font-size: 14.5px; color: var(--gris); }
.f-carte-ico { font-size: 30px; line-height: 1; } .f-carte-go { color: var(--vert); font-weight: 700; margin-top: 4px; font-size: 14.5px; }
.f-carte.deja { border-style: dashed; }
.f-choix-pied { margin: 0; font-size: 13.5px; color: var(--gris); }
.f-fin .acquis { margin: 0; }
.f-fin-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sous l'écran : le sous-titre, les commandes */
.f-sous { background: var(--vert); color: #fff; border-radius: 12px; padding: 12px 18px 14px; min-height: 92px; }
.f-st-tete { display: flex; align-items: center; gap: 12px; justify-content: space-between; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #bcd3c8; font-weight: 700; }
.f-points { display: flex; gap: 5px; min-width: 0; flex-wrap: wrap; } .f-points i { width: 18px; flex: 0 1 18px; min-width: 6px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); } .f-points i.fait { background: #bcd3c8; } .f-points i.ici { background: #f3c46b; }
.f-st { margin: 6px 0 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.4; font-weight: 500; }
.f-st b, .f-st strong { color: #f3c46b; font-weight: 700; }
.f-st-intro { display: inline-block; margin-right: .45em; padding: .08em .5em; border-radius: 999px; background: #f3c46b; color: var(--encre); font-size: .62em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: .25em; }
.f-st kbd { color: var(--encre); background: #fdfbf6; border-color: #b9b19f; font-size: .78em; vertical-align: .08em; }
.f-sous { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; }
.f-st-tete { grid-column: 1 / -1; }
.f-st-pied { grid-column: 2; grid-row: 2; align-self: end; display: flex; justify-content: flex-end; }
@media (max-width: 640px) { .f-sous { grid-template-columns: minmax(0, 1fr); } .f-st-pied { grid-column: 1; grid-row: auto; } .f-continuer { margin-top: 10px; } }
.f-continuer { margin-top: 0; white-space: nowrap; background: #f3c46b; border-color: #f3c46b; color: var(--encre); font-weight: 700; animation: f-appel 1.8s ease-in-out infinite; }
.f-continuer:hover { background: #f7d48e; }
.f-continuer[hidden] { display: none; }
.f-options { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.f-auto { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 14px; color: var(--gris); cursor: pointer; width: fit-content; }
.f-auto input { width: 18px; height: 18px; margin: 0; accent-color: var(--vert); cursor: pointer; }
.f-auto b { color: var(--encre); }
.f-commandes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f-touches { font-size: 13px; color: var(--gris); margin-right: auto; }
.f-suivant { margin-left: auto; }
.f-suivant.pret { animation: f-appel 1.8s ease-in-out infinite; }
@keyframes f-appel { 50% { box-shadow: 0 0 0 6px rgba(201, 138, 27, .35); } }
.film.en-pause .f-ecran { filter: saturate(.7); }
.film.en-pause .f-pause { background: var(--ocre-pale); }

/* L'arbre des étapes : le tronc, puis la fourche en deux branches */
/* L'arbre : une frise sur une ligne, qui défile de gauche à droite si elle dépasse. */
.f-arbre { position: relative; margin-top: 4px; background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; }
.f-a-defil { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #d4ccb9 transparent; overscroll-behavior-x: contain; border-radius: inherit; }
.f-a-defil::-webkit-scrollbar { height: 6px; } .f-a-defil::-webkit-scrollbar-thumb { background: #d4ccb9; border-radius: 3px; }
.f-arbre.g .f-a-defil { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px); mask-image: linear-gradient(to right, transparent, #000 28px); }
.f-arbre.d .f-a-defil { -webkit-mask-image: linear-gradient(to left, transparent, #000 40px); mask-image: linear-gradient(to left, transparent, #000 40px); }
.f-arbre.g.d .f-a-defil { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 40px), transparent); }
.f-arbre.deborde .f-a-defil { cursor: grab; }
.f-arbre.tire .f-a-defil { cursor: grabbing; user-select: none; }
.f-a-tete { display: flex; align-items: center; gap: 10px; padding: 10px 12px 0 22px; min-height: 30px; }
.f-a-titre { font: 700 12px/1 var(--texte); letter-spacing: .08em; text-transform: uppercase; color: var(--vert); }
.f-a-aide { font-size: 12.5px; color: #9a9282; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-a-fleches { display: none; gap: 6px; }
.f-arbre.deborde .f-a-fleches { display: flex; }
.f-a-fleche { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--trait); background: var(--papier); color: var(--vert); font: 700 19px/1 var(--texte); display: grid; place-items: center; padding: 0 0 2px; cursor: pointer; transition: background .2s, opacity .2s; }
.f-a-fleche:hover:not(:disabled) { background: var(--vert-pale); border-color: var(--vert); }
.f-a-fleche:disabled { opacity: .35; cursor: default; }
.f-a-piste { position: relative; display: grid; grid-template-columns: max-content max-content; align-items: center; column-gap: 64px; width: max-content; padding: 8px 22px 12px; }
.f-a-liens { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.f-a-liens path { fill: none; stroke: #d8d0bf; stroke-width: 2.5; stroke-linecap: round; }
.f-a-liens path.fait { stroke: var(--ok); }
.f-a-liens path.autre { stroke-dasharray: 2 6; stroke: #ddd6c6; }
.f-a-voies { display: grid; row-gap: 10px; }
.f-a-voie { display: grid; justify-items: start; gap: 2px; }
.f-a-etiq { position: sticky; left: 30px; font: 700 11.5px/1.3 var(--texte); letter-spacing: .06em; text-transform: uppercase; color: #9a9282; padding-left: 4px; white-space: nowrap; }
.f-a-br.choisie .f-a-etiq { color: var(--vert); }
.f-a-br.autre { opacity: .5; } .f-a-br.autre:hover { opacity: .85; }
.f-a-ligne { display: flex; align-items: flex-start; gap: 14px; }
.f-n { position: relative; display: grid; justify-items: center; gap: 5px; min-width: 74px; padding: 4px 4px 2px; font: 600 13px/1.25 var(--texte); color: var(--gris); background: none; border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap; transition: color .2s; }
.f-n:hover { color: var(--encre); } .f-n:hover .f-n-num { border-color: var(--vert); }
.f-n-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--papier); border: 2px solid #d8d0bf; color: var(--gris); font: 700 12.5px/1 var(--texte); transition: background .2s, border-color .2s, box-shadow .2s; }
.f-n.vu .f-n-num { background: var(--ok); border-color: var(--ok); color: #fff; }
.f-n.vu { color: var(--encre); }
.f-n.ici { color: var(--encre); } .f-n.ici .f-n-t { font-weight: 700; }
.f-n.ici .f-n-num { background: var(--ocre); border-color: var(--ocre); color: #fff; box-shadow: 0 0 0 5px rgba(201, 138, 27, .2); }
.f-n.fin .f-n-num { border-style: dashed; color: var(--ocre); }
.f-n.fin.vu .f-n-num { border-style: solid; color: #fff; }
.f-n.fin.ici .f-n-num { border-style: solid; color: #fff; }

@media (max-width: 760px) {
  .film { padding: 12px 12px 32px; gap: 10px; }
  .f-ecran { margin: 6px; border-radius: 10px; box-shadow: 0 0 0 6px #1b2421, 0 12px 30px rgba(15, 23, 20, .25); }
  /* Sur un téléphone, l'intro, le choix et la fin passent sous l'écran (trop petit pour les lire dessus). */
  .f-panneau { position: static; background: none; backdrop-filter: none; padding: 0; margin-top: 8px; }
  .film.f-e-intro .f-ecran { display: none; }
  .f-intro, .f-choix, .f-fin { padding: 20px 18px; box-shadow: none; border: 1px solid var(--trait); }
  .f-flux { grid-template-columns: 1fr; } .f-flux li + li::before { content: '↓'; left: 50%; top: -11px; transform: translate(-50%, -50%); }
  .f-choix-cartes { grid-template-columns: 1fr; }
  .f-touches { display: none; }
  .f-commandes .btn { padding: 8px 12px; font-size: 14px; }
  .f-a-piste { column-gap: 44px; padding: 6px 14px 10px; }
  .f-a-tete { padding-left: 14px; }
  .f-a-ligne { gap: 6px; }
  .f-n { min-width: 66px; font-size: 12.5px; }
}

/* CBB Compagnon, écrans du film j1 : les lignes « Aujourd’hui », la porte à code, l’onglet Plus */
.ct-taches { display: grid; background: #fff; border: 1px solid #e4ddcf; border-radius: 12px; overflow: hidden; }
.ct-inter-l { justify-content: space-between; }
.ct-inter { flex: none; width: 46px; height: 28px; border-radius: 99px; background: #c9c2b3; position: relative; } .ct-inter::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.ct-inter.on { background: #294c45; } .ct-inter.on::after { left: 21px; }
.ct-tache { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; border-top: 1px solid #efe9de; }
.ct-tache:first-child { border-top: 0; }
.ct-tache b { min-width: 26px; height: 26px; border-radius: 99px; background: #e6ede3; color: #294c45; display: grid; place-items: center; font-size: 14px; }
.ct-tache.urgente b { background: #f7e1dc; color: #a2402c; }
.ct-tache i { margin-left: auto; font-style: normal; font-size: 20px; color: #5f6a66; }
.ct-tache small { display: block; color: #5f6a66; font-size: 12.5px; line-height: 1.3; }
.ct-serre { gap: 8px; } .ct-serre .ct-tache { padding: 6px 12px; font-size: 14px; } .ct-serre .ct-tache small { font-size: 11.5px; } .ct-serre .ct-encart { font-size: 11.5px; padding: 8px 10px; }
.ct-encart { display: block; background: #eef2f6; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.35; color: #46524e; }
.ct-encart b { display: block; color: #1b2522; font-size: 13.5px; margin-bottom: 2px; }
.ct-code { position: relative; text-align: center; padding: 20px 24px 0; }
.ct-code .ct-retour { position: absolute; left: 16px; top: 0; }
.ct-code p { margin: 18px 0 4px; color: #5f6a66; font-size: 13px; }
.ct-code h3 { font: 600 24px/1.2 Georgia, serif; margin: 0 0 18px; }
.ct-points { display: flex; justify-content: center; gap: 16px; margin-bottom: 26px; }
.ct-points i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #294c45; }
.ct-points i.plein { background: #294c45; }
.ct-pave { display: grid; grid-template-columns: repeat(3, 64px); justify-content: center; gap: 12px 22px; }
.ct-pave b { height: 64px; border-radius: 50%; background: #fff; border: 1px solid #e4ddcf; display: grid; place-items: center; font: 500 24px 'Segoe UI', sans-serif; }
.ct-pave b.vide { background: none; border: 0; font-size: 20px; color: #5f6a66; }

/* La fenêtre montre le site (navigateur) au lieu de CBB Bureau */
.f-fenetre.f-navigateur .f-logo-mini { visibility: hidden; }

/* Clic sur l'écran du film : pause ou reprise */
.f-ecran { cursor: pointer; }
.f-signe { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(20, 38, 34, .72); color: #fff; font-size: 34px; display: grid; place-items: center; pointer-events: none; z-index: 30; }

/* Fin d'une étape : grand bouton au centre de l'écran */
.f-fin-etape { position: absolute; inset: 0; z-index: 35; display: grid; place-items: center; background: rgba(15, 23, 20, .38); cursor: default; padding: 8px; }
.f-fe-carte { display: flex; flex-direction: column; align-items: center; gap: clamp(4px, 1.2vw, 10px); background: #fdfbf6; border-radius: 16px; padding: clamp(10px, 2.4vw, 22px) clamp(14px, 3vw, 30px); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); max-width: 92%; text-align: center; }
.f-fe-ok { color: var(--vert); font-weight: 700; font-size: clamp(12px, 1.5vw, 15px); }
.f-fe-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; border-radius: 12px; background: #f3c46b; color: var(--encre); padding: clamp(8px, 1.6vw, 14px) clamp(16px, 3.4vw, 34px); cursor: pointer; font: inherit; animation: f-appel 1.6s ease-in-out infinite; }
.f-fe-btn:hover { background: #f0b84f; }
.f-fe-t { font-size: clamp(17px, 2.6vw, 26px); font-weight: 800; }
.f-fe-s { font-size: clamp(12px, 1.4vw, 15px); opacity: .85; max-width: 34ch; }
.f-fe-compte { font-size: 13px; color: var(--gris); min-height: 1em; }
.f-fe-compte:empty { display: none; }
.f-fe-revoir { border: 0; background: none; color: var(--gris); font: inherit; font-size: clamp(12px, 1.4vw, 14px); cursor: pointer; text-decoration: underline; }

/* « Côté client » : bouton sur le coin de l'écran, panneau à droite */
.f-client-btn { position: absolute; top: 20px; right: 20px; z-index: 32; border: 0; border-radius: 999px; padding: 8px 14px; background: #fdfbf6; color: var(--encre); font: inherit; font-weight: 700; font-size: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); cursor: pointer; }
.f-client-btn:hover { background: #fff; }
.f-client-btn.nouveau { background: #f3c46b; animation: f-appel 1.4s ease-in-out infinite; }
.f-client-btn[hidden], .f-client[hidden] { display: none; }
.f-client { position: absolute; top: 11px; right: 11px; bottom: 11px; width: min(46%, 470px); z-index: 40; background: #fdfbf6; border-radius: 0 14px 14px 0; box-shadow: -14px 0 30px rgba(0, 0, 0, .28); display: flex; flex-direction: column; overflow: hidden; }
.f-client-tete { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #e6dfd0; background: #fff; }
.f-client-etiq { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--vert); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.f-client-titre { flex: 1; font-weight: 700; color: var(--encre); font-size: 15px; line-height: 1.25; }
.f-client-fermer { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #efe9dc; font-size: 20px; line-height: 1; cursor: pointer; color: var(--encre); }
.f-client-corps { overflow: auto; padding: 14px; display: grid; gap: 18px; }
.f-client-vue { margin: 0; display: grid; gap: 8px; }
.f-client-vue figcaption { display: grid; gap: 3px; font-size: 14px; color: var(--gris); line-height: 1.4; }
.f-client-vue figcaption b { color: var(--encre); font-size: 15px; }
.f-client-vue img { width: 100%; height: auto; border-radius: 8px; border: 1px solid #e6dfd0; background: #fff; }
@media (max-width: 700px) {
  .f-client-btn { top: 14px; right: 14px; padding: 6px 11px; font-size: 13px; }
  .f-client { position: fixed; inset: 0; width: auto; border-radius: 0; }
}

/* Écran de Compagnon capturé (image de la vraie app) sous la barre du téléphone dessiné */
.ct-capture { position: absolute; top: 50px; left: 0; right: 0; bottom: 0; }
.ct-capture img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ct-capture i[data-t] { position: absolute; }
.f-voix-sorte { color: var(--gris); }
.f-voix-choix { font: inherit; font-size: 13px; padding: 2px 6px; border: 1px solid #d8d3c8; border-radius: 6px; background: #fff; color: var(--encre); cursor: pointer; }
