/* Mises en situation du logiciel (d'après les maquettes bureau et terrain), partagées par les pages */
/* ===== Mises en situation du logiciel (d'après les maquettes bureau et terrain) ===== */
.scene { position: relative; display: flex; align-items: flex-start; margin-top: 52px; max-width: 880px; }
.scene.solo { display: block; }
.ui { font-family: 'IN'; color: #1F1A2B; -webkit-font-smoothing: antialiased; text-align: left; }
.ui .t { font-family: 'BG'; font-weight: 800; color: var(--violet); letter-spacing: -.015em; line-height: 1.1; }
.ui small { display: block; font: 500 12px/1.35 'IN'; color: #6E6780; }
.ui .lbl { font: 700 10.5px 'IN'; letter-spacing: .07em; text-transform: uppercase; color: #6E6780; margin: 0; }
.ui .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ui .okc { width: 18px; height: 18px; fill: none; stroke: #2E9E57; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ui .chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 11.5px 'IN'; background: #EFE8F6; color: var(--violet); white-space: nowrap; }
.ui .chip.y { background: var(--jaune); }
.ui .chip.ok { background: #E3F4EA; color: #1C6F3D; }
.ui .btn-ui { height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 14px 'BG'; background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,78,0,.22); }
.ui .btn-ui.ghost { background: #fff; color: var(--violet); box-shadow: none; border: 1.5px solid #E6E1EC; flex: 1; font-size: 13px; }
.ui .btns { display: flex; gap: 8px; }
.ui .btns .btn-ui:not(.ghost) { flex: 1; }
.ui .card { background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(76,0,153,.04), 0 8px 22px rgba(76,0,153,.05); }
.ui .win { position: relative; z-index: 2; background: #fff; border-radius: 24px; padding: 20px 22px 18px; box-shadow: 0 2px 4px rgba(42,15,82,.08), 0 30px 70px rgba(42,15,82,.22); }
.ui .wh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui .wt { display: block; font-size: 22px; margin: 8px 0 12px; }
.ui .foot-note { font: 500 12.5px/1.4 'IN'; color: #6E6780; margin-top: 12px; }
.ui .sub { margin: -6px 0 10px; }

/* Téléphone de l'appli terrain */
.phone { position: relative; z-index: 1; flex: none; width: 292px; height: 600px; border-radius: 32px; background: #2A0F52; padding: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 1px 2px rgba(76,0,153,.12), 0 26px 50px -14px rgba(76,0,153,.34); }
.phone .scr { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #F4F0F8; display: flex; flex-direction: column; }
.phone .sb { display: flex; justify-content: space-between; align-items: center; padding: 13px 24px 4px; background: #fff; font: 600 13px 'IN'; }
.phone .sb i { display: inline-block; width: 16px; height: 9px; border-radius: 2px; background: #1F1A2B; margin-left: 5px; }
.phone .sb i.bat { width: 22px; border-radius: 3px; }
.phone .hd { display: flex; align-items: center; gap: 10px; background: #fff; padding: 6px 14px 12px; border-bottom: 1px solid #EAE0F3; }
.phone .hd > div { flex: 1; min-width: 0; }
.phone .hd .t { font-size: 18px; display: block; }
.phone .hd small { font-size: 11px; }
.phone .back { width: 34px; height: 34px; border-radius: 50%; background: #EDE6F5; display: grid; place-items: center; color: var(--violet); flex: none; }
.phone .pb { flex: 1; min-height: 0; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone .tabs { display: flex; justify-content: space-around; background: #fff; padding: 7px 4px 16px; border-top: 1px solid #EAE0F3; }
.phone .tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font: 500 9px 'IN'; color: #6E6780; }
.phone .tabs .ic { width: 34px; height: 22px; padding: 2px 8px; border-radius: 999px; }
.phone .tabs .on { color: var(--violet); font-weight: 700; }
.phone .tabs .on .ic { background: var(--jaune); }

/* Fenêtres posées à côté du téléphone */
.scene .phone + .win { margin: 120px 0 0 -36px; width: 400px; }
/* Vue ordinateur : la fenêtre du logiciel, et la fiche qui se remplit par-dessus */
.scene.desk { display: block; max-width: 940px; padding-bottom: 60px; }
.desk .dwin { width: 78%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(76,0,153,.10), 0 30px 64px -18px rgba(76,0,153,.34); }
.desk .dbar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #F4F0F8; border-bottom: 1px solid #EAE0F3; }
.desk .dbar i { width: 9px; height: 9px; border-radius: 50%; background: #DFD1ED; }
.desk .dbar span { margin-left: 10px; font: 500 11px 'IN'; color: #6E6780; background: #fff; border-radius: 999px; padding: 2px 12px; }
.desk .dwin img { display: block; width: 100%; height: auto; }
.desk .w-fiche { position: absolute; right: 0; bottom: 0; width: 400px; }
.w-reg, .w-bon { width: 380px !important; }

/* 09:00 dictée */
.rec { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px 14px 16px !important; }
.rec .mic { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.rec .mic .ic { width: 32px; height: 32px; }
.rec .mic::before, .rec .mic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2s var(--ease-out) infinite; }
.rec .mic::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.rec .t { font-size: 16px; }
.typed { font: 400 13.5px/1.5 'IN'; color: #1F1A2B; min-height: 7.5em; }
.typed::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rows { list-style: none; display: grid; gap: 0; }
.rows li { display: grid; grid-template-columns: 84px 1fr 18px; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #EAE0F3; font: 500 13px 'IN'; }
.rows li span { color: #6E6780; }
.rows li b { font: 600 14px 'IN'; color: #1F1A2B; }
.dpe { display: flex; gap: 2px; align-items: center; }
.dpe i { width: 17px; height: 17px; border-radius: 4px; color: #fff; font: 800 10px/17px 'BG'; text-align: center; font-style: normal; opacity: .55; }
.dpe i.on { width: 26px; height: 24px; line-height: 24px; font-size: 14px; opacity: 1; color: #1F1A2B; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #1F1A2B; margin: 0 3px; }

/* 10:30 mandat */
.kv p { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 5px 0; font: 500 12px/1.35 'IN'; }
.kv span { color: #6E6780; }
.kv b { font-weight: 600; color: #1F1A2B; }
.pad { position: relative; border: 1.5px dashed #D9CFE6; box-shadow: none !important; padding: 8px !important; text-align: center; }
.pad small { margin-top: 2px; }
.sig { width: 100%; height: auto; display: block; }
.sig path { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.8s cubic-bezier(.45,0,.2,1) .3s; }
.sig path + path { stroke-width: 1.5; stroke: #D9CFE6; stroke-dasharray: 0; stroke-dashoffset: 0; transition: none; }
.play .sig path { stroke-dashoffset: 0; }
.pad.mini { margin-top: 4px; border-radius: 14px; }
.reg { width: 100%; border-collapse: collapse; margin-top: 10px; font: 500 12.5px 'IN'; }
.reg th { text-align: left; font: 700 10.5px 'IN'; letter-spacing: .06em; text-transform: uppercase; color: #6E6780; padding: 0 6px 8px 0; }
.reg td { padding: 9px 6px 9px 0; border-top: 1px solid #EAE0F3; color: #3D3650; }
.reg td:first-child { font: 700 12.5px 'BG'; color: var(--violet); }
.reg tr.new td { background: #FFF4BF; opacity: 0; transition: opacity .5s ease 2.2s; }
.reg tr.new td:first-child { border-radius: 10px 0 0 10px; padding-left: 8px; }
.reg tr.new td:last-child { border-radius: 0 10px 10px 0; }
.play .reg tr.new td { opacity: 1; }

/* 12:00 diffusion */
.w-diff { max-width: 640px; }
.bienhd { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #EAE0F3; margin-bottom: 14px; }
.bienhd img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.bienhd .t { display: block; font-size: 20px; margin: 3px 0 2px; }
.portails { list-style: none; margin-top: 6px; }
.portails li { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #EAE0F3; }
.portails li b { font: 600 14px 'IN'; }
.portails li small { font-size: 11.5px; }
.st { position: relative; width: 84px; height: 24px; text-align: right; font: 600 12px/24px 'IN'; }
.st em { position: absolute; right: 0; font-style: normal; transition: opacity .3s ease calc(.5s + var(--d) * .28s); }
.st .off { color: #6E6780; } .st .on { color: #1C6F3D; opacity: 0; }
.play .st .off { opacity: 0; } .play .st .on { opacity: 1; }
.tg { position: relative; width: 40px; height: 24px; border-radius: 999px; background: #E6E1EC; transition: background .3s ease calc(.4s + var(--d) * .28s); }
.tg::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(31,26,43,.25); transition: transform .3s var(--ease-out) calc(.4s + var(--d) * .28s); }
.play .tg { background: #2E9E57; } .play .tg::after { transform: translateX(16px); }
.info { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #FFF4BF; color: #8A5A00; font: 600 13px/1.4 'IN'; }

/* 14:00 visite */
.offline { display: flex; align-items: center; gap: 8px; background: #2A0F52; color: #fff; font: 600 11px 'IN'; padding: 7px 16px; }
.offline i { width: 8px; height: 8px; border-radius: 50%; background: var(--jaune); }
.mapc { padding: 0 !important; overflow: hidden; }
.map { display: block; width: 100%; height: auto; }
.route { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.6s cubic-bezier(.45,0,.2,1) .2s; }
.play .route { stroke-dashoffset: 0; }
.bien { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; }
.bien img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.bien .t { font-size: 14px; display: block; }
.bien .who { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--violet); font-weight: 600; }
.bien .who .ic { width: 13px; height: 13px; }
.consigne { display: flex; gap: 8px; align-items: center; background: #FFF4BF; color: #8A5A00; border-radius: 12px; padding: 8px 10px; font: 600 11.5px/1.35 'IN'; }
.consigne .ic { width: 16px; height: 16px; }
.w-bon { opacity: 0; transform: translateY(16px); transition: opacity .5s ease 1.6s, transform .7s var(--ease-out) 1.6s; }
.play .w-bon { opacity: 1; transform: none; }

/* 16:00 acquéreur */
.scene .w-acq { width: 500px; flex: none; }
.scene .w-ses { width: 290px; margin: 130px 0 0 24px; flex: none; }
.who-hd { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.who-hd .t { font-size: 19px; display: block; }
.ui .av { width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font: 800 14px 'BG'; flex: none; }
.ui .av.o { background: var(--orange); } .ui .av.y { background: var(--jaune); color: var(--violet); }
.ui .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.who-hd .call { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #FFE3D6; color: var(--orange); }
.crit { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.prop { list-style: none; margin-top: 8px; }
.prop li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #EAE0F3; }
.prop img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.prop b { font: 700 13.5px 'BG'; color: var(--violet); }
.ppl { list-style: none; display: grid; gap: 8px; }
.ppl li { display: flex; align-items: center; gap: 10px; font: 600 13px 'IN'; }
.ppl .av { width: 32px; height: 32px; font-size: 11px; }

/* 17:30 estimation */
.w-est { max-width: 820px; }
.est { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; }
.you img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 16px; }
.tagv { display: inline-block; margin: 12px 0 6px; font: 700 10.5px 'IN'; letter-spacing: .07em; text-transform: uppercase; color: var(--violet); background: #EFE8F6; border-radius: 999px; padding: 4px 10px; }
.tagv.m { margin-top: 0; background: #FFE3D6; color: #C23B00; }
.prix { font: 800 34px/1 'BG'; color: var(--orange); letter-spacing: -.03em; }
.prix small { font: 600 11.5px 'IN'; color: #6E6780; letter-spacing: 0; margin-bottom: 4px; }
.avis { font: 500 13.5px/1.5 'IN'; color: #3D3650; margin-top: 10px; font-style: italic; }
.auto section { padding: 10px 0; border-top: 1px solid #EAE0F3; }
.auto section > b { display: block; font: 700 14px 'BG'; color: var(--violet); margin-bottom: 6px; }
.auto section p { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; font: 500 12.5px/1.8 'IN'; color: #3D3650; }
.auto section p span:nth-child(2) { font-weight: 700; color: #1F1A2B; }
.auto section p small { font-size: 11.5px; line-height: 1.8; }
.q { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 14px; font: 500 12.5px 'IN'; color: #3D3650; }
.q em { font: 800 20px 'BG'; color: #1F1A2B; font-style: normal; letter-spacing: -.02em; }
.q .up { color: #1C6F3D; font-weight: 700; grid-column: 1; }
.bars { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: flex-end; gap: 4px; height: 44px; }
.bars i { width: 9px; border-radius: 3px; background: #DFD1ED; }
.bars i:last-child { background: var(--violet); }

/* Apparition en séquence */
.seq > * { opacity: 0; transform: translateY(8px); transition: opacity .45s ease calc(.3s + var(--d, 0) * .22s), transform .6s var(--ease-out) calc(.3s + var(--d, 0) * .22s); }
.play .seq > * { opacity: 1; transform: none; }
.portails.seq > * { opacity: 1; transform: none; }
.scene .seq > *:not([style]) { --d: 0; }

@media (max-width: 900px) {
  .scene { flex-direction: column; align-items: stretch; }
  .scene .phone { align-self: center; }
  .scene .phone + .win, .scene .w-ses { margin: -60px 0 0; width: auto !important; }
  .scene.desk { padding-bottom: 0; } .desk .dwin { width: 100%; } .desk .w-fiche { position: relative; width: auto; margin: -40px 0 0 6%; }
  .scene .w-acq { width: auto; }
  .est { grid-template-columns: 1fr; }
  .bienhd { grid-template-columns: 56px 1fr; } .bienhd img { width: 56px; height: 56px; } .bienhd .chip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .seq > *, .w-bon, .reg tr.new td { opacity: 1 !important; transform: none !important; } .sig path, .route { stroke-dashoffset: 0 !important; } }


/* Léger dézoom des mises en situation (environ 12 %) */
.scene { zoom: .88; }

