/* Dispo, by Hub E-Pharma — charte de la plateforme de démonstration */
@font-face { font-family: 'Jakarta'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/vendor/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jakarta'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/vendor/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --vert-fonce: #0B3B2C; --vert: #0E9F5C; --menthe: #34D399; --canard: #1F8A9E; --orange: #F59E0B; --rouge: #D9480F; --fond: #F4F8F5;
  --encre: #0F2A20; --texte: #26443A; --doux: #5E7A6F; --trait: #DDE8E2; --carte: #FFFFFF; --vert-pale: #E3F5EC; --menthe-pale: #D7F7E9; --canard-pale: #DFF1F4; --orange-pale: #FEF1D8; --rouge-pale: #FCE6DC;
  --r: 18px; --r-s: 12px; --ombre: 0 1px 2px rgba(11,59,44,.06), 0 6px 20px rgba(11,59,44,.07); --ombre-forte: 0 2px 6px rgba(11,59,44,.08), 0 18px 44px rgba(11,59,44,.14);
  --police: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--police); color: var(--texte); background: var(--fond); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--encre); margin: 0; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-size: 26px; font-weight: 800; } h2 { font-size: 20px; font-weight: 750; } h3 { font-size: 16px; font-weight: 700; } h4 { font-size: 14px; font-weight: 700; }
p { margin: 0; }
a { color: var(--canard); text-decoration: none; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.ic.s { width: 16px; height: 16px; } .ic.l { width: 26px; height: 26px; } .ic.xl { width: 34px; height: 34px; }
.nowrap, .prix { white-space: nowrap; }
.doux { color: var(--doux); } .petit { font-size: 13px; } .tres-petit { font-size: 12px; }
.gras { font-weight: 700; color: var(--encre); }
.ligne { display: flex; align-items: center; gap: 10px; } .ligne.e { justify-content: space-between; } .ligne.w { flex-wrap: wrap; }
.pile > * + * { margin-top: 14px; } .pile.s > * + * { margin-top: 8px; } .pile.l > * + * { margin-top: 22px; }
.grille { display: grid; gap: 16px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cache { display: none !important; }

/* ---------- logo (toujours sur fond transparent) ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; user-select: none; }
.logo .mot { position: relative; font-weight: 800; font-size: 30px; letter-spacing: -.035em; color: var(--vert-fonce); padding-right: .42em; }
.logo .mot .croix { position: absolute; right: 0; top: -.12em; width: .42em; height: .42em; }
.logo .mot .croix::before, .logo .mot .croix::after { content: ''; position: absolute; background: var(--menthe); border-radius: .05em; }
.logo .mot .croix::before { left: 33%; top: 0; width: 34%; height: 100%; } .logo .mot .croix::after { top: 33%; left: 0; height: 34%; width: 100%; }
.logo .sig { margin-top: .34em; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #5B7D70; }
.logo.clair .mot { color: #fff; } .logo.clair .sig { color: #A7D9C3; }
.logo.p .mot { font-size: 22px; } .logo.p .sig { font-size: 9px; }
.logo.g .mot { font-size: 54px; } .logo.g .sig { font-size: 15px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 15px; cursor: pointer; background: var(--vert); color: #fff; transition: transform .12s ease, box-shadow .15s ease, background .15s; white-space: nowrap; text-decoration: none; }
.btn:hover { background: #0c8f53; box-shadow: 0 6px 16px rgba(14,159,92,.25); } .btn:active { transform: translateY(1px); }
.btn.fonce { background: var(--vert-fonce); } .btn.fonce:hover { background: #082d22; }
.btn.canard { background: var(--canard); } .btn.orange { background: var(--orange); color: #3b2400; } .btn.rouge { background: var(--rouge); }
.btn.second { background: #fff; color: var(--vert-fonce); box-shadow: inset 0 0 0 1.5px var(--trait); } .btn.second:hover { box-shadow: inset 0 0 0 1.5px #b9cfc4; background: #fff; }
.btn.fantome { background: transparent; color: var(--vert-fonce); padding: 8px 10px; } .btn.fantome:hover { background: var(--vert-pale); box-shadow: none; }
.btn.l { padding: 15px 22px; font-size: 16px; border-radius: 14px; } .btn.s { padding: 7px 12px; font-size: 13px; border-radius: 10px; } .btn.plein { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- cartes ---------- */
.carte { background: var(--carte); border-radius: var(--r); box-shadow: var(--ombre); padding: 18px; }
.carte.p0 { padding: 0; overflow: hidden; } .carte.l { padding: 24px; }
.carte.fonce { background: var(--vert-fonce); color: #DCEFE6; } .carte.fonce .saisie-txt { color: var(--texte); } .carte.fonce h1, .carte.fonce h2, .carte.fonce h3 { color: #fff; }
.carte.cliquable { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; } .carte.cliquable:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.titre-section { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 2px 10px; }
.titre-section h2, .titre-section h3 { display: flex; align-items: center; gap: 8px; }
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--vert-pale); color: #0a6b3f; white-space: nowrap; }
.pastille.canard { background: var(--canard-pale); color: #146577; } .pastille.orange { background: var(--orange-pale); color: #8a5300; } .pastille.rouge { background: var(--rouge-pale); color: #a2360b; } .pastille.gris { background: #EDF1EF; color: #52695F; } .pastille.fonce { background: var(--vert-fonce); color: #fff; } .pastille.menthe { background: var(--menthe-pale); color: #0B6B45; }
.pastille .point { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pastille .point.vivant { animation: pouls 1.6s infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.puce-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--vert-pale); color: var(--vert); flex: none; }
.puce-ic.canard { background: var(--canard-pale); color: var(--canard); } .puce-ic.orange { background: var(--orange-pale); color: #c27c00; } .puce-ic.rouge { background: var(--rouge-pale); color: var(--rouge); } .puce-ic.fonce { background: var(--vert-fonce); color: var(--menthe); } .puce-ic.menthe { background: var(--menthe-pale); color: #0a8a55; }
.puce-ic.s { width: 34px; height: 34px; border-radius: 10px; } .puce-ic.l { width: 54px; height: 54px; border-radius: 16px; }
.separateur { height: 1px; background: var(--trait); margin: 14px 0; }
.mention { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--canard-pale); color: #134f5c; font-size: 13.5px; }
.mention.orange { background: var(--orange-pale); color: #6e4300; } .mention.vert { background: var(--vert-pale); color: #0b5a36; } .mention.gris { background: #EEF3F0; color: #4c6359; } .mention.rouge { background: var(--rouge-pale); color: #8a2e09; }
.mention .ic { margin-top: 1px; }

/* ---------- formulaires ---------- */
label.champ { display: block; } label.champ > span { display: block; font-weight: 650; font-size: 13.5px; color: var(--encre); margin-bottom: 6px; }
.saisie-txt { width: 100%; border: 1.5px solid var(--trait); background: #fff; border-radius: 12px; padding: 12px 14px; outline: none; transition: border .15s, box-shadow .15s; }
.saisie-txt:focus { border-color: var(--vert); box-shadow: 0 0 0 4px rgba(14,159,92,.12); }
textarea.saisie-txt { resize: vertical; min-height: 84px; }
.avec-ic { position: relative; } .avec-ic .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--doux); } .avec-ic .saisie-txt { padding-left: 42px; }
.segments { display: inline-flex; background: #E7EFEA; border-radius: 12px; padding: 4px; gap: 4px; }
.segments button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 650; font-size: 13.5px; cursor: pointer; color: var(--doux); display: inline-flex; align-items: center; gap: 6px; }
.segments button.actif { background: #fff; color: var(--vert-fonce); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.interrupteur { position: relative; width: 44px; height: 26px; border-radius: 99px; background: #C9D8D0; border: 0; cursor: pointer; transition: background .2s; flex: none; }
.interrupteur::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.interrupteur.on { background: var(--vert); } .interrupteur.on::after { left: 21px; }
.choix { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--trait); border-radius: 14px; cursor: pointer; background: #fff; transition: border .15s, background .15s; }
.choix.actif { border-color: var(--vert); background: #F2FBF6; }
.choix input { accent-color: var(--vert); }

/* ---------- images (emplacements réservés en attendant les photos) ---------- */
.img { position: relative; overflow: hidden; background: linear-gradient(135deg, #0B3B2C 0%, #12573f 55%, #1F8A9E 130%); }
.img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img .attente { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(255,255,255,.78); text-align: center; padding: 10px; }
.img .attente::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.3px); background-size: 16px 16px; }
.img .attente .ic { width: 28px; height: 28px; opacity: .9; position: relative; }
.img .attente small { position: relative; font-size: 11px; letter-spacing: .02em; opacity: .85; max-width: 92%; line-height: 1.35; }
.img.charge .attente { display: none; }
.img.clair { background: linear-gradient(135deg, #DDEFE6, #CFE9EE); } .img.clair .attente { color: #2E5E4E; } .img.clair .attente::before { background-image: radial-gradient(rgba(11,59,44,.08) 1.2px, transparent 1.3px); }

/* ---------- connexion ---------- */
.connexion { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.connexion .visuel { position: relative; min-height: 100vh; }
.connexion .visuel .img { position: absolute; inset: 0; aspect-ratio: auto !important; }
.img.vignette { flex: 0 0 38%; aspect-ratio: auto !important; min-height: 112px; }
.connexion .visuel .voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,59,44,.15) 0%, rgba(11,59,44,.35) 45%, rgba(8,40,30,.92) 100%); }
.connexion .visuel .texte { position: absolute; left: 56px; right: 56px; bottom: 56px; color: #E4F4EC; }
.connexion .visuel .texte h1 { color: #fff; font-size: 40px; line-height: 1.1; max-width: 560px; }
.connexion .visuel .texte p { margin-top: 14px; font-size: 17px; max-width: 520px; color: #CBE9DB; }
.connexion .atouts { display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.connexion .atouts div { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #fff; }
.connexion .atouts .ic { color: var(--menthe); }
.connexion .panneau { padding: 44px 56px; display: flex; flex-direction: column; gap: 26px; max-height: 100vh; overflow: auto; }
.connexion form { display: grid; gap: 12px; }
.profils { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profil { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--ombre); border: 0; text-align: left; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.profils .profil:last-child:nth-child(odd) { grid-column: 1 / -1; }
.profil:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.profil .img { width: 50px; height: 50px; border-radius: 14px; flex: none; }
.profil .img .attente small { display: none; }
.profil .img .attente .ic { width: 22px; height: 22px; }
.profil b { display: block; color: var(--encre); font-size: 14px; } .profil span { display: block; font-size: 12.5px; color: var(--doux); line-height: 1.35; }
.profil .fl { margin-left: auto; color: #A5BDB2; }
.ou { display: flex; align-items: center; gap: 12px; color: var(--doux); font-size: 13px; font-weight: 600; } .ou::before, .ou::after { content: ''; flex: 1; height: 1px; background: var(--trait); }
.pied-demo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--doux); }
.pied-demo img { height: 30px; }

/* ---------- application mobile (patient, équipe, confrère, garde) ---------- */
.mobile { min-height: 100vh; display: flex; flex-direction: column; background: var(--fond); }
.mobile .entete { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(244,248,245,.97); border-bottom: 1px solid rgba(221,232,226,.7); }
.mobile .entete .qui { margin-left: auto; text-align: right; line-height: 1.2; } .mobile .entete .qui b { display: block; font-size: 13px; color: var(--encre); } .mobile .entete .qui span { font-size: 11.5px; color: var(--doux); }
.cloche { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 0; background: #fff; box-shadow: var(--ombre); display: grid; place-items: center; cursor: pointer; color: var(--vert-fonce); flex: none; }
.cloche .nb { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rouge); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.mobile main { flex: 1; padding: 16px 16px 100px; }
.onglets { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; background: #fff; border-top: 1px solid var(--trait); padding: 6px 6px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(11,59,44,.06); }
.onglets a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; color: #7d978c; font-size: 11.5px; font-weight: 650; position: relative; }
.onglets a.actif { color: var(--vert-fonce); } .onglets a.actif .ic { color: var(--vert); }
.onglets a .nb { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--rouge); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }

/* cadre de téléphone sur grand écran */
body.cadre { background: radial-gradient(1200px 700px at 70% -10%, #DDF3E8 0%, transparent 60%), var(--fond); }
.scene-tel { min-height: 100vh; display: grid; grid-template-columns: minmax(260px, 380px) auto; justify-content: center; align-items: center; gap: 56px; padding: 32px; }
.scene-tel .legende { max-width: 380px; } .scene-tel .legende h1 { font-size: 30px; margin-top: 18px; } .scene-tel .legende p { margin-top: 10px; color: var(--doux); }
.telephone { position: relative; width: 400px; height: min(860px, calc(100vh - 64px)); border-radius: 46px; background: #0B1F18; padding: 12px; box-shadow: 0 30px 80px rgba(11,59,44,.28), inset 0 0 0 2px #24463a; }
.telephone .ecran { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--fond); transform: translateZ(0); }
.telephone .ecran > .mobile { height: 100%; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.telephone .ecran .onglets { position: absolute; }
.telephone .encoche { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #0B1F18; z-index: 90; }
.telephone .ecran .entete { padding-top: 50px; }
.telephone .ecran .appel-entrant, .telephone .ecran .voile-modal { position: absolute; }

/* ---------- application bureau (titulaire, laboratoire, administration) ---------- */
.bureau { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.lateral { position: sticky; top: 0; height: 100vh; background: var(--vert-fonce); color: #BFE0D1; padding: 24px 16px; display: flex; flex-direction: column; gap: 22px; overflow: auto; }
.lateral nav { display: grid; gap: 4px; }
.lateral nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #BFE0D1; font-weight: 600; font-size: 14.5px; }
.lateral nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.lateral nav a.actif { background: rgba(52,211,153,.14); color: #fff; } .lateral nav a.actif .ic { color: var(--menthe); }
.lateral nav a .verrou { margin-left: auto; opacity: .6; }
.lateral .bloc-ph { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); }
.lateral .bloc-ph b { color: #fff; display: block; font-size: 14px; } .lateral .bloc-ph span { font-size: 12.5px; }
.lateral .bas { margin-top: auto; display: grid; gap: 12px; font-size: 12px; }
.lateral .bas img { height: 46px; width: auto; align-self: start; filter: brightness(0) invert(1); opacity: .92; } /* version claire du logo, toujours sur fond transparent */
.contenu { padding: 26px 34px 60px; min-width: 0; }
.barre-haut { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.barre-haut h1 { font-size: 26px; } .barre-haut .sous { color: var(--doux); font-size: 14px; margin-top: 4px; }
.barre-haut .droite { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.horloge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: var(--ombre); font-weight: 650; font-size: 13.5px; color: var(--encre); white-space: nowrap; }
.horloge.garde { background: #0B3B2C; color: #E4F4EC; } .horloge.garde .ic { color: #F59E0B; }
.utilisateur { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--menthe-pale); color: var(--vert-fonce); font-weight: 800; font-size: 13.5px; flex: none; }
.avatar.photo { object-fit: cover; padding: 0; }
.scene-tel .legende .portrait { display: block; width: 92px; height: 92px; border-radius: 26px; object-fit: cover; margin-top: 26px; box-shadow: var(--ombre); }
.scene-tel .legende .portrait + h1 { margin-top: 14px; }
.avatar.s { width: 30px; height: 30px; border-radius: 9px; font-size: 11.5px; }

/* indicateurs */
.kpi { display: flex; flex-direction: column; gap: 10px; }
.kpi .v { font-size: clamp(20px, 1.9vw, 30px); font-weight: 800; color: var(--encre); letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.kpi .l { font-size: 13.5px; color: var(--doux); font-weight: 600; }
.kpi .t { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--vert); }
.kpi.verrouille .v { color: #A9BDB4; }
.barres { display: grid; gap: 10px; }
.barres .b { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; font-size: 13.5px; }
.barres .b .piste { grid-column: 1 / -1; height: 9px; border-radius: 99px; background: #EAF1ED; overflow: hidden; }
.barres .b .piste i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--vert), var(--menthe)); }
.barres .b .piste i.orange { background: linear-gradient(90deg, var(--orange), #f7c25c); } .barres .b .piste i.rouge { background: linear-gradient(90deg, var(--rouge), #f08a5a); }
table.tab { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
table.tab th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--doux); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--trait); white-space: nowrap; }
table.tab td { padding: 12px; border-bottom: 1px solid #EDF3EF; vertical-align: middle; }
table.tab tr:hover td { background: #F8FBF9; }
table.tab td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; } table.tab th.n { text-align: right; }
.defile { overflow-x: auto; }
.bandeau-fictif { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6e4300; background: var(--orange-pale); padding: 7px 12px; border-radius: 10px; font-weight: 600; }

/* ---------- demande : compte à rebours, étapes, radar ---------- */
.rebours { display: inline-grid; place-items: center; position: relative; }
.rebours svg { transform: rotate(-90deg); }
.rebours .txt { position: absolute; text-align: center; line-height: 1.05; }
.rebours .txt b { display: block; font-size: 22px; font-weight: 800; color: var(--encre); font-variant-numeric: tabular-nums; } .rebours .txt span { font-size: 11px; color: var(--doux); font-weight: 600; }
.rebours.p .txt b { font-size: 14px; }
.rebours.clair .txt b { color: #fff; } .rebours.clair svg circle:first-child { stroke: rgba(255,255,255,.14); } .rebours.p .txt span { display: none; }
.minuteur { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-variant-numeric: tabular-nums; font-size: 13px; padding: 4px 10px; border-radius: 99px; background: var(--vert-pale); color: #0a6b3f; white-space: nowrap; }
.minuteur.orange { background: var(--orange-pale); color: #8a5300; } .minuteur.rouge { background: var(--rouge-pale); color: #a2360b; }
.etapes { display: grid; gap: 0; }
.etape { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 16px; }
.etape:not(:last-child)::before { content: ''; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--trait); }
.etape.faite:not(:last-child)::before { background: var(--menthe); }
.etape .rond { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #EDF2EF; color: #95ABA1; }
.etape.faite .rond { background: var(--vert); color: #fff; } .etape.active .rond { background: var(--menthe-pale); color: var(--vert); box-shadow: 0 0 0 5px rgba(52,211,153,.18); }
.etape b { display: block; color: var(--encre); font-size: 14px; } .etape span { font-size: 12.5px; color: var(--doux); }
.radar { position: relative; width: 210px; height: 210px; margin: 6px auto; }
.radar .onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(52,211,153,.55); animation: onde 2.4s ease-out infinite; }
.radar .onde:nth-child(2) { animation-delay: .8s; } .radar .onde:nth-child(3) { animation-delay: 1.6s; }
@keyframes onde { from { transform: scale(.25); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.radar .c { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(31,138,158,.35); }
.radar .centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: var(--vert-fonce); display: grid; place-items: center; color: var(--menthe); box-shadow: 0 8px 24px rgba(11,59,44,.35); }
.radar.lune .centre { background: #0B3B2C; color: #F59E0B; }
.prix-grand { font-size: 34px; font-weight: 800; color: var(--encre); letter-spacing: -.02em; white-space: nowrap; }
.qr { width: 190px; height: 190px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--trait); }
.qr img { width: 100%; height: 100%; display: block; }
.code-retrait { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 22px; letter-spacing: .3em; font-weight: 800; color: var(--vert-fonce); }

.heros { position: relative; }
.heros::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,59,44,0) 35%, rgba(8,40,30,.88) 100%); }
.heros-txt { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #DDF3E8; }
.heros-txt h1 { color: #fff; font-size: 23px; margin-top: 2px; } .heros-txt p { font-size: 13.5px; }
/* liste de demandes */
.item { display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; border-radius: 16px; box-shadow: var(--ombre); cursor: pointer; transition: transform .12s ease; }
.item:hover { transform: translateY(-1px); }
.item .corps { flex: 1; min-width: 0; } .item .corps b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--encre); font-size: 14.5px; overflow: hidden; line-height: 1.3; } .item .corps span { font-size: 12.5px; color: var(--doux); }
.item.nouvelle { box-shadow: 0 0 0 2px var(--menthe), var(--ombre); }

/* écran d'appel entrant */
.appel-entrant { position: fixed; inset: 0; z-index: 200; background: linear-gradient(180deg, #0B3B2C 0%, #0a2f24 60%, #071f18 100%); color: #DFF3EA; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 70px 26px 60px; text-align: center; animation: apparait .25s ease; }
@keyframes apparait { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.appel-entrant .anneau { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin: 30px auto 22px; }
.appel-entrant .anneau::before, .appel-entrant .anneau::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(52,211,153,.5); animation: onde 1.8s ease-out infinite; }
.appel-entrant .anneau::after { animation-delay: .9s; }
.appel-entrant .anneau .coeur { width: 96px; height: 96px; border-radius: 50%; background: var(--menthe); display: grid; place-items: center; color: var(--vert-fonce); }
.appel-entrant h2 { color: #fff; font-size: 26px; } .appel-entrant .det { margin-top: 8px; font-size: 16px; color: #BFE5D4; }
.appel-entrant .boutons { display: flex; gap: 54px; }
.appel-entrant .boutons button { width: 72px; height: 72px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer; }
.appel-entrant .boutons .non { background: var(--rouge); } .appel-entrant .boutons .oui { background: var(--vert); animation: secoue 1.2s infinite; }
@keyframes secoue { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-12deg); } 80% { transform: rotate(12deg); } 90% { transform: rotate(-8deg); } }
.appel-entrant .boutons small { display: block; margin-top: 8px; font-size: 13px; color: #BFE5D4; }

/* fenêtres */
.voile-modal { position: fixed; inset: 0; z-index: 150; background: rgba(6,28,21,.55); display: flex; align-items: center; justify-content: center; padding: 18px; animation: apparait .15s ease; }
.modal { width: min(560px, 100%); max-height: calc(100% - 24px); overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.25); padding: 22px; }
.modal.l { width: min(860px, 100%); }
.modal .tete { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; } .modal .tete h2 { flex: 1; }
.toasts { position: fixed; top: 16px; right: 16px; z-index: 300; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.telephone .ecran .toasts { position: absolute; top: 46px; left: 12px; right: 12px; width: auto; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--vert-fonce); color: #DCF2E8; box-shadow: var(--ombre-forte); animation: glisse .3s ease; }
.toast b { color: #fff; display: block; font-size: 14px; } .toast span { font-size: 13px; }
.toast.erreur { background: #5c1f06; }
@keyframes glisse { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* barre de démonstration */
.demo-bouton { position: fixed; right: 18px; bottom: 18px; z-index: 260; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; border: 0; background: #0B3B2C; color: #E4F4EC; font-weight: 700; font-size: 13px; cursor: pointer; box-shadow: 0 10px 30px rgba(11,59,44,.35); }
.demo-bouton .ic { color: #F59E0B; }
.demo-panneau { position: fixed; right: 18px; bottom: 70px; z-index: 260; width: 360px; max-height: calc(100vh - 100px); overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(11,59,44,.3); padding: 18px; animation: glisse .2s ease; }
.demo-panneau h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--doux); margin: 14px 0 8px; }
.demo-panneau .profils-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.demo-panneau .profils-demo button { display: flex; align-items: center; gap: 8px; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--trait); background: #fff; font-size: 12.5px; font-weight: 650; cursor: pointer; color: var(--encre); }
.demo-panneau .profils-demo button.actif { border-color: var(--vert); background: #F2FBF6; }
body:has(.mobile) .demo-bouton { bottom: 86px; } body:has(.mobile) .demo-panneau { bottom: 138px; }
body.cadre .demo-bouton { bottom: 18px; }
body:has(.appel-entrant) .demo-bouton, body:has(.appel-entrant) .demo-panneau, body:has(.voile-modal) .demo-bouton { display: none; } body.cadre .demo-panneau { bottom: 70px; }
body.dans-scene .demo-bouton, body.dans-scene .demo-panneau { display: none; }
body.dans-scene .mobile .entete { padding-top: 54px; }
body.dans-scene .toasts { top: 46px; }

/* menu déroulant « Profil » (voir en tant que) */
.choix-profil { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 12px; background: #fff; box-shadow: var(--ombre); color: var(--vert-fonce); }
.choix-profil small { font-size: 12px; font-weight: 700; color: var(--doux); }
.choix-profil select { border: 0; background: var(--vert-pale); border-radius: 9px; padding: 6px 8px; font-weight: 650; font-size: 13px; color: var(--encre); max-width: 260px; cursor: pointer; }
.choix-profil.mobile { display: flex; margin: 10px 16px 0; box-shadow: none; background: #fff; border: 1.5px solid var(--trait); }
.choix-profil.mobile select { flex: 1; max-width: none; }
/* carte géographique */
.carte-geo { height: 300px; border-radius: 16px; overflow: hidden; background: #E3EEE8; z-index: 0; }
.carte-geo.h { height: 420px; }
.leaflet-tile-pane { filter: saturate(.55) hue-rotate(-8deg) brightness(1.03); }
.marqueur { width: 30px; height: 30px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.25); border: 2px solid #fff; }
.marqueur > * { transform: rotate(45deg); }
.marqueur svg { width: 15px; height: 15px; color: #fff; }
.leaflet-container { font-family: var(--police); }
.leaflet-popup-content { font-size: 13px; margin: 10px 12px; }

/* chat et appel simulés */
.chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #EAF1EC; border-radius: 16px; min-height: 360px; max-height: 460px; overflow: auto; }
.bulle { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); animation: glisse .2s ease; }
.bulle.client { align-self: flex-end; background: #D7F7E9; border-bottom-right-radius: 4px; } .bulle.assistant { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; } .bulle.systeme { align-self: center; background: transparent; box-shadow: none; font-size: 12px; color: var(--doux); font-weight: 600; }
.bulle small { display: block; font-size: 11px; color: var(--doux); margin-top: 4px; text-align: right; }
.ecrit { display: inline-flex; gap: 4px; } .ecrit i { width: 7px; height: 7px; border-radius: 50%; background: #9BB5AA; animation: saute 1s infinite; } .ecrit i:nth-child(2) { animation-delay: .15s; } .ecrit i:nth-child(3) { animation-delay: .3s; }
@keyframes saute { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
.onde-voix { display: flex; align-items: center; gap: 3px; height: 40px; } .onde-voix i { width: 4px; border-radius: 3px; background: var(--vert); animation: voix 1s ease-in-out infinite; }
@keyframes voix { 0%, 100% { height: 8px; } 50% { height: 34px; } }
.micro { width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--vert); color: #fff; display: grid; place-items: center; cursor: pointer; margin: 0 auto; box-shadow: 0 12px 30px rgba(14,159,92,.35); transition: transform .15s; }
.micro.enreg { background: var(--rouge); animation: pouls-micro 1.2s infinite; }
@keyframes pouls-micro { 0% { box-shadow: 0 0 0 0 rgba(217,72,15,.45); } 100% { box-shadow: 0 0 0 22px rgba(217,72,15,0); } }

/* offres */
.offre { position: relative; display: flex; flex-direction: column; gap: 14px; }
.offre.actuelle { box-shadow: 0 0 0 2px var(--vert), var(--ombre-forte); }
.offre .prix-offre { font-size: 30px; font-weight: 800; color: var(--encre); white-space: nowrap; } .offre .prix-offre small { font-size: 13px; color: var(--doux); font-weight: 600; }
.offre ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.offre li { display: flex; gap: 9px; align-items: flex-start; } .offre li .ic { margin-top: 1px; color: var(--vert); } .offre li.non { color: #9AB0A6; } .offre li.non .ic { color: #C1D1CA; }
.offre .ruban { position: absolute; top: 16px; right: 16px; }
.verrou-carte { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px; }

/* ligne d'ordonnance */
.ligne-ord { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px; border-radius: 14px; background: #F6FAF8; }
.jauge { height: 6px; border-radius: 9px; background: #E4ECE7; overflow: hidden; grid-column: 1 / -1; } .jauge i { display: block; height: 100%; background: var(--vert); } .jauge i.orange { background: var(--orange); } .jauge i.rouge { background: var(--rouge); }

/* animations discrètes */
.apparition { animation: monte .35s ease both; }
@keyframes monte { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.squelette { background: linear-gradient(90deg, #EAF1ED 25%, #F4F8F5 50%, #EAF1ED 75%); background-size: 200% 100%; animation: brille 1.2s infinite; border-radius: 12px; }
@keyframes brille { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.vide { text-align: center; padding: 26px 16px; } .vide .img { border-radius: 18px; margin: 0 auto 16px; max-width: 320px; } .vide h3 { margin-bottom: 6px; } .vide p { color: var(--doux); font-size: 14px; }

/* scène côte à côte */
.scene { min-height: 100vh; display: flex; flex-direction: column; }
.scene .tete-scene { display: flex; align-items: center; gap: 18px; padding: 16px 26px; background: var(--vert-fonce); color: #CFEADD; flex-wrap: wrap; }
.scene .tete-scene .segments { background: rgba(255,255,255,.08); } .scene .tete-scene .segments button { color: #BFE0D1; } .scene .tete-scene .segments button.actif { background: #fff; color: var(--vert-fonce); }
.scene .ecrans { flex: 1; display: flex; justify-content: center; gap: 26px; padding: 22px; overflow-x: auto; }
.scene .ecrans .col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scene .ecrans .col b { color: var(--encre); font-size: 14px; } .scene .ecrans .col span { font-size: 12.5px; color: var(--doux); }
.scene .telephone { width: 360px; height: min(760px, calc(100vh - 170px)); }
.scene iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .connexion { grid-template-columns: 1fr; } .connexion .visuel { min-height: 360px; } .connexion .visuel .texte { left: 24px; right: 24px; bottom: 26px; } .connexion .visuel .texte h1 { font-size: 28px; }
  .connexion .panneau { padding: 26px 18px 40px; max-height: none; }
  .bureau { grid-template-columns: 1fr; } .lateral { position: static; height: auto; } .lateral nav { grid-template-columns: repeat(2, 1fr); } .lateral .bas { display: none; }
  .contenu { padding: 18px 14px 80px; } .g3, .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-tel { grid-template-columns: 1fr; } .scene-tel .legende { display: none; }
}
@media (max-width: 560px) { .profils { grid-template-columns: 1fr; } .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } .barre-haut { flex-wrap: wrap; } .demo-panneau { left: 8px; right: 8px; width: auto; } }
@media print { .lateral, .demo-bouton, .demo-panneau, .barre-haut .droite, .onglets, .no-print { display: none !important; } .bureau { display: block; } body { background: #fff; } .modal { box-shadow: none; } }
