/* COSMOS5 — interface dans le langage visuel Flowup : clair, verre dépoli, bleu → violet. © SKYNET LAB */
:root {
  color-scheme: light;
  --encre: #17213a; --texte: #3b4760; --doux: #52617b; --pale: #8a97b0;
  --bleu: #354ada; --violet: #704bdb; --ligne: #e2e8f4;
  --teal: #354ada; --teal-f: #3848bc;
  --rose: #e0485f; --ambre: #d9901a; --vert: #1f9d6f; --ciel: #38bdf8;
  --verre: rgba(253, 254, 255, .76); --ombre: 0 9px 36px #3448840d, inset 0 1px 0 #fff;
  --r: 19px; --police: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; font: 14px/1.5 var(--police); color: var(--encre); -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse at 87% 1%, #dddeff 0, transparent 37%), radial-gradient(ellipse at 38% 0%, #def5ff 0, transparent 44%), linear-gradient(155deg, #eff5fb, #edf0fd 64%, #f2effc); background-attachment: fixed; }
.fond { display: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid #5548e4; outline-offset: 3px; }
button { cursor: pointer; }
a { color: var(--bleu); text-decoration: none; }
svg { display: inline-block; vertical-align: middle; flex: none; }
h1, h2, h3, h4 { color: var(--encre); margin: 0 0 .35em; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0 0 .6em; }
.muted { color: var(--doux); } .petit { font-size: 13px; } .tres-petit { font-size: 12px; }
.gras { font-weight: 700; color: var(--encre); }

.verre { position: relative; background: var(--verre); border: 1px solid #fff; border-radius: var(--r); box-shadow: var(--ombre); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.carte { padding: 18px 19px; min-width: 0; }
.carte h3 { font-size: 17px; font-weight: 730; display: flex; align-items: center; gap: 8px; }
.carte h3 svg { width: 18px; height: 18px; }
.carte-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.carte-tete h3 { margin: 0; }
.carte-tete p { color: var(--doux); font-size: 12px; margin: 2px 0 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 14px; border-radius: 11px; font: 650 13px/1 var(--police); white-space: nowrap; text-decoration: none !important; cursor: pointer;
  color: #fff; border: 1px solid #4a52dc; background: linear-gradient(126deg, #354ada, #6049df); box-shadow: 0 5px 13px #454cdf35, inset 0 1px #ffffff57; transition: filter .15s, transform .15s; }
.btn:hover { background: linear-gradient(126deg, #263ccb, #5239ce); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .48; cursor: not-allowed; }
.btn.clair, .btn.fantome { color: #293757; background: #ffffffc9; border: 1px solid #dae2f4; box-shadow: inset 0 1px #fff; }
.btn.clair:hover, .btn.fantome:hover { background: #fff; border-color: #b7c5ed; }
.btn.fantome { background: transparent; border-color: transparent; box-shadow: none; }
.btn.violet { background: linear-gradient(126deg, #6049df, #8b5cf6); border-color: #6d4ae0; }
.btn.rouge { background: linear-gradient(126deg, #e0485f, #c2264a); border-color: #c93553; box-shadow: 0 5px 13px #c2264a30, inset 0 1px #ffffff40; }
.btn.mini { min-height: 30px; padding: 5px 10px; font-size: 12px; border-radius: 9px; }
.btn.grand { min-height: 46px; padding: 12px 22px; font-size: 15px; border-radius: 13px; }
.btn svg { width: 16px; height: 16px; }
label { display: block; font-size: 12px; font-weight: 650; color: var(--texte); margin: 0 0 4px; }
.champ { margin-bottom: 12px; }
input, select, textarea { width: 100%; min-height: 38px; padding: 8px 10px; color: var(--encre); border: 1px solid #cfd9ef; border-radius: 9px; background: #fffffff0; outline: none; transition: border .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: #8d97f0; box-shadow: 0 0 0 3px #5548e420; }
input[type=checkbox], input[type=radio], input[type=color] { width: auto; min-height: 0; accent-color: var(--bleu); }
input[type=color] { width: 44px; height: 34px; padding: 2px; }
textarea { min-height: 76px; resize: vertical; }
.grille2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grille3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.case { display: flex; align-items: center; gap: 7px; font-weight: 550; cursor: pointer; font-size: 13px; color: var(--texte); }
.erreur { border: 1px solid #f5d0d8; background: #fff0f3; color: #962247; border-radius: 12px; padding: 10px 13px; font-size: 13px; margin: 8px 0; }
.succes { border: 1px solid #cdeedd; background: #ebf9f2; color: #16634c; border-radius: 12px; padding: 10px 13px; font-size: 13px; margin: 8px 0; line-height: 1.8; }

.pastille { display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; padding: 3px 8px; background: #edf0f7; color: #43516b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pastille.ok { background: #dff4e9; color: #16634c; }
.pastille.attente { background: #fff0d6; color: #80530d; }
.pastille.ko { background: #ffe8ec; color: #9e2c47; }
.pastille.neutre { background: #edf0f7; color: #6a7690; }
.pastille.info { background: #e6e9ff; color: #3d45a7; }
.puce-type { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--encre); }
.puce-type i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.mode { display: inline-flex; gap: 7px; align-items: center; color: #414897; background: #edf0ff; border: 1px solid #e1e6fa; padding: 6px 10px; border-radius: 9px; font-weight: 650; font-size: 12px; white-space: nowrap; }
.mode::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6363e7; }
.mode.vert { color: #16634c; background: #e5f6ee; border-color: #d3efe1; } .mode.vert::before { background: #1f9d6f; }
.mode.rouge { color: #9e2c47; background: #ffeef1; border-color: #fbdde3; } .mode.rouge::before { background: #e0485f; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none !important; width: fit-content; }
.logo img { width: 42px; height: 42px; filter: drop-shadow(0 6px 10px #6157e44d); }
.logo span { font-size: 23px; font-weight: 750; letter-spacing: -.06em; }
.logo b { background: linear-gradient(126deg, #354ada, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =================== SITE VITRINE =================== */
.site-nav { position: sticky; top: 12px; z-index: 20; max-width: 1200px; margin: 12px auto 0; padding: 10px 12px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav nav { display: flex; gap: 6px; align-items: center; }
.site-nav nav a.lien { color: #43516d; font-weight: 620; padding: 8px 11px; border-radius: 10px; font-size: 13px; }
.site-nav nav a.lien:hover { background: #e8edff; color: #313eb9; }
.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; padding: 64px 0 36px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 760; letter-spacing: -.062em; line-height: 1.04; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #354ada 10%, #8b5cf6 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.intro { font-size: 17px; color: var(--doux); max-width: 560px; margin: 16px 0 24px; }
.badge-haut { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; font-size: 12px; font-weight: 650; color: #414897; margin-bottom: 16px; }
.badge-haut span { background: linear-gradient(126deg, #354ada, #6049df); color: #fff; padding: 3px 9px; border-radius: 99px; font-size: 10px; letter-spacing: .06em; }
.actions-hero { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.demo-roles { display: flex; gap: 8px; align-items: center; margin-top: 16px; flex-wrap: wrap; font-size: 13px; color: var(--doux); }
.demo-roles button { font: 650 12px var(--police); border: 1px solid #dae2f4; background: #ffffffc9; padding: 6px 11px; border-radius: 9px; color: #293757; }
.demo-roles button:hover { background: #fff; border-color: #b7c5ed; }
.garanties { display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap; font-size: 13px; color: var(--doux); }
.garanties span::before { content: "✓"; color: var(--bleu); font-weight: 800; margin-right: 6px; }
.maquette { padding: 16px; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s; }
.maquette:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mq-soldes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mq-solde { padding: 13px; border-radius: 14px; background: #fff; border: 1px solid var(--ligne); }
.mq-solde b { display: block; font-size: 23px; letter-spacing: -.05em; }
.mq-solde small { color: var(--doux); font-size: 12px; }
.mq-barre { height: 6px; border-radius: 9px; background: #edf0f9; margin-top: 8px; overflow: hidden; }
.mq-barre i { display: block; height: 100%; border-radius: 9px; }
.mq-planning { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 12px; }
.mq-ligne { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 8px; height: 30px; font-size: 12px; font-weight: 650; }
.mq-piste { position: relative; height: 18px; border-radius: 6px; background: repeating-linear-gradient(90deg, #edf2fb 0 calc(100%/14 - 2px), transparent calc(100%/14 - 2px) calc(100%/14)); }
.mq-piste i { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.mq-notif { position: absolute; right: -18px; bottom: -22px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; width: 250px; animation: monte 4s ease-in-out infinite alternate; }
.mq-notif .rond { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #dbf5ec; color: #167856; font-weight: 800; flex: none; }
@keyframes monte { to { transform: translateY(-8px); } }
.section { padding: 64px 0; }
.section-titre { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-titre h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 750; letter-spacing: -.05em; }
.section-titre p { font-size: 16px; color: var(--doux); }
.surtitre { display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.fonction { padding: 22px; transition: transform .25s; }
.fonction:hover { transform: translateY(-3px); }
.fonction .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; color: #fff; }
.fonction .ico svg { width: 21px; height: 21px; }
.fonction h3 { font-size: 16px; }
.fonction p { margin: 0; font-size: 14px; color: var(--doux); }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; counter-reset: e; }
.etape { padding: 24px; }
.etape::after { counter-increment: e; content: counter(e); position: absolute; top: 16px; right: 22px; font-size: 42px; font-weight: 800; color: #354ada1f; }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.chiffre { padding: 20px; text-align: center; }
.chiffre b { display: block; font-size: 30px; font-weight: 760; letter-spacing: -.06em; }
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tarif { padding: 26px; display: flex; flex-direction: column; }
.tarif.vedette { background: #fff; border-color: #c9cffa; box-shadow: 0 22px 55px -20px #4b4fe080, inset 0 1px #fff; transform: translateY(-6px); }
.tarif .ruban { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(126deg, #354ada, #6049df); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 8px; white-space: nowrap; }
.prix { font-size: 42px; font-weight: 760; letter-spacing: -.06em; margin: 8px 0 2px; }
.prix small { font-size: 14px; font-weight: 600; color: var(--doux); letter-spacing: 0; }
.tarif ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.tarif li { padding: 5px 0 5px 25px; position: relative; font-size: 14px; color: var(--texte); }
.tarif li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 6px; background: #e6e9ff; color: #3d45a7; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 2px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--bleu); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--doux); }
.appel { padding: 44px; text-align: center; overflow: hidden; background: linear-gradient(105deg, #fbfdff 4%, #e9f4ff 46%, #dce4ff 71%, #e6dcfc 100%); }
.appel h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 750; letter-spacing: -.05em; }
.pied { padding: 36px 0 46px; text-align: center; font-size: 13px; color: var(--doux); }
.pied a { color: var(--doux); margin: 0 8px; }
.page-auth { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.boite-auth { width: 100%; max-width: 460px; padding: 30px; }
.onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #e8edff; margin: 20px 0; }
.onglets button { font: 650 13px var(--police); border: 0; padding: 9px; border-radius: 9px; background: transparent; color: #43516d; }
.onglets button.actif { background: #fff; color: #313eb9; box-shadow: 0 2px 8px #3448841a; }

/* =================== APPLICATION =================== */
.app { max-width: 1920px; margin: auto; min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.barre { display: flex; flex-direction: column; gap: 20px; padding: 25px 17px 17px; align-self: start; min-height: 100dvh; max-height: 100dvh; overflow-y: auto; position: sticky; top: 0;
  border-right: 1px solid #fff; background: #f9fbffc9; box-shadow: 12px 0 45px #4e579006; backdrop-filter: blur(25px); z-index: 30; }
.barre .logo { padding-left: 9px; }
.espace { border: 1px solid #e8ebf8; padding: 9px; border-radius: 14px; background: #ffffffbd; display: flex; gap: 10px; align-items: center; box-shadow: var(--ombre); }
.espace b, .espace small { display: block; line-height: 1.3; }
.espace b { font-size: 13px; }
.espace small { color: var(--doux); font-size: 11px; }
.menu { display: grid; gap: 3px; }
.menu-titre { color: var(--doux); padding: 11px 11px 5px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; }
.menu a, .barre-bas a, .barre-bas button { width: 100%; background: transparent; border: 1px solid transparent; color: #43516d; padding: 9px 10px; min-height: 41px; border-radius: 11px; display: flex; align-items: center; gap: 10px; text-align: left; font: 620 13px var(--police); white-space: nowrap; text-decoration: none !important; }
.menu a svg, .barre-bas svg { width: 18px; height: 18px; }
.menu a:hover, .menu a.actif, .barre-bas a:hover, .barre-bas button:hover { color: #313eb9; background: #e8edff; border-color: #e3e7fb; }
.menu a.actif { box-shadow: inset 0 1px #fff; }
.menu .compteur { margin-left: auto; background: linear-gradient(126deg, #354ada, #6049df); color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; padding: 0 6px; }
.barre-bas { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ligne); display: grid; gap: 4px; }
.principal { min-width: 0; }
.entete { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 34px; background: #ffffff4f; border-bottom: 1px solid #fff; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.fil { display: flex; align-items: center; gap: 10px; color: var(--doux); font-size: 13px; min-width: 0; }
.fil strong { color: var(--encre); font-weight: 650; white-space: nowrap; }
.entete-droite { display: flex; align-items: center; gap: 8px; position: relative; }
.zone { max-width: 1440px; margin: auto; padding: 26px 34px 42px; }
.cloche { position: relative; width: 38px; height: 38px; border-radius: 11px; border: 1px solid #dae2f4; background: #ffffffc9; display: grid; place-items: center; color: #43516d; box-shadow: inset 0 1px #fff; }
.cloche:hover { background: #fff; border-color: #b7c5ed; }
.cloche svg { width: 18px; height: 18px; }
.cloche .pt { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 7px; background: #e0485f; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid #f3f5fd; }
.avatar { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 12px; color: #fff; }
.avatar.petit { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
.qui { display: flex; align-items: center; gap: 9px; padding: 3px 9px 3px 3px; border-radius: 12px; border: 1px solid transparent; background: transparent; text-align: left; color: var(--encre); }
.qui:hover { background: #ffffffc9; border-color: #dae2f4; }
.qui b { display: block; font-size: 13px; line-height: 1.2; }
.qui small { color: var(--doux); font-size: 11px; }
.bandeau { padding: 11px 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; font-size: 13px; border-radius: 12px; border: 1px solid #dde4fb; background: #edf1ffc4; color: #37476e; }
.bandeau.alerte { background: #fff5e3; border-color: #f5e4bd; color: #795512; }
.grille { display: grid; gap: 15px; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr); }
.titre-vue { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.titre-vue h1 { font-size: 28px; font-weight: 740; letter-spacing: -.055em; margin: 0; }
.titre-vue p { color: var(--doux); margin: 3px 0 0; }
.banniere { position: relative; isolation: isolate; overflow: hidden; min-height: 195px; display: flex; align-items: center; border: 1px solid #fff; border-radius: 24px; padding: 26px 33px; box-shadow: var(--ombre); margin-bottom: 19px;
  background: linear-gradient(105deg, #fbfdff 4%, #e9f4ff 46%, #dce4ff 71%, #e6dcfc 100%); }
.banniere::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 38px, #ffffff5e 39px 40px), repeating-linear-gradient(0deg, transparent 0 38px, #ffffff61 39px 40px); -webkit-mask-image: linear-gradient(90deg, transparent 36%, #000 100%); mask-image: linear-gradient(90deg, transparent 36%, #000 100%); }
.banniere-texte { max-width: 64%; z-index: 1; }
.banniere h1 { font-size: clamp(27px, 2.8vw, 40px); letter-spacing: -.062em; line-height: 1.07; font-weight: 740; margin: 0; }
.banniere .lead { color: var(--doux); margin: 6px 0 0; font-size: 14px; }
.banniere .actions { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.art { position: absolute; z-index: -1; width: 390px; height: 240px; top: 50%; right: 3%; translate: 0 -50%; pointer-events: none; }
.vc { position: absolute; border-radius: 23px; border: 2px solid #fefeffb0; box-shadow: 24px 24px 52px #6d6bd235, inset 1px 2px 6px #fffbdc, inset -4px -6px 14px #7588e44a; }
.vc.arriere { right: 169px; top: 58px; width: 142px; height: 135px; transform: rotate(46deg) skew(-7deg); background: linear-gradient(120deg, #f3ffffbb, #7db4ff4f 60%, #c9b9ffba); opacity: .9; }
.vc.avant { right: 110px; top: 36px; width: 139px; height: 159px; transform: rotate(27deg) skew(-8deg); background: linear-gradient(155deg, #eefaff9e 9%, #adc8f87a 34%, #b4a1f68c 73%, #8592f782); }
.vc.avant i { position: absolute; left: 20px; right: 20px; height: 9px; border-radius: 4px; background: #ffffffa8; }
.vc.avant i:nth-child(1) { top: 22px; height: 30px; width: 30px; right: auto; border-radius: 9px; background: linear-gradient(140deg, #fff, #a0c9ff); }
.vc.avant i:nth-child(2) { top: 70px; } .vc.avant i:nth-child(3) { top: 86px; right: 46px; } .vc.avant i:nth-child(4) { top: 102px; right: 32px; }
.etincelle { position: absolute; color: #fff; text-shadow: 0 0 10px #fff; font-size: 28px; top: 22px; right: 58px; }
.etincelle.deux { top: 160px; right: 280px; font-size: 18px; }
.metric { padding: 14px 16px; overflow: hidden; }
.metric-tete { display: flex; align-items: center; gap: 8px; color: var(--doux); font-weight: 650; font-size: 12px; }
.mi { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #e9edff; color: #4e4ccf; flex: none; }
.mi svg { width: 17px; height: 17px; }
.mi.menthe { background: #dbf5ec; color: #167856; } .mi.peche { background: #fce9e7; color: #ac3d47; } .mi.lilas { background: #eee5ff; color: #7241c6; }
.metric strong { display: block; margin-top: 5px; font-size: clamp(19px, 2.1vw, 30px); font-weight: 740; letter-spacing: -.06em; white-space: nowrap; }
.metric strong small { display: inline; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--doux); margin-left: 4px; }
.metric small { color: var(--doux); font-size: 11px; display: block; }
.bande { display: flex; height: 8px; gap: 3px; border-radius: 999px; overflow: hidden; margin: 8px 0 4px; background: #edf0f9; }
.bande > i { height: 100%; border-radius: 10px; }
.suivi { display: grid; align-content: start; gap: 11px; }
.suivi-l { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.suivi-l b { white-space: nowrap; }
.suivi-l > span { display: flex; gap: 8px; align-items: center; }
.suivi-l i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.courbe { display: block; width: 100%; height: auto; overflow: visible; }
.courbe text { font-size: 11px; fill: #52617b; font-family: var(--police); }
.courbe line { stroke: #e3e9f6; stroke-dasharray: 4 4; }
.solde { padding: 18px; overflow: hidden; }
.solde .nom { font-size: 12px; font-weight: 650; color: var(--doux); display: flex; justify-content: space-between; align-items: center; }
.solde .nom svg { width: 16px; height: 16px; }
.solde .valeur { font-size: 30px; font-weight: 740; letter-spacing: -.06em; margin: 6px 0 0; }
.solde .valeur small { font-size: 13px; font-weight: 600; color: var(--doux); letter-spacing: 0; }
.solde .detail { font-size: 12px; color: var(--doux); margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.solde .halo { display: none; }
.jauge { height: 8px; border-radius: 9px; background: #edf0f9; margin-top: 12px; overflow: hidden; display: flex; gap: 3px; }
.jauge i { display: block; height: 100%; border-radius: 9px; }
.kpi { padding: 14px 16px; }
.kpi .nom { font-size: 12px; font-weight: 650; color: var(--doux); display: flex; align-items: center; gap: 8px; }
.kpi .nom svg { width: 16px; height: 16px; }
.kpi b { display: block; font-size: 26px; font-weight: 740; letter-spacing: -.06em; margin-top: 4px; }
.liste { display: flex; flex-direction: column; }
.ligne { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #e9edf7; }
.ligne:last-child { border-bottom: 0; }
.ligne .corps { flex: 1; min-width: 0; }
.ligne .corps b { font-weight: 650; display: block; font-size: 13px; }
.ligne .corps span { font-size: 12px; color: var(--doux); }
.vide { text-align: center; padding: 24px 12px; color: var(--doux); font-size: 13px; }
.vide svg { width: 34px; height: 34px; display: block; margin: 0 auto 8px; opacity: .45; }
.alerte-l { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #e9edf7; font-size: 13px; }
.alerte-l:last-child { border-bottom: 0; }
.alerte-l .p { width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; flex: none; }

.poser { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 15px; align-items: start; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 4px 0 16px; }
.type-choix { border: 1px solid #dae2f4; background: #ffffffc9; border-radius: 12px; padding: 10px 12px; text-align: left; font: 650 13px var(--police); color: #293757; display: flex; align-items: center; gap: 9px; transition: all .15s; }
.type-choix i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.type-choix:hover { background: #fff; border-color: #b7c5ed; }
.type-choix.actif { background: #fff; border-color: var(--c, #354ada); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #354ada) 18%, transparent); }
.demi { display: flex; gap: 16px; margin: -2px 0 12px; flex-wrap: wrap; }
.resume-jours { display: flex; align-items: baseline; gap: 10px; }
.resume-jours b { font-size: 42px; font-weight: 750; letter-spacing: -.06em; }
.controle { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 7px 0; }
.controle .i { width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 800; }
.controle.ok .i { background: #dff4e9; color: #16634c; } .controle.alerte .i { background: #fff0d6; color: #80530d; } .controle.bloquant .i { background: #ffe8ec; color: #9e2c47; }
.circuit { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; margin-top: 6px; }
.circuit span { padding: 4px 9px; border-radius: 8px; background: #e6e9ff; color: #3d45a7; font-weight: 700; }
.circuit em { color: var(--pale); font-style: normal; }

.demande { padding: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.demande .actions { display: flex; flex-direction: column; gap: 8px; min-width: 140px; }
.demande .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--doux); margin-top: 6px; }
.impact { margin-top: 10px; font-size: 12.5px; border: 1px solid #dde4fb; background: #edf1ffc4; border-radius: 12px; padding: 9px 12px; color: #37476e; }

.planning-outils { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.planning-outils .mois { font-weight: 730; font-size: 16px; min-width: 150px; text-align: center; text-transform: capitalize; }
.planning-outils select { width: auto; }
.planning { overflow-x: auto; border-radius: 12px; border: 1px solid #e9edf7; background: #fff; }
.pl { display: grid; min-width: 900px; font-size: 12px; }
.pl .c { height: 40px; border-bottom: 1px solid #eef1f8; border-right: 1px solid #f3f5fa; position: relative; }
.pl .c.we { background: #f5f7fc; }
.pl .c.fe { background: #efeaff; }
.pl .c.bl { background: repeating-linear-gradient(135deg, #fff0f3 0 4px, #fff 4px 8px); }
.pl .c.auj { box-shadow: inset 2px 0 0 #6049df, inset -2px 0 0 #6049df; }
.pl .c.clic { cursor: pointer; } .pl .c.clic:hover { background: #e8edff; }
.pl .tete { height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--doux); font-weight: 600; position: sticky; top: 0; background: #edf2fb; z-index: 2; font-size: 11px; }
.pl .tete b { color: var(--encre); font-size: 13px; }
.pl .tete.auj b { background: linear-gradient(126deg, #354ada, #6049df); color: #fff; border-radius: 7px; padding: 0 6px; }
.pl .nomc { position: sticky; left: 0; z-index: 3; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-weight: 650; font-size: 13px; white-space: nowrap; overflow: hidden; }
.pl .tete.nomc { background: #edf2fb; color: var(--doux); font-size: 11px; }
.pl .nomc.moi { color: #313eb9; }
.pl .serv { grid-column: 1 / -1; padding: 7px 12px; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--doux); background: #f7f9fd; position: sticky; left: 0; border-bottom: 1px solid #eef1f8; }
.barre-abs { position: absolute; top: 8px; bottom: 8px; border-radius: 8px; z-index: 1; display: flex; align-items: center; padding: 0 8px; color: #fff; font-weight: 650; font-size: 11px; overflow: hidden; white-space: nowrap;
  background: linear-gradient(126deg, var(--c), color-mix(in srgb, var(--c) 72%, #fff)); box-shadow: 0 4px 10px -5px var(--c), inset 0 1px #ffffff55; }
.barre-abs.attente { background: repeating-linear-gradient(135deg, #ffffff66 0 5px, transparent 5px 10px), var(--c); opacity: .75; }
.legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; margin-top: 12px; color: var(--doux); }
.legende span { display: inline-flex; gap: 6px; align-items: center; }
.legende i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.defile { overflow-x: auto; }
.tableau { border-collapse: collapse; width: 100%; font-size: 13px; white-space: nowrap; }
.tableau th { padding: 9px 10px; color: var(--doux); background: #edf2fbcc; text-align: left; font-weight: 650; font-size: 11px; }
.tableau th:first-child { border-radius: 8px 0 0 8px; } .tableau th:last-child { border-radius: 0 8px 8px 0; }
.tableau td { padding: 9px 10px; border-bottom: 1px solid #e9edf7; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau tbody tr:hover td { background: #f6f8ff; }
.tableau .n { text-align: right; font-variant-numeric: tabular-nums; }
.lien-doc { color: #3848bc; font-weight: 700; }

.voile { position: fixed; inset: 0; background: #17244850; backdrop-filter: blur(6px); z-index: 50; display: grid; place-items: center; padding: 20px; animation: apparait .2s; }
.fenetre { width: min(94vw, 600px); max-height: 91dvh; overflow-y: auto; padding: 20px 22px; background: #f6f8ff; border: 1px solid #fff; border-radius: 21px; box-shadow: 0 28px 95px #29366c64; }
.fenetre h2 { font-size: 21px; }
.fenetre .pied-f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
@keyframes apparait { from { opacity: 0; } }
.notifs { position: absolute; right: 0; top: 50px; width: 360px; max-height: 70vh; overflow-y: auto; padding: 8px; background: #fbfcff; z-index: 40; }
.notif { padding: 9px 11px; border-radius: 11px; cursor: pointer; font-size: 13px; }
.notif:hover { background: #eef2ff; }
.notif b { display: block; }
.notif.nl { background: #edf1ff; }
.menu-qui { position: absolute; right: 0; top: 50px; width: 220px; padding: 6px; background: #fbfcff; z-index: 40; }
.menu-qui a, .menu-qui button { display: block; width: 100%; text-align: left; padding: 9px 11px; border-radius: 9px; color: var(--encre); font: 600 13px var(--police); border: 0; background: transparent; text-decoration: none !important; }
.menu-qui a:hover, .menu-qui button:hover { background: #eef2ff; }
.toast { position: fixed; bottom: 21px; right: 21px; max-width: min(440px, calc(100vw - 42px)); border: 1px solid #ced8fb; z-index: 99; padding: 12px 16px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #24429030; font-weight: 600; animation: toast .3s; }
.toast.ko { color: #962247; }
@keyframes toast { from { transform: translateY(12px); opacity: 0; } }
.chargement { padding: 20px; color: var(--doux); }
.chargement::before { content: "Chargement…"; }
.vue { animation: entre .3s ease; }
@keyframes entre { from { opacity: .4; transform: translateY(4px); } }
.mobile-menu { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media (max-width: 1150px) {
  .app { grid-template-columns: 215px minmax(0, 1fr); } .barre { padding-inline: 12px; } .entete, .zone { padding-inline: 22px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main, .poser { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: 1fr; padding-top: 46px; } .maquette { transform: none; max-width: 620px; }
  .fonctions, .tarifs { grid-template-columns: 1fr 1fr; } .chiffres { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .barre { display: none; position: fixed; left: 0; top: 0; width: 240px; background: #f9fbfffa; box-shadow: 0 0 0 100vmax #17244835; }
  .barre.ouverte { display: flex; }
  .mobile-menu { display: grid !important; }
  .entete { height: 64px; } .qui > span, .entete .mode { display: none; }
}
@media (max-width: 650px) {
  .zone, .entete { padding-inline: 12px; }
  .banniere { padding: 20px; } .art { right: -216px; opacity: .6; } .banniere-texte { max-width: 100%; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .g-3, .g-2, .grille2, .grille3, .fonctions, .tarifs, .etapes { grid-template-columns: minmax(0, 1fr); }
  .demande { grid-template-columns: 1fr; } .demande .actions { flex-direction: row; }
  .site-nav nav a.lien { display: none; } .tarif.vedette { transform: none; } .mq-notif { display: none; }
  .notifs { width: calc(100vw - 24px); right: -60px; }
}
