/* ==========================================================================
   UEMI Découvrir — EXPÉRIENCE ANIMÉE (2026-11-08) — liée par public_site/base.html après site.css.
   Responsabilité : styles des composants de experience.js et simulateur.js :
     § 1 Mayele IA au premier plan (bandeau d'accueil + bouton de la barre du haut)
     § 2 Moteur de scènes : fenêtres d'application animées (aux logos actuels)
     § 3 Lecteur de films
     § 4 UEMI Forms (section dédiée)
     § 5 Affiches animées des « Nouveautés », accroche du simulateur
     § 6 Simulateur de projet (/decouvrir/simulation/) + impression du rapport
   Couleurs de la marque : marine #022559, accent vert d'eau #00806A (texte, aplats) et #01CDA8 (halos) — palette des logos du 8 novembre 2026.
   ========================================================================== */
:root { --ux-navy: #022559; --ux-orange: #00806a; --ux-ink: #142033; --ux-muted: #5a6577; --ux-line: #dfe5ee; --ux-soft: #f4f7fb; }

/* Lanceur flottant « Je vous guide » retiré (demande 2026-11-08) : Mayele s'ouvre par le bouton de la barre du haut
   et par les boutons de la page. Le panneau et les visites guidées restent ceux de site-assistant.js. */
.sa-launch, .sa.is-touring .sa-launch { display: none !important; }

/* -------------------------------------------------------------- § 1 MAYELE AU PREMIER PLAN */
.us-btn--mayele { gap: 8px; padding: 0 14px 0 8px; border-color: rgba(1, 205, 168, .55); background: #fff; color: var(--ux-navy); }
.us-btn--mayele img { width: 26px; height: 26px; }
.us-btn--mayele:hover { border-color: var(--ux-orange); }
@media (max-width: 760px) { .us-btn--mayele span { display: none; } .us-btn--mayele { padding: 0 8px; } }

.ux-mayele { position: relative; overflow: hidden; padding: 72px 0; color: #e6edf7;
  background: radial-gradient(900px 420px at 85% -10%, rgba(1, 205, 168, .22), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(56, 120, 200, .25), transparent 60%), #0b1f38; }
.ux-mayele__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.ux-mayele__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ux-mayele__brand img { width: 64px; height: 64px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.ux-mayele__brand .us-eyebrow { margin: 0; color: #7fe6d3; }
.ux-mayele h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.ux-mayele__lead { font-size: 18px; line-height: 1.55; color: #c9d6e8; margin: 0 0 22px; }
.ux-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.ux-caps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ux-caps b { display: block; color: #fff; font-size: 14.5px; } .ux-caps small { color: #aebdd3; font-size: 13px; line-height: 1.4; }
.ux-caps i { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--ux-orange); box-shadow: 0 0 0 4px rgba(1, 205, 168, .2); }
.ux-mayele__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ux-mayele__cta .us-btn--primary { background: var(--ux-orange); border-color: var(--ux-orange); color: #fff; }
.ux-mayele__cta .us-btn--primary:hover { background: #006b58; }
.ux-mayele__cta .us-btn:not(.us-btn--primary) { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.ux-console { border-radius: 22px; background: #fff; color: var(--ux-ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); overflow: hidden; }
.ux-console__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--ux-line); }
.ux-console__bar img { width: 28px; height: 28px; } .ux-console__bar b { color: var(--ux-navy); }
.ux-console__bar small { margin-left: auto; color: #1f9d55; font-weight: 700; font-size: 12px; } .ux-console__bar small::before { content: "● "; }
.ux-talk-tabs { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; border-bottom: 1px solid var(--ux-line); scrollbar-width: none; }
.ux-talk-tabs button { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ux-line); background: #fff; font: 700 12.5px inherit; color: var(--ux-navy); cursor: pointer; }
.ux-talk-tabs button[aria-selected=true] { background: var(--ux-navy); border-color: var(--ux-navy); color: #fff; }
.ux-console .ux-chat { height: 300px; padding: 16px; overflow-y: auto; }
.ux-console__foot { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--ux-line); background: var(--ux-soft); }
.ux-console__foot span { flex: 1; color: var(--ux-muted); font-size: 13.5px; }
@media (max-width: 900px) { .ux-mayele__grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 520px) { .ux-caps { grid-template-columns: 1fr; } .ux-mayele { padding: 52px 0; } }

/* Bulles de conversation (communes à la console Mayele et aux scènes « mayele »). */
.ux-chat { display: flex; flex-direction: column; gap: 10px; }
.ux-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.ux-msg--me { align-self: flex-end; background: var(--ux-navy); color: #fff; border-bottom-right-radius: 5px; }
.ux-msg--ai { align-self: flex-start; background: #f1f4f9; color: var(--ux-ink); border-bottom-left-radius: 5px; }
.ux-actioncard { align-self: flex-start; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid rgba(1, 205, 168, .55); box-shadow: 0 8px 18px rgba(15, 48, 84, .1); }
.ux-actioncard span { display: grid; } .ux-actioncard b { color: var(--ux-navy); font-size: 13.5px; } .ux-actioncard small { color: var(--ux-muted); font-size: 12px; }
.ux-msg.is-in { animation: ux-pop .35s ease-out both; }
.ux-typing { display: inline-flex; gap: 4px; } .ux-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa8bd; animation: ux-dots 1s infinite; }
.ux-typing i:nth-child(2) { animation-delay: .15s; } .ux-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ux-dots { 50% { transform: translateY(-4px); opacity: .5; } }
@keyframes ux-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* -------------------------------------------------------------- § 2 MOTEUR DE SCÈNES */
.ux-a { animation: ux-in .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes ux-in { from { opacity: 0; transform: translateY(10px); } }
.is-paused .ux-a, .is-paused .ux-a *, .is-paused .ux-token, .is-paused .ux-card-move, .is-paused .ux-curve path { animation-play-state: paused !important; }
.ux-win { display: flex; flex-direction: column; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(15, 48, 84, .1); font-size: 13px; color: var(--ux-ink); text-align: left; }
.ux-win__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--ux-soft); border-bottom: 1px solid var(--ux-line); white-space: nowrap; }
.ux-win__bar b { color: var(--ux-navy); font-size: 12.5px; } .ux-win__bar span { color: var(--ux-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.ux-win__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7dde7; } .ux-win__bar i:first-of-type { margin-left: auto; }
.ux-win__body { position: relative; flex: 1; min-height: 0; padding: 14px; overflow: hidden; }
.ux-line { display: block; height: 8px; width: var(--w, 80%); margin: 8px 0; border-radius: 4px; background: #e3e8f0; }
.ux-line--typing { position: relative; overflow: hidden; } .ux-line--typing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ux-navy) 0 0) left / 0 100% no-repeat; animation: ux-type 2.4s steps(24) 1.4s both; opacity: .25; }
@keyframes ux-type { to { background-size: 100% 100%; } }
.ux-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #eef2f8; color: var(--ux-navy); font-weight: 700; font-size: 11.5px; }
.ux-chip--ok { background: #e3f6ec; color: #11734a; } .ux-chip--ok::before { content: "✓"; }
.ux-chip--accent { background: #e3faf5; color: #00735e; }
/* Réunion */
.ux-meet { position: relative; height: 100%; display: grid; grid-template-columns: 1fr; gap: 10px; }
.ux-meet.has-side { grid-template-columns: 1.6fr 1fr; }
.ux-meet__grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); align-content: center; }
.ux-meet__grid--4 { grid-template-columns: repeat(2, 1fr); }
.ux-tile { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 10px; background: linear-gradient(160deg, #20456f, #022559); color: #fff; }
.ux-tile__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-weight: 800; }
.ux-tile small { position: absolute; left: 6px; bottom: 5px; font-size: 10.5px; opacity: .9; }
.ux-tile.is-speaking { box-shadow: 0 0 0 3px var(--ux-orange); animation-name: ux-in, ux-speak; animation-duration: .55s, 1.6s; animation-iteration-count: 1, infinite; animation-delay: var(--d), 1s; }
@keyframes ux-speak { 50% { box-shadow: 0 0 0 5px rgba(1, 205, 168, .55); } }
.ux-meet__side { padding: 10px; border-radius: 10px; background: var(--ux-soft); }
.ux-meet__cap { position: absolute; left: 10%; right: 10%; bottom: 4px; text-align: center; }
.ux-caption { display: inline-block; padding: 5px 12px; border-radius: 8px; background: rgba(10, 20, 36, .82); color: #fff; font-size: 12px; }
.ux-meet__interp { position: absolute; right: 6px; top: 4px; } .ux-meet__pager { position: absolute; left: 6px; top: 4px; }
.ux-pager { padding: 3px 10px; border-radius: 999px; background: var(--ux-navy); color: #fff; font-size: 11px; font-weight: 700; }
/* Cloud */
.ux-cloud { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; height: 100%; align-content: start; }
.ux-tree { margin: 0; padding: 0; list-style: none; } .ux-tree__i span { display: block; padding: 5px 8px; border-radius: 6px; font-weight: 700; color: var(--ux-navy); font-size: 12px; }
.ux-tree__i--1 span { padding-left: 18px; } .ux-tree__i--2 span { padding-left: 28px; background: #e3faf5; } .ux-tree__i--3 span { padding-left: 18px; }
.ux-tree__i span::before { content: "▸ "; color: var(--ux-orange); }
.ux-file { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px; border-radius: 9px; border: 1px solid var(--ux-line); animation-name: ux-fly; }
.ux-file span { flex: 1; font-weight: 600; font-size: 12px; } @keyframes ux-fly { from { opacity: 0; transform: translateX(40px) scale(.95); } }
.ux-sync::after { content: "✓"; color: #11734a; font-style: normal; font-weight: 900; }
.ux-share { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; background: var(--ux-soft); }
.ux-share b { display: block; color: var(--ux-navy); font-size: 12.5px; } .ux-share small { color: var(--ux-muted); font-size: 11px; }
.ux-qr { width: 46px; height: 46px; border-radius: 6px; background: conic-gradient(var(--ux-navy) 25%, #fff 0 50%, var(--ux-navy) 0 75%, #fff 0) 0 0 / 11px 11px; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--ux-line); }
/* Page de document */
.ux-page { height: 100%; max-width: 420px; margin: 0 auto; padding: 14px 18px; border-radius: 6px; background: #fff; box-shadow: 0 4px 16px rgba(15, 48, 84, .12); position: relative; }
.ux-win__body:has(.ux-page) { background: #e9edf3; }
.ux-page__h b { color: var(--ux-navy); font-size: 14px; }
.ux-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 11.5px; } .ux-table th, .ux-table td { padding: 4px 6px; border: 1px solid var(--ux-line); text-align: left; } .ux-table th { background: var(--ux-soft); }
.ux-page__stamp { position: absolute; right: 14px; bottom: 12px; }
.ux-stamp { display: inline-block; padding: 4px 10px; border: 2px solid #11734a; border-radius: 6px; color: #11734a; font-weight: 800; font-size: 11px; transform: rotate(-5deg); animation: ux-stamp .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: inherit; }
@keyframes ux-stamp { from { transform: rotate(-5deg) scale(1.8); opacity: 0; } }
.ux-sigbox { display: block; margin-top: 10px; padding: 8px; border: 1.5px dashed #b9c6d8; border-radius: 8px; font-size: 11.5px; color: var(--ux-navy); font-weight: 700; }
/* Tableur */
.ux-sheet { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; height: 100%; }
.ux-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2px; align-content: start; }
.ux-cell { padding: 5px 6px; background: #fff; border: 1px solid var(--ux-line); font-size: 11.5px; text-align: right; } .ux-cell.is-head { text-align: left; background: var(--ux-soft); font-weight: 700; color: var(--ux-navy); }
.ux-chart { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 10px; background: var(--ux-soft); }
.ux-bar { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--ux-orange), #00a98a); animation-name: ux-grow; transform-origin: bottom; } .ux-bar:nth-child(2n) { background: linear-gradient(#2a5d93, var(--ux-navy)); }
@keyframes ux-grow { from { transform: scaleY(0); } }
/* Forms */
.ux-forms { position: relative; display: grid; grid-template-columns: 110px 1fr 120px; gap: 12px; height: 100%; }
.ux-palette { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; align-content: start; }
.ux-palette li { padding: 5px 8px; border-radius: 7px; background: var(--ux-soft); color: var(--ux-navy); font-weight: 700; font-size: 11.5px; }
.ux-palette li::before { content: "⋮⋮ "; color: #a8b4c6; }
.ux-forms__canvas { padding: 10px; border-radius: 10px; border: 1.5px dashed #c9d3e2; }
.ux-fieldrow { margin-bottom: 8px; animation-name: ux-drop; } .ux-fieldrow small { display: block; color: var(--ux-muted); font-size: 11px; margin-bottom: 2px; }
@keyframes ux-drop { from { opacity: 0; transform: translate(-60px, -10px) rotate(-4deg); } }
.ux-field { display: block; height: 22px; border-radius: 6px; border: 1px solid var(--ux-line); background: #fff; }
.ux-field--select { background: #fff linear-gradient(135deg, transparent 50%, #8a97ab 50%) right 8px center / 7px 7px no-repeat; }
.ux-field--gps::after { content: "📍 -0,0487 ; 18,2603"; display: block; padding: 3px 8px; font-size: 10.5px; color: var(--ux-muted); }
.ux-forms__phone { align-self: center; } .ux-phone { position: relative; display: grid; gap: 6px; padding: 18px 9px 10px; border-radius: 18px; border: 3px solid var(--ux-navy); background: #fff; font-size: 11px; }
.ux-phone__notch { position: absolute; top: 5px; left: 35%; right: 35%; height: 5px; border-radius: 3px; background: var(--ux-navy); }
.ux-phone__btn { padding: 4px; border-radius: 7px; background: var(--ux-orange); color: #fff; text-align: center; font-weight: 800; }
.ux-forms__count { position: absolute; left: 136px; bottom: 10px; padding: 6px 10px; border-radius: 10px; background: #fff; box-shadow: 0 6px 16px rgba(15, 48, 84, .12); } .ux-big { display: block; font-size: 24px; color: var(--ux-navy); line-height: 1; } .ux-forms__count small { color: var(--ux-muted); font-size: 11px; }
/* Circuit */
.ux-circuit { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ux-flow { position: relative; display: flex; align-items: center; }
.ux-node { display: grid; justify-items: center; gap: 4px; flex: 0 0 auto; width: 74px; text-align: center; }
.ux-node__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ux-navy); color: var(--ux-navy); font-weight: 800; }
.ux-node small { font-size: 10.5px; color: var(--ux-muted); line-height: 1.2; }
.ux-link { flex: 1; height: 3px; margin-bottom: 18px; background: repeating-linear-gradient(90deg, #c9d3e2 0 6px, transparent 6px 10px); }
.ux-token { position: absolute; top: 8px; left: 21px; width: 16px; height: 16px; border-radius: 50%; background: var(--ux-orange); box-shadow: 0 0 0 5px rgba(1, 205, 168, .25); animation: ux-token 3.2s ease-in-out .4s both; }
@keyframes ux-token { to { left: calc(100% - 45px); } }
.ux-circuit__card .ux-dossier, .ux-dossier { display: inline-grid; padding: 8px 12px; border-radius: 10px; background: var(--ux-soft); } .ux-dossier b { color: var(--ux-navy); } .ux-dossier small { color: var(--ux-muted); }
/* Finances */
.ux-fin { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 10px; }
.ux-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ux-col { border-radius: 10px; background: var(--ux-soft); padding: 8px; } .ux-col small { font-weight: 800; color: var(--ux-navy); font-size: 11px; }
.ux-card-move { position: absolute; top: 34px; left: 1%; width: 23%; padding: 8px; border-radius: 9px; background: #fff; border: 1.5px solid var(--ux-orange); box-shadow: 0 8px 18px rgba(15, 48, 84, .12); animation: ux-move 3.4s cubic-bezier(.6, 0, .3, 1) .5s both; }
.ux-card-move b { display: block; color: var(--ux-navy); font-size: 11.5px; } .ux-card-move small { color: var(--ux-muted); font-size: 11px; }
@keyframes ux-move { 33% { left: 26%; } 66% { left: 51%; } 100% { left: 76%; } }
.ux-fin__mm { position: absolute; right: 8px; top: 92px; }
.ux-gauge { height: 10px; border-radius: 999px; background: #e3e8f0; overflow: hidden; } .ux-gauge i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--ux-navy), var(--ux-orange)); animation: ux-fill 2s ease-out both; }
@keyframes ux-fill { from { width: 0; } }
/* Tableau de bord */
.ux-dash { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 10px; height: 100%; }
.ux-kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ux-kpi { padding: 8px 10px; border-radius: 10px; background: var(--ux-soft); } .ux-kpi small { display: block; color: var(--ux-muted); font-size: 11px; } .ux-kpi b { color: var(--ux-navy); font-size: 18px; }
.ux-map { position: relative; border-radius: 10px; background: radial-gradient(circle at 40% 45%, #dbe7f3 0 35%, #eef3f9 36%); }
.ux-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--ux-orange); box-shadow: 0 0 0 0 rgba(1, 205, 168, .6); animation-name: ux-in, ux-ping; animation-duration: .5s, 1.8s; animation-iteration-count: 1, infinite; animation-delay: var(--d), calc(var(--d) + .5s); }
@keyframes ux-ping { 70% { box-shadow: 0 0 0 12px rgba(1, 205, 168, 0); } }
.ux-curve { width: 100%; height: 100%; border-radius: 10px; background: var(--ux-soft); }
.ux-curve path { fill: none; stroke: var(--ux-navy); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: ux-draw 2.6s ease-out .8s forwards; }
@keyframes ux-draw { to { stroke-dashoffset: 0; } }
/* Scène « mayele » */
.ux-win .ux-chat { height: 100%; justify-content: flex-end; }
.ux-msg--wait { animation: ux-in .4s both, ux-out .3s forwards; animation-delay: var(--d), calc(var(--d) + .8s); } @keyframes ux-out { to { opacity: 0; height: 0; padding: 0; margin: -5px 0; } }

/* -------------------------------------------------------------- § 3 LECTEUR DE FILMS */
.ux-films { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.ux-film-list { display: grid; gap: 6px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.ux-film { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid transparent; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--ux-ink); box-shadow: 0 1px 0 var(--ux-line); }
.ux-film span { display: grid; flex: 1; min-width: 0; } .ux-film b { color: var(--ux-navy); font-size: 14.5px; } .ux-film small { color: var(--ux-muted); font-size: 12.5px; line-height: 1.35; }
.ux-film em { font-style: normal; font-size: 11.5px; color: var(--ux-muted); }
.ux-film:hover { border-color: var(--ux-line); } .ux-film.is-active { border-color: var(--ux-orange); box-shadow: 0 10px 24px rgba(15, 48, 84, .1); }
.ux-player { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #10284a, #0b1f38); box-shadow: 0 30px 60px rgba(11, 31, 56, .3); color: #fff; }
.ux-player:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
.ux-player__head { display: flex; align-items: baseline; gap: 10px; padding: 16px 20px 0; } .ux-player__head b { font-size: 18px; } .ux-player__head span { color: #aebdd3; font-size: 14px; }
.ux-screen { aspect-ratio: 16 / 9; margin: 14px 20px 0; }
.ux-screen .ux-win { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); animation: ux-scene .6s ease-out both; }
@keyframes ux-scene { from { opacity: 0; transform: scale(.97); } }
.ux-player__cap { min-height: 52px; margin: 14px 20px 0; font-size: 16px; line-height: 1.45; color: #e6edf7; }
.ux-segs { display: flex; gap: 4px; margin: 12px 20px 0; } .ux-segs i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ux-segs i b { display: block; height: 100%; width: 0; background: var(--ux-orange); } .ux-segs .is-done b { width: 100%; } .ux-segs .is-now b { animation: ux-seg linear both; }
@keyframes ux-seg { to { width: 100%; } }
.ux-controls { display: flex; align-items: center; gap: 8px; padding: 12px 16px 16px; }
.ux-ctrl { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font: 700 14px inherit; cursor: pointer; }
.ux-ctrl:hover { background: rgba(255, 255, 255, .14); } .ux-ctrl.is-on { background: var(--ux-orange); border-color: var(--ux-orange); color: #fff; }
.ux-ctrl--play { width: 48px; height: 48px; background: #fff; color: var(--ux-navy); border: 0; font-size: 18px; }
.ux-ctrl--play::before { content: "▶"; } .ux-ctrl--play.is-playing::before { content: "❚❚"; font-size: 14px; letter-spacing: -1px; }
.ux-ctrl--ask { margin-left: auto; gap: 8px; grid-auto-flow: column; } .ux-ctrl--ask img { width: 22px; height: 22px; padding: 2px; border-radius: 6px; background: #fff; }
@media (max-width: 960px) { .ux-films { grid-template-columns: 1fr; } .ux-film-list { grid-auto-flow: column; grid-auto-columns: 240px; overflow-x: auto; max-height: none; padding-bottom: 6px; } }
@media (max-width: 560px) {
  .ux-screen { margin: 10px 10px 0; aspect-ratio: 4 / 3.4; } .ux-player__cap { margin: 10px 12px 0; font-size: 14.5px; } .ux-segs { margin: 10px 12px 0; }
  .ux-win { font-size: 11.5px; } .ux-win__body { padding: 9px; } .ux-forms { grid-template-columns: 82px 1fr; } .ux-forms__phone { display: none; } .ux-forms__count { left: 104px; }
  .ux-cloud { grid-template-columns: 1fr; } .ux-tree { display: none; } .ux-meet.has-side { grid-template-columns: 1fr; } .ux-meet__side { display: none; }
  .ux-controls { flex-wrap: wrap; } .ux-ctrl--ask span { display: none; }
}

/* -------------------------------------------------------------- § 4 UEMI FORMS */
.ux-forms-sec__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.ux-forms-sec__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; } .ux-forms-sec__brand img { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 10px 24px rgba(15, 48, 84, .16); }
.ux-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; }
.ux-feats li { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--ux-line); } .ux-feats b { display: block; color: var(--ux-navy); font-size: 14.5px; } .ux-feats small { color: var(--ux-muted); font-size: 13px; line-height: 1.4; }
.ux-stage { aspect-ratio: 16 / 10.5; border-radius: 20px; padding: 14px; background: linear-gradient(160deg, #eef3fa, #e2eaf5); box-shadow: 0 24px 50px rgba(15, 48, 84, .14); }
.ux-steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ux-steps3 div { padding: 10px 12px; border-radius: 12px; background: #fff; border-top: 3px solid var(--ux-orange); font-size: 13px; color: var(--ux-muted); } .ux-steps3 b { display: block; color: var(--ux-navy); }
@media (max-width: 900px) { .ux-forms-sec__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ux-feats, .ux-steps3 { grid-template-columns: 1fr; } .ux-stage { aspect-ratio: 4 / 3.6; padding: 8px; } }

/* -------------------------------------------------------------- § 5 AFFICHES ET ACCROCHES */
.ux-poster { aspect-ratio: 16 / 10; margin: -6px -6px 12px; padding: 8px; border-radius: 14px; background: linear-gradient(160deg, #eef3fa, #e2eaf5); }
.ux-poster .ux-win { font-size: 10.5px; } .ux-poster .ux-win__body { padding: 8px; }
.ux-sim-teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--ux-line); box-shadow: 0 24px 50px rgba(15, 48, 84, .08); }
.ux-sim-teaser ul { margin: 14px 0 20px; padding-left: 20px; color: var(--ux-ink); } .ux-sim-teaser li { margin: 4px 0; }
@media (max-width: 900px) { .ux-sim-teaser { grid-template-columns: 1fr; padding: 20px; } }
.ux-tour { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ux-tour a { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--ux-line); color: var(--ux-ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ux-tour a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15, 48, 84, .12); } .ux-tour img { width: 44px; height: 44px; } .ux-tour b { color: var(--ux-navy); } .ux-tour small { color: var(--ux-muted); font-size: 13px; }
@media (max-width: 900px) { .ux-tour { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* -------------------------------------------------------------- § 6 SIMULATEUR */
.sim-hero { padding: 56px 0 28px; background: radial-gradient(700px 300px at 90% 0, rgba(1, 205, 168, .16), transparent 60%), var(--ux-soft); }
.sim-hero h1 { font-size: clamp(30px, 4vw, 46px); } .sim-hero p { max-width: 760px; font-size: 17.5px; color: #33415a; }
.sim { padding: 28px 0 70px; }
.sim-setup { display: grid; gap: 18px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ux-line); box-shadow: 0 20px 44px rgba(15, 48, 84, .08); }
.sim-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sim-tpl { display: grid; gap: 6px; padding: 16px; border-radius: 16px; border: 2px solid var(--ux-line); background: #fff; text-align: left; font: inherit; cursor: pointer; color: var(--ux-ink); }
.sim-tpl b { color: var(--ux-navy); font-size: 16px; } .sim-tpl small { color: var(--ux-muted); } .sim-tpl[aria-pressed=true] { border-color: var(--ux-orange); box-shadow: 0 10px 24px rgba(1, 205, 168, .16); }
.sim-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: end; } .sim-row label { display: grid; gap: 6px; font-weight: 700; color: var(--ux-navy); font-size: 14px; }
.sim-row input[type=range] { width: min(420px, 80vw); accent-color: var(--ux-orange); } .sim-row output { font-weight: 800; color: var(--ux-orange); }
.sim-row select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--ux-line); font: inherit; }
.sim-board__top { position: sticky; top: 62px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 18px; border-radius: 16px; background: rgba(255, 255, 255, .95); border: 1px solid var(--ux-line); box-shadow: 0 10px 24px rgba(15, 48, 84, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sim-board__top h2 { flex: 1 1 260px; margin: 0; font-size: 16px; } .sim-week { font-weight: 800; color: var(--ux-navy); }
.sim-progress { flex: 1 1 100%; height: 6px; border-radius: 3px; background: #e3e8f0; overflow: hidden; } .sim-progress::before { content: ""; display: block; height: 100%; width: var(--p, 0); background: linear-gradient(90deg, var(--ux-navy), var(--ux-orange)); transition: width .5s; }
.us-btn.is-on { background: var(--ux-orange); border-color: var(--ux-orange); color: #fff; }
.us-btn--danger { color: #b3261e; border-color: #f1c8c4; }
.sim-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.sim-card { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--ux-line); margin-bottom: 18px; }
.sim-card > h3 { margin: 0 0 12px; font-size: 15px; letter-spacing: .02em; }
.sim-task { min-height: 260px; border: 2px solid rgba(1, 205, 168, .45); box-shadow: 0 16px 36px rgba(1, 205, 168, .1); }
.sim-task h3 { margin: 4px 0 10px; } .sim-task__eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ux-orange); }
.sim-steps { display: flex; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; overflow-x: auto; }
.sim-steps li { display: grid; justify-items: center; gap: 4px; flex: 1 0 70px; text-align: center; } .sim-steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ux-line); font-weight: 800; color: var(--ux-muted); }
.sim-steps small { font-size: 11px; color: var(--ux-muted); } .sim-steps .is-done span { background: #11734a; border-color: #11734a; color: #fff; } .sim-steps .is-now span { border-color: var(--ux-orange); color: var(--ux-orange); box-shadow: 0 0 0 4px rgba(1, 205, 168, .2); }
.sim-dossier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; } .sim-dossier div { padding: 8px 10px; border-radius: 10px; background: var(--ux-soft); } .sim-dossier small { display: block; color: var(--ux-muted); font-size: 11.5px; } .sim-dossier b { color: var(--ux-navy); font-size: 14px; }
.sim-pieces { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; } .sim-pieces li { padding: 4px 10px; border-radius: 999px; background: #e3f6ec; color: #11734a; font-size: 12.5px; font-weight: 700; } .sim-pieces li::before { content: "✓ "; }
.sim-pieces li.is-missing { background: #fde7e5; color: #b3261e; } .sim-pieces li.is-missing::before { content: "✕ "; }
.sim-tip { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 0 0 14px; border-radius: 14px; background: #effcf9; border: 1px solid rgba(1, 205, 168, .3); }
.sim-tip img { flex: 0 0 auto; padding: 3px; border-radius: 9px; background: #fff; } .sim-tip p { margin: 0; font-size: 14px; line-height: 1.5; } .sim-tip b { display: block; color: var(--ux-navy); }
.sim-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-idle { display: flex; gap: 14px; align-items: center; color: var(--ux-muted); } .sim-idle p { margin: 0; } .sim-idle b { color: var(--ux-navy); }
.sim-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sim-gauge { display: grid; justify-items: center; gap: 4px; text-align: center; }
.sim-gauge__ring { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #e8edf4 0); transition: background .4s; }
.sim-gauge__ring b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ux-navy); font-size: 16px; }
.sim-gauge--ok { --c: #1f9d55; } .sim-gauge--warn { --c: var(--ux-orange); } .sim-gauge--bad { --c: #d64545; }
.sim-gauge small { font-weight: 800; color: var(--ux-navy); font-size: 12.5px; } .sim-gauge em { font-style: normal; color: var(--ux-muted); font-size: 11.5px; }
.sim-act, .sim-ind { margin-bottom: 10px; } .sim-act > div:first-child, .sim-ind > div:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13.5px; } .sim-act small, .sim-ind small { color: var(--ux-muted); }
.sim-bar { position: relative; height: 10px; margin-top: 4px; border-radius: 999px; background: #e8edf4; overflow: hidden; }
.sim-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; transition: width .5s; } .sim-bar__eng { background: rgba(1, 205, 168, .45); } .sim-bar__paid { background: var(--ux-navy); }
.sim-bar.is-hot .sim-bar__eng { background: rgba(214, 69, 69, .55); }
.sim-used { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .sim-used div { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; background: var(--ux-soft); text-align: center; }
.sim-used b { color: var(--ux-navy); font-size: 18px; } .sim-used small { color: var(--ux-muted); font-size: 11.5px; line-height: 1.25; }
.sim-log { max-height: 340px; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.sim-log li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--ux-line); font-size: 13.5px; line-height: 1.45; animation: ux-pop .35s ease-out both; }
.sim-log li:first-child { border-top: 0; } .sim-log img { flex: 0 0 auto; margin-top: 1px; } .sim-log em { font-style: normal; font-weight: 800; color: var(--ux-orange); margin-right: 4px; }
.sim-report { margin-top: 10px; padding: 26px; border-radius: 22px; background: #fff; border: 2px solid var(--ux-navy); }
.sim-report__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 18px; } .sim-report__head h2 { margin: 0; } .sim-report__head p { margin: 0; color: var(--ux-muted); }
.sim-note { margin-left: auto; display: grid; justify-items: center; padding: 10px 18px; border-radius: 16px; background: var(--ux-navy); color: #fff; }
.sim-note b { font-size: 34px; line-height: 1; } .sim-note small { opacity: .7; } .sim-note em { font-style: normal; color: #7fe6d3; font-weight: 800; font-size: 13px; }
.sim-tip--report { margin-top: 18px; } .sim-tip--report div p { margin: 6px 0 0; }
@media (max-width: 960px) { .sim-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sim-tpls, .sim-dossier { grid-template-columns: 1fr; } .sim-kpis, .sim-used { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sim-board__top { top: 56px; } .sim-setup { padding: 18px; } }
@media print {
  .us-top, .us-foot, .sa, .sim-hero, .sim-setup, .sim-board, .sim-report .sim-actions { display: none !important; }
  .sim-report { border: 0; padding: 0; } .sim { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ux-a, .ux-msg.is-in, .ux-token, .ux-card-move, .ux-curve path, .ux-dot, .ux-tile.is-speaking, .ux-screen .ux-win, .sim-log li { animation: none !important; }
  .ux-token { left: calc(100% - 45px); } .ux-card-move { left: 76%; } .ux-curve path { stroke-dashoffset: 0; } .ux-msg--wait { display: none; }
}
/* Carte large des « Nouveautés » : affiche plafonnée (sinon 16/10 sur toute la largeur = immense). */
.us-new--wide .ux-poster { aspect-ratio: auto; height: 230px; }
@media (max-width: 560px) { .us-new--wide .ux-poster { height: 190px; } }
/* Téléphone : bouton Mayele carré (logo seul) pour laisser la place à « Se connecter » / « S'inscrire » ;
   colonnes des grilles autorisées à rétrécir (sinon une scène déborde de sa section). */
@media (max-width: 760px) { .us-top__actions .us-btn--mayele { flex: 0 0 44px; width: 44px; padding: 0; justify-content: center; } }
.ux-sim-teaser > *, .ux-forms-sec__grid > *, .ux-mayele__grid > *, .ux-films > * { min-width: 0; }
/* [2026-11-09] « Tout sur Mayele » (#assistant) remonté sous le bandeau #mayele : mêmes boutons (vert d'eau) que le
   bandeau, pour lire les deux blocs comme un seul chapitre Mayele. */
#assistant .us-btn--primary { background: var(--ux-orange); border-color: var(--ux-orange); color: #fff; }
#assistant .us-btn--primary:hover { background: #006b58; }
.ux-mayele + #assistant { padding-top: 24px; }

/* ==========================================================================
   NARRATION EN PAROLE — [2026-11-11] narration.js (.nr-*) : barre « Écouter la présentation », bouton haut-parleur
   par partie, partie lue surlignée ; barre flottante en bas d'écran pendant la lecture.
   ========================================================================== */
/* Dans une grille (héros), la barre ne doit jamais élargir sa colonne au-delà de l'écran. */
*:has(> .nr-bar) { min-width: 0; }
.nr-bar { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding: 8px; border-radius: 16px; background: #fff; border: 1.5px solid var(--ux-line); box-shadow: 0 8px 22px rgba(2, 37, 89, .08); max-width: 100%; }
.nr-play { display: inline-flex; max-width: 100%; text-align: left; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--ux-navy); color: #fff; font: 800 15px/1 inherit; cursor: pointer; }
.nr-play:hover { background: #0b3a7e; } .nr-play.is-playing { background: #00806a; }
.nr-play.is-playing svg { animation: nr-pulse 1s ease-in-out infinite alternate; }
@keyframes nr-pulse { to { transform: scale(1.18); } }
.nr-ctl { min-width: 38px; min-height: 38px; border-radius: 10px; border: 1.5px solid var(--ux-line); background: #fff; color: var(--ux-navy); font-size: 14px; cursor: pointer; }
.nr-ctl:hover { border-color: #01cda8; }
.nr-sel { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ux-muted); font-weight: 700; }
.nr-sel select { max-width: 190px; min-height: 36px; padding: 0 8px; border-radius: 10px; border: 1.5px solid var(--ux-line); background: #fff; color: var(--ux-navy); font: 600 13px inherit; }
.nr-now { flex: 1 1 180px; min-width: 0; color: var(--ux-muted); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-none { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 8px; color: var(--ux-muted); font-size: 14px; }
.nr-bar.is-live { position: fixed; z-index: 60; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(980px, calc(100% - 24px)); margin: 0; flex-wrap: nowrap; box-shadow: 0 18px 44px rgba(2, 37, 89, .28); border-color: #01cda8; }
.nr-bar.is-live .nr-sel span { display: none; }
.nr-one { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: 10px; vertical-align: middle; border-radius: 50%; border: 1.5px solid var(--ux-line); background: #fff; color: #00806a; cursor: pointer; }
.nr-one:hover, .is-narrating .nr-one { border-color: #01cda8; background: #e3faf5; }
h3 .nr-one { width: 26px; height: 26px; margin-left: 6px; } h3 .nr-one svg { width: 14px; height: 14px; }
.is-narrating { outline: 3px solid rgba(1, 205, 168, .55); outline-offset: 6px; border-radius: 14px; transition: outline-color .3s; }
section.is-narrating { outline-offset: -6px; }
@media (max-width: 720px) {
  .nr-bar.is-live { flex-wrap: wrap; bottom: 8px; }
  .nr-bar.is-live .nr-sel { display: none; }
  .nr-play { flex: 1 1 100%; justify-content: center; }
  .nr-sel span { display: none; } .nr-sel select { max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) { .nr-play.is-playing svg { animation: none; } }

/* [2026-11-11] Barre du haut entre 1101 et 1360 px : les cinq menus + quatre boutons dépassaient l'écran (53 px à
   1280 px). Le bouton « Télécharger pour … » n'y garde que son icône ; son libellé reste en infobulle et pour les
   lecteurs d'écran (aria-label posé par le gabarit de base). Sous 1100 px, le menu repliable prend le relais. */
@media (min-width: 1101px) and (max-width: 1360px) {
  .us-top__actions [data-dl-top] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .us-top__actions [data-dl-top] { gap: 0; padding: 0 11px; }
  .us-top .us-nav { gap: 0; }
}
