/* Arborescence de l'espace, commune à toutes les pages : barre de rubriques, tuiles d'accueil, mot du jour. Couleurs de la charte Fluidpilot. */
/* La présentation de notre intelligence artificielle, à valider une fois */
.ia-pres { width: min(520px, calc(100vw - 32px)); padding: 22px 24px; border: 0; border-top: 4px solid #00D274; border-radius: 14px; background: #FFFFFF; color: #00345E; }
.ia-pres::backdrop { background: rgba(0, 37, 63, .55); }
.ia-pres__titre { margin: 0 0 10px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.ia-pres__texte { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; }
/* Gabarit unique (Thomas, 03/11/2026) : en-tête, barre d'espace, rubriques, contenu et pied partagent la même largeur et les mêmes marges, donc le même bord. Téléphone, PC ordinaire, puis grands écrans */
:root { --largeur-page: 1240px; --marge-page: 24px; --marge-gauche: max(var(--marge-page), env(safe-area-inset-left, 0px)); --marge-droite: max(var(--marge-page), env(safe-area-inset-right, 0px)); }
@media (max-width: 760px) { :root { --marge-page: 16px; } }
@media (min-width: 1700px) { :root { --largeur-page: 1560px; --marge-page: 32px; } }
@media (min-width: 2300px) { :root { --largeur-page: 1960px; } }
@media (min-width: 3000px) { :root { --largeur-page: 2400px; } }
.navigation { position: sticky; top: 0; z-index: 10; background: #FFFFFF; border-bottom: 1px solid #D5DEE6; box-shadow: 0 2px 8px rgba(0, 52, 94, .06); }
.navigation__dedans { max-width: var(--largeur-page); margin: 0 auto; padding: 6px var(--marge-droite) 6px var(--marge-gauche); display: flex; align-items: center; gap: 2px 4px; overflow-x: auto; scrollbar-width: thin; }
/* Chaque rubrique a sa teinte (Thomas, 04/11/2026 : « un peu terne, apporte du dynamisme ») : pastille colorée, survol teinté, rubrique ouverte pleine */
.navigation__lien { --teinte: #00A7FF; --sur-teinte: #00253F; --teinte-fonce: #0079BD; --teinte-pale: #E6F6FF; flex: none; position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 0; border-radius: 11px; background: transparent; color: var(--teinte-fonce); font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 13.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; text-decoration: none; cursor: pointer; transition: color .15s ease, background-color .15s ease, box-shadow .2s ease, transform .15s ease; }
.navigation__lien[data-couleur="vert"] { --teinte: #00D274; --sur-teinte: #00253F; --teinte-fonce: #007A46; --teinte-pale: #E6FAF1; }
.navigation__lien[data-couleur="marine"] { --teinte: #00345E; --sur-teinte: #FFFFFF; --teinte-fonce: #00345E; --teinte-pale: #E4EDF4; }
.navigation__lien[data-couleur="saumon"] { --teinte: #FF6A6E; --sur-teinte: #00253F; --teinte-fonce: #B3261E; --teinte-pale: #FFF0F0; }
.navigation__icone { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--teinte); color: var(--sur-teinte); box-shadow: 0 3px 8px rgba(0, 52, 94, .18); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s ease; }
.navigation__icone svg { width: 16px; height: 16px; }
.navigation__lien:hover { background: var(--teinte-pale); color: var(--teinte-fonce); }
.navigation__lien:hover .navigation__icone { transform: translateY(-1px) rotate(-7deg) scale(1.1); box-shadow: 0 5px 12px rgba(0, 52, 94, .26); }
.navigation__lien[aria-current="page"], .navigation__menu[aria-expanded="true"] { background: var(--teinte); color: var(--sur-teinte); box-shadow: 0 6px 16px rgba(0, 52, 94, .24); }
.navigation__lien[aria-current="page"] .navigation__icone, .navigation__menu[aria-expanded="true"] .navigation__icone { background: rgba(255, 255, 255, .22); box-shadow: none; }
.navigation__lien[aria-current="page"]:hover { color: #FFFFFF; }
.navigation__lien:first-child { margin-left: -11px; } /* la pastille de la première rubrique sur le bord du contenu, comme le logo et la fiche */
@media (prefers-reduced-motion: reduce) { .navigation__lien, .navigation__icone { transition: none; } .navigation__lien:hover .navigation__icone { transform: none; } }
/* L'avis et l'administration à droite, à part du métier */
.navigation__lien--droite { margin-left: auto; }
.navigation__fleche { width: 7px; height: 7px; margin: -3px 1px 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.navigation__menu[aria-expanded="true"] .navigation__fleche { margin-top: 3px; transform: rotate(225deg); }
.navigation__panneau { position: absolute; top: 100%; right: max(var(--marge-droite), calc((100% - var(--largeur-page)) / 2 + var(--marge-page))); z-index: 20; display: grid; gap: 2px; width: min(380px, calc(100vw - 32px)); padding: 8px; border: 1px solid #D5DEE6; border-radius: 14px; background: #FFFFFF; box-shadow: 0 18px 40px rgba(0, 52, 94, .2); animation: fp-apparaitre .16s ease both; }
/* Le panneau ne dépasse jamais l'écran : il défile en lui-même jusqu'à sa dernière entrée (Thomas, 12/11/2026 : « j'arrive même pas à arriver en bas »). Sa position est mesurée à l'ouverture */
.navigation__panneau { max-height: calc(100vh - var(--panneau-haut, 120px) - 12px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.navigation__panneau.cache { display: none; }
.navigation__entree { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; color: #00345E; font-family: 'Montserrat', Arial, Helvetica, sans-serif; text-decoration: none; transition: background-color .12s ease; }
.navigation__entree:hover { background: #E6F6FF; }
.navigation__entree:focus-visible { outline: 3px solid #00A7FF; outline-offset: -3px; }
.navigation__entree[aria-current="page"] { background: #F2FAFF; box-shadow: inset 3px 0 0 #00A7FF; }
.navigation__entree strong { font-size: 14px; font-weight: 800; }
.navigation__entree-icone { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #00345E; color: #FFFFFF; transition: transform .15s ease; }
.navigation__entree:hover .navigation__entree-icone { transform: rotate(-5deg) scale(1.06); }
.navigation__entree--vert .navigation__entree-icone { background: #00D274; color: #00253F; }
.navigation__entree--bleu .navigation__entree-icone { background: #00A7FF; color: #00345E; }
.navigation__entree--saumon .navigation__entree-icone { background: #FF6A6E; color: #00253F; }
/* Ce qui n'est ouvert qu'au super administrateur : une partie à part, encadrée et titrée */
.navigation__partie-super { display: grid; gap: 2px; margin-top: 6px; padding: 8px 4px 4px; border: 2px solid #00A7FF; border-radius: 12px; background: #F2FAFF; }
.badge-super { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; color: #00253F; background: #00A7FF; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 12.5px; font-weight: 800; }
.navigation__partie-titre { padding: 0 8px 4px; color: #00345E; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.navigation__pastille { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: #FF6A6E; color: #00253F; font-size: 11px; font-weight: 800; line-height: 1; vertical-align: 1px; }
.navigation__menu .navigation__pastille { margin-left: 0; animation: fp-pouls 2s ease-in-out 3; }
@keyframes fp-pouls { 50% { transform: scale(1.18); } }
.navigation__entree-detail { color: #4A5A6A; font-size: 12.5px; line-height: 1.35; }
/* Téléphone : le menu ne reste plus collé en haut et se fait fin, l'écran est pour la lecture (Thomas, 03/11/2026) */
@media (max-width: 760px) {
  .navigation { position: relative; }
  .sommaire { top: 0; }
  .navigation__dedans { padding-top: 4px; padding-bottom: 4px; }
  .navigation__lien { padding: 6px 9px; font-size: 12.5px; }
  .navigation__lien:first-child { margin-left: -9px; }
  .navigation__panneau { right: 16px; }
  .navigation__icone { width: 8px; height: 8px; border-radius: 50%; box-shadow: none; }
  .navigation__icone svg { display: none; }
  .navigation__espace { height: 36px; font-size: 12px; }
  .navigation__espace-bouton { min-height: 26px; padding: 2px 10px; }
}
/* PC ordinaire et grand écran : une pastille plus discrète à la place du pictogramme, qui revient sur les très grands écrans */
@media (min-width: 761px) and (max-width: 2299px) {
  .navigation__lien { gap: 6px; padding-left: 8px; padding-right: 8px; font-size: 13px; }
  .navigation__lien:first-child { margin-left: -8px; }
  .navigation__icone { width: 8px; height: 8px; border-radius: 50%; box-shadow: none; }
  .navigation__icone svg { display: none; }
  .navigation__lien:hover .navigation__icone { transform: scale(1.5); box-shadow: none; }
  .navigation__lien[aria-current="page"] .navigation__icone, .navigation__menu[aria-expanded="true"] .navigation__icone { background: #FFFFFF; }
}
@media (min-width: 761px) and (max-width: 1320px) { .navigation__lien { gap: 5px; padding-left: 6px; padding-right: 6px; font-size: 12.5px; } .navigation__lien:first-child { margin-left: -6px; } }
/* Toutes les rubriques restent visibles : sur un PC ordinaire, la barre passe sur deux lignes plutôt que de cacher des rubriques à droite */
@media (min-width: 761px) and (max-width: 1699px) { .navigation__dedans { flex-wrap: wrap; overflow-x: visible; } }
/* Vue du cabinet : la commande reste à sa place, visible et inactive */
.vue-grise, .vue-grise:disabled, .vue-grise:hover { opacity: .5; cursor: not-allowed; filter: grayscale(.7); }
.navigation__lien:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
/* Espace courant d'un salarié du cabinet : fond différent d'un espace à l'autre, pour le reconnaître d'un coup d'œil. Hauteur fixe, reprise par --navigation-espace */
.navigation__espace { position: relative; height: 44px; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; }
.navigation__espace--cabinet { background: linear-gradient(100deg, #00345E 0%, #00466F 42%, #005F6B 74%, #007F5C 100%); color: #FFFFFF; }
.navigation__espace--intervenant { background: linear-gradient(100deg, #E6F6FF 0%, #E8F7F7 55%, #E6FAF1 100%); color: #00345E; }
/* Un filet aux couleurs de la charte, qui glisse lentement */
.navigation__espace::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #00A7FF, #00D274, #FF6A6E, #00A7FF); background-size: 300% 100%; animation: fp-filet 14s linear infinite; }
@keyframes fp-filet { from { background-position: 0 0; } to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .navigation__espace::after { animation: none; } }
.navigation__espace-dedans { display: flex; align-items: center; gap: 10px; height: 100%; max-width: var(--largeur-page); margin: 0 auto; padding-left: var(--marge-gauche); padding-right: var(--marge-droite); }
.navigation__espace-intro { flex: none; }
.navigation__espace-seul { font-weight: 800; }
.navigation__espace-choix { display: flex; gap: 6px; min-width: 0; }
.navigation__espace-bouton { flex: none; min-height: 32px; padding: 4px 12px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; white-space: nowrap; cursor: pointer; }
.navigation__espace-bouton:hover { text-decoration: underline; }
.navigation__espace-bouton:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.navigation__espace-bouton[aria-pressed="true"] { font-weight: 800; cursor: default; text-decoration: none; }
.navigation__espace--cabinet .navigation__espace-bouton[aria-pressed="true"] { background: #FFFFFF; border-color: #FFFFFF; color: #00345E; }
.navigation__espace--intervenant .navigation__espace-bouton[aria-pressed="true"] { background: #00345E; border-color: #00345E; color: #FFFFFF; }
@media (max-width: 560px) { .navigation__espace-intro { display: none; } .navigation__espace-bouton { padding: 4px 10px; } }

.mot-jour { position: relative; margin: 0 0 22px; padding: 16px 18px 16px 56px; border-radius: 14px; background: #E6F6FF; border: 1px solid #BDE6FF; color: #00345E; font-size: 16px; font-weight: 600; line-height: 1.5; animation: fp-apparaitre .35s ease both; }
.mot-jour__action { display: inline-block; margin-left: 10px; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #FFFFFF; background: #00345E; text-decoration: none; white-space: nowrap; }
.mot-jour__action:hover { color: #FFFFFF; background: #0B6FB8; }
.alerte-comites { margin: 0 0 16px; padding: 14px 18px; border: 1px solid #F2C27A; border-left: 6px solid #E08A00; border-radius: 12px; color: #5C3300; background: #FFF4E0; }
.alerte-comites__titre { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #5C3300; }
.alerte-comites__liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.alerte-comites__liste strong { font-weight: 800; }
.alerte-comites__action { display: inline-flex; align-items: center; min-height: 34px; margin-left: 10px; padding: 5px 12px; border: 0; border-radius: 8px; background: #5C3300; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.alerte-comites__action:hover { background: #7A4500; }
.alerte-comites__action:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.alerte-comites__liste a { margin-left: 6px; font-weight: 700; color: #5C3300; white-space: nowrap; }
.affaire__association { display: block; font-size: 11.5px; font-weight: 600; color: #4A5A6A; }
.affaire__alerte { margin: 10px 0 0; padding: 9px 12px; border-left: 4px solid #E08A00; border-radius: 8px; color: #5C3300; background: #FFF4E0; font-size: 13.5px; line-height: 1.45; }
.changements { margin: 0 0 18px; padding: 16px 18px; border: 1px solid #BDE6FF; border-radius: 14px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 52, 94, .06); animation: fp-apparaitre .35s ease both; }
.changements__titre { margin: 0; color: #00345E; font-size: 17px; font-weight: 800; }
.changements__intro { margin: 2px 0 10px; color: #4A5A6A; font-size: 13.5px; }
.changements__liste { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.changement { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 12px; border-left: 4px solid #00A7FF; border-radius: 8px; background: #F2FAFF; color: #00345E; font-size: 14px; line-height: 1.45; transition: opacity .25s ease; }
.changement--lu { opacity: 0; }
.changement__textes { display: grid; gap: 2px; min-width: 0; }
.changement__titre { font-weight: 800; overflow-wrap: anywhere; }
.changement__raison { color: #4A5A6A; font-size: 13px; }
.signalement__actions { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.changement__suivi { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.changement__etat { padding: 3px 9px; border-radius: 999px; background: #FFF1BF; font-size: 12.5px; font-weight: 700; }
.changement__etat--fait { background: #E6FAF1; }
.changement__etat--non { background: #FFE9EA; color: #8F1C21; }
.changement__voir { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; min-height: 36px; margin-top: 8px; padding: 6px 14px; border: 0; border-radius: 8px; background: #00345E; color: #FFFFFF; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.changement__voir:hover { background: #004A85; }
.changement__voir:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.changement__coche { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid #00A7FF; border-radius: 999px; background: #FFFFFF; color: #00345E; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.changement__coche:hover { background: #E6F6FF; }
.changement__coche input { width: 16px; height: 16px; margin: 0; accent-color: #00D274; cursor: pointer; }
.changements__autres { margin: 10px 0 0; font-size: 13.5px; }
.changements__autres a { color: #00345E; font-weight: 700; }
.document__lien { display: grid; gap: 6px; justify-items: end; }
/* Favoris, côté intervenant comme côté cabinet (Thomas, 08/11/2026 : « fais du beau du fun du pro ») : un bandeau étoilé qui compte, des cartes qui se soulèvent, des documents lisibles. Mouvement coupé si la personne l'a demandé */
.fav { display: grid; gap: 26px; margin-top: 18px; }
.fav__hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 2.6vw, 32px) clamp(20px, 3vw, 38px); border-radius: 20px; color: #FFFFFF; background: radial-gradient(520px 260px at 92% 0, rgba(0, 167, 255, .42), rgba(0, 167, 255, 0) 70%), radial-gradient(420px 220px at 0 115%, rgba(0, 210, 116, .24), rgba(0, 210, 116, 0) 70%), linear-gradient(135deg, #00345E 0%, #002746 100%); box-shadow: 0 16px 36px rgba(0, 52, 94, .2); }
.fav__ciel { position: absolute; inset: 0; pointer-events: none; }
.fav__ciel i { position: absolute; color: #FFFFFF; font-size: 11px; font-style: normal; line-height: 1; opacity: .2; animation: fav-scintille 3.6s ease-in-out infinite; }
.fav__ciel i:nth-child(1) { top: 14%; left: 44%; }
.fav__ciel i:nth-child(2) { top: 68%; left: 36%; font-size: 8px; animation-delay: .7s; }
.fav__ciel i:nth-child(3) { top: 26%; left: 58%; font-size: 14px; animation-delay: 1.4s; }
.fav__ciel i:nth-child(4) { top: 76%; left: 54%; animation-delay: 2.1s; }
.fav__ciel i:nth-child(5) { top: 10%; left: 72%; font-size: 8px; animation-delay: .35s; }
.fav__ciel i:nth-child(6) { top: 82%; left: 16%; font-size: 9px; animation-delay: 1.8s; }
.fav__ciel i:nth-child(7) { top: 12%; left: 92%; font-size: 12px; animation-delay: 2.6s; }
.fav__hero-texte { position: relative; flex: 1 1 280px; min-width: 0; }
.fav__hero-titre { display: flex; align-items: center; gap: 12px; margin: 0; color: #FFFFFF; font-size: clamp(23px, 2.3vw, 29px); font-weight: 800; line-height: 1.2; }
.fav__hero-etoile { display: inline-block; color: #FFE066; font-size: 1.1em; line-height: 1; animation: fav-eclot .7s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.fav__hero-phrase { margin: 10px 0 0; color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.5; }
.fav__stats { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fav__stat { display: grid; justify-items: center; min-width: 92px; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: rgba(255, 255, 255, .09); }
.fav__stat strong { color: #FFFFFF; font-size: 27px; font-weight: 800; line-height: 1.1; }
.fav__stat span { color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; }
.fav__stat--vif { border-color: #FF6A6E; background: rgba(255, 106, 110, .18); }
.fav__bloc { display: grid; gap: 12px; }
.fav__titre { margin: 0; color: #00345E; font-size: 16px; font-weight: 800; }
.fav__entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.fav__classement { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid #E1E8EE; border-radius: 18px; background: #FFFFFF; }
.fav__classement button { padding: 5px 13px; border: 0; border-radius: 999px; background: none; color: #4A5A6A; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.fav__classement button:hover { background: #F2FAFF; color: #00345E; }
.fav__classement button[aria-pressed="true"] { background: #00345E; color: #FFFFFF; }
.fav__classement button:focus-visible { outline: 2px solid #00A7FF; outline-offset: 1px; }
.fav-groupe__compte { flex: none; margin-left: auto; padding: 0 9px; border-radius: 999px; background: #FFFFFF; font-size: 12.5px; font-weight: 800; line-height: 1.7; }
.fav-groupe__etoile { margin-right: 7px; color: #00A7FF; font-size: 16px; line-height: 1; }
.fav-doc__titres { display: grid; flex: 1 1 220px; gap: 2px; min-width: 0; }
.fav-doc__entreprise { color: #5B6B7B; font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.fav__niveau--aucun { color: #4A5A6A; background: #FFFFFF; }
.fav__niveau--aucun::before { background: #C4D0DA; }
.fav__affaires { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.fav-carte { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 44px 16px 16px; border: 1px solid #E1E8EE; border-radius: 16px; background: #FFFFFF; color: #00345E; text-decoration: none; box-shadow: 0 1px 2px rgba(0, 52, 94, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; animation: fav-monte .42s ease-out backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.fav-carte:hover { transform: translateY(-3px); border-color: #00A7FF; box-shadow: 0 14px 28px rgba(0, 52, 94, .13); }
.fav-carte:focus-visible, .fav-doc:focus-visible, .fav-groupe__tete:focus-visible { outline: 2px solid #00A7FF; outline-offset: -2px; }
.fav-mono { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: #00345E; color: #FFFFFF; font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.fav-mono--petit { width: 36px; height: 36px; border-radius: 11px; font-size: 13px; }
.fav-carte__corps { display: grid; gap: 7px; min-width: 0; }
.fav-carte__nom { font-size: 15.5px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.fav-carte__infos { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
.fav-carte__etape { padding: 2px 9px; border-radius: 999px; background: #F2FAFF; font-size: 12px; font-weight: 700; }
.fav-carte__date { color: #5B6B7B; font-size: 12.5px; }
.fav-carte__rebours { padding: 2px 9px; border-radius: 999px; background: #00D274; color: #00253F; font-size: 12px; font-weight: 800; }
.fav-carte__etoile { position: absolute; top: 14px; right: 14px; color: #00A7FF; font-size: 18px; line-height: 1; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.fav-carte:hover .fav-carte__etoile { transform: rotate(72deg) scale(1.25); }
.fav__groupes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 14px; align-items: start; }
.fav-groupe { overflow: hidden; border: 1px solid #E1E8EE; border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 52, 94, .05); animation: fav-monte .42s ease-out backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.fav-groupe__tete { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #F2FAFF; color: #00345E; text-decoration: none; }
.fav-groupe__nom { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 800; overflow-wrap: anywhere; }
.fav-groupe__voir { flex: none; color: #0B6FB8; font-size: 12.5px; font-weight: 700; }
.fav-groupe__tete:hover .fav-groupe__voir { text-decoration: underline; }
.fav__liste { margin: 0; padding: 0; list-style: none; }
.fav__liste li + li { border-top: 1px solid #EEF3F7; }
.fav-doc { display: flex; align-items: center; gap: 13px; padding: 12px 16px; color: #00345E; text-decoration: none; transition: background-color .15s ease; }
.fav-doc:hover { background: #F2FAFF; }
.fav-doc--haute { box-shadow: inset 3px 0 0 #FF6A6E; }
.fav-doc__tuile { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: #EEF3F7; color: #00345E; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; transition: transform .2s ease; }
.fav-doc:hover .fav-doc__tuile { transform: rotate(-4deg) scale(1.06); }
.fav-doc__tuile--pdf { background: #FF6A6E; color: #00253F; }
.fav-doc__tuile--word { background: #00A7FF; color: #00253F; }
.fav-doc__tuile--excel { background: #00D274; color: #00253F; }
.fav-doc__tuile--ppt { background: #00345E; color: #FFFFFF; }
.fav-doc__etoile { position: absolute; top: -5px; right: -5px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; color: #00A7FF; font-size: 12px; letter-spacing: 0; line-height: 1; box-shadow: 0 1px 3px rgba(0, 52, 94, .28); }
.fav-doc__corps { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; min-width: 0; }
.fav-doc__nom { min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.fav__fleche { flex: none; color: #00A7FF; font-size: 17px; font-weight: 800; opacity: .55; transition: transform .18s ease, opacity .18s ease; }
.fav-doc:hover .fav__fleche { opacity: 1; transform: translateX(3px); }
.fav__niveau { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.5; }
.fav__niveau::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fav__niveau--haute { color: #8F1C21; background: #FFE9EA; }
.fav__niveau--moyenne { color: #8A4B00; background: #FFF1DC; }
.fav__niveau--faible { color: #4A5A6A; background: #EEF3F7; }
.fav__vide, .fav__note { margin: 0; color: #5B6B7B; font-size: 13.5px; line-height: 1.5; }
.fav__vide-bloc { display: grid; justify-items: center; gap: 8px; padding: clamp(32px, 5vw, 56px) 20px; border: 1px solid #E1E8EE; border-radius: 20px; background: #FFFFFF; text-align: center; }
.fav__vide-etoile { color: #00A7FF; font-size: 56px; line-height: 1; animation: fav-flotte 3.2s ease-in-out infinite; }
.fav__vide-titre { margin: 4px 0 0; color: #00345E; font-size: 19px; font-weight: 800; }
.fav__vide { max-width: 54ch; }
@keyframes fav-monte { from { opacity: 0; transform: translateY(10px); } }
@keyframes fav-eclot { from { opacity: 0; transform: scale(.3) rotate(-60deg); } }
@keyframes fav-scintille { 50% { opacity: .75; transform: scale(1.2); } }
@keyframes fav-flotte { 50% { transform: translateY(-8px) rotate(10deg); } }
@media (max-width: 560px) { .fav__stats { width: 100%; } .fav__stat { flex: 1 1 0; min-width: 0; padding: 9px 6px; } .fav-groupe__voir { display: none; } }
@media (prefers-reduced-motion: reduce) { .fav__ciel i, .fav__hero-etoile, .fav-carte, .fav-groupe, .fav__vide-etoile, .fav-carte__etoile, .fav-doc__tuile, .fav__fleche { animation: none; transition: none; } .fav-carte:hover, .fav-carte:hover .fav-carte__etoile, .fav-doc:hover .fav-doc__tuile, .fav-doc:hover .fav__fleche { transform: none; } }
.etoile-affaire { flex: none; margin-left: auto; padding: 0 2px; border: 0; background: none; color: #00345E; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.etoile-affaire--active { color: #00A7FF; }
.etoile-affaire:focus-visible { outline: 2px solid #00A7FF; outline-offset: 1px; }
.etoile-affaire:disabled { opacity: .5; cursor: wait; }
.ec-ligne { display: flex; align-items: center; gap: 6px; }
.ec-ligne > a { flex: 1 1 auto; min-width: 0; }
.ec-ligne > .etoile-affaire { margin-left: 0; }
.ec-favoris-bouton { justify-self: start; padding: 5px 12px; border: 1px solid #00345E; border-radius: 999px; background: #FFFFFF; color: #00345E; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.ec-favoris-bouton[aria-pressed="true"] { background: #00345E; color: #FFFFFF; }
.decompte { display: inline-flex; align-items: center; gap: 8px; color: #00345E; font-size: 12.5px; font-weight: 700; text-align: right; }
.decompte__barre { flex: none; width: 56px; height: 6px; overflow: hidden; border-radius: 3px; background: #D5DEE6; }
.decompte__plein { display: block; height: 100%; border-radius: 3px; background: #00D274; }
.decompte--orange .decompte__plein { background: #E08A00; }
.decompte--rouge .decompte__plein { background: #FF6A6E; }
.decompte--rouge { color: #A5252A; }
.decompte--fin { color: #5C3300; font-weight: 600; }
@media (max-width: 560px) { .changement { flex-direction: column; } .document__lien { justify-items: start; } }
.analyse { margin: 14px 0; padding: 16px; border: 1px solid #D5DEE6; border-radius: 14px; background: #FFFFFF; color: #00345E; }
.analyse__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.analyse__grand-titre { margin: 0; font-size: 17px; font-weight: 800; color: #00345E; }
.analyse__avancement { color: #4A5A6A; font-size: 13px; font-weight: 700; }
.analyse__avis { margin: 4px 0 12px; color: #4A5A6A; font-size: 13px; line-height: 1.45; }
.analyse__synthese { margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid #00A7FF; border-radius: 8px; background: #F2FAFF; font-size: 14px; line-height: 1.5; }
.analyse__titre { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: #00345E; }
.analyse__synthese p { margin: 0 0 8px; }
.analyse__liste { margin: 8px 0; font-size: 14px; line-height: 1.5; }
.analyse__liste ul { margin: 3px 0 0; padding-left: 18px; }
.analyse__date { color: #5B6B7B; font-size: 12.5px; }
.analyse__pieces { display: grid; gap: 6px; }
.analyse__piece { border: 1px solid #E3EAF0; border-radius: 10px; background: #FFFFFF; }
.analyse__piece[open] { border-color: #BDE6FF; }
.analyse__piece summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 9px 12px; cursor: pointer; font-size: 14px; }
.analyse__piece summary:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; border-radius: 8px; }
.analyse__piece-nom { flex: 1 1 180px; font-weight: 700; }
.analyse__pastille { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.analyse__pastille--bon { background: #DDF7E9; color: #00663A; }
.analyse__pastille--moyen { background: #FFF1DC; color: #8A4B00; }
.analyse__pastille--faible { background: #FFE4E4; color: #A5252A; }
.analyse__pastille--neutre { background: #EEF2F5; color: #4A5A6A; }
.analyse__corps { padding: 0 12px 12px; font-size: 14px; line-height: 1.5; }
.analyse__corps p { margin: 0 0 8px; }
.analyse__fichier { color: #5B6B7B; font-size: 12.5px; overflow-wrap: anywhere; }
.analyse__actualiser { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.analyse__compteur { color: #4A5A6A; font-size: 12.5px; font-weight: 700; }
.analyse__avertissement { flex-basis: 100%; margin: 2px 0 0; padding: 8px 12px; border-left: 3px solid #00A7FF; border-radius: 0 8px 8px 0; background: #E6F6FF; color: #00345E; font-size: 13px; line-height: 1.45; }
.mot-jour::before { content: ""; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 6px; background: #00A7FF; box-shadow: 8px 8px 0 -3px #00D274; }

.tuiles-accueil { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0 0 12px; }
.tuile-accueil { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 148px; padding: 16px; overflow: hidden; border: 1px solid #D5DEE6; border-radius: 14px; background: #FFFFFF; color: #00345E; text-decoration: none; box-shadow: 0 1px 2px rgba(0, 52, 94, .06); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; animation: fp-apparaitre .35s ease both; }
.tuile-accueil:hover { transform: translateY(-3px); border-color: #00A7FF; box-shadow: 0 10px 24px rgba(0, 52, 94, .13); }
.tuile-accueil:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.tuile-accueil__icone { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: #FFFFFF; transition: transform .15s ease; }
.tuile-accueil:hover .tuile-accueil__icone { transform: rotate(-5deg) scale(1.07); }
.tuile-accueil--vert .tuile-accueil__icone { background: #00D274; color: #00253F; }
.tuile-accueil--bleu .tuile-accueil__icone { background: #00A7FF; color: #00345E; }
.tuile-accueil--saumon .tuile-accueil__icone { background: #FF6A6E; color: #00253F; }
.tuile-accueil--marine .tuile-accueil__icone { background: #00345E; }
.tuile-accueil__titre { font-size: 15px; font-weight: 800; }
.tuile-accueil__valeur { font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tuile-accueil__detail { color: #4A5A6A; font-size: 13px; line-height: 1.35; }
.tuile-accueil__alerte { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: #FFF1DC; color: #8A4B00; font-size: 12px; font-weight: 700; }

.hors-rubrique { display: none !important; }
a.marque { color: inherit; text-decoration: none; }
.encadre { margin: 0 0 12px; padding: 12px 14px; background: var(--bleu-pale, #E6F6FF); border-left: 4px solid var(--bleu, #00A7FF); border-radius: 8px; font-size: 14px; }
.encadre ul { margin: 4px 0 0; padding-left: 18px; }
.bandeau-vue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px max(var(--marge-gauche), calc((100% - var(--largeur-page)) / 2 + var(--marge-page))); background: #FFF1DC; border-bottom: 2px solid #E6A23C; color: #5F3500; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; }
.bandeau-vue a { color: #00345E; }
/* Fipa à l'arrêt : Mistral refuse tout (plafond de dépense, paiement, clé). Saumon de la charte, texte foncé lisible */
.bandeau-fipa { padding: 12px max(var(--marge-gauche), calc((100% - var(--largeur-page)) / 2 + var(--marge-page))); background: #FFE4E5; border-bottom: 3px solid #FF6A6E; color: #6B1316; font-family: 'Montserrat', Arial, Helvetica, sans-serif; }
.bandeau-fipa__titre { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.bandeau-fipa__texte { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.45; }
/* Le logo ramène à l'accueil */
.barre-marque__accueil { display: inline-flex; align-items: center; gap: 12px; border-radius: 8px; text-decoration: none; transition: opacity .15s ease; }
.barre-marque__accueil:hover { opacity: .78; }
.barre-marque__accueil:focus-visible { outline: 3px solid #00A7FF; outline-offset: 3px; }
@keyframes fp-apparaitre { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Menu du clic droit et ses fenêtres (menu-contextuel.js) */
.fp-menu { position: fixed; z-index: 9000; display: grid; gap: 1px; width: min(310px, calc(100vw - 16px)); padding: 6px; border: 1px solid #D5DEE6; border-radius: 12px; background: #FFFFFF; color: #00345E; font-family: 'Montserrat', Arial, Helvetica, sans-serif; box-shadow: 0 18px 44px rgba(0, 52, 94, .26); animation: fp-apparaitre .12s ease both; }
.fp-menu__entree { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 1px 9px; width: 100%; padding: 7px 9px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 13.5px; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .1s ease; }
.fp-menu__entree:hover, .fp-menu__entree:focus { background: #E6F6FF; color: #00345E; outline: none; }
.fp-menu__entree:focus-visible { box-shadow: inset 0 0 0 2px #00A7FF; }
.fp-menu__entree--principale { background: #00345E; color: #FFFFFF; }
.fp-menu__entree--principale:hover, .fp-menu__entree--principale:focus { background: #004A85; color: #FFFFFF; }
.fp-menu__picto { display: inline-flex; align-items: center; justify-content: center; grid-row: span 2; }
.fp-menu__apercu { grid-column: 2; overflow: hidden; font-size: 11.5px; font-weight: 500; opacity: .82; white-space: nowrap; text-overflow: ellipsis; }
.fp-menu__trait { height: 1px; margin: 4px 6px; background: #E3EAF0; }
.fp-menu__zone { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0; padding: 4px 9px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.fp-menu__zone--intervenant { color: #00253F; background: #00A7FF; }
.fp-menu__zone--cabinet { margin-top: 6px; color: #FFFFFF; background: #00345E; }
.fp-menu__ici { flex: none; padding: 1px 7px; border-radius: 999px; color: #00253F; background: #FFFFFF; font-size: 10.5px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.fp-menu__aide { margin: 4px 9px 2px; color: #5B6B7B; font-size: 11.5px; line-height: 1.3; }
.fp-ciblee { outline: 2px dashed #00A7FF !important; outline-offset: 2px; border-radius: 4px; }
.fp-fenetre { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 16px; background: #FFFFFF; color: #00345E; font-family: 'Montserrat', Arial, Helvetica, sans-serif; box-shadow: 0 24px 60px rgba(0, 37, 63, .38); }
.fp-fenetre::backdrop { background: rgba(0, 37, 63, .5); }
.fp-fenetre__tete { padding: 14px 18px; color: #FFFFFF; background: radial-gradient(360px 120px at 92% -30%, rgba(0, 167, 255, .45), transparent 70%), linear-gradient(115deg, #00345E, #0B4A7D); }
.fp-fenetre__tete h2 { margin: 0; color: #FFFFFF; font-size: 18px; font-weight: 800; }
.fp-fenetre__tete p { margin: 2px 0 0; color: rgba(255, 255, 255, .85); font-size: 12.5px; line-height: 1.4; }
.fp-fenetre__corps { display: grid; gap: 12px; padding: 14px 18px 16px; }
.fp-fenetre fieldset { margin: 0; padding: 0; border: 0; }
.fp-fenetre legend, .fp-champ > span { padding: 0; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.fp-choix { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-choix label { cursor: pointer; }
.fp-choix input { position: absolute; opacity: 0; pointer-events: none; }
.fp-choix span { display: inline-block; padding: 5px 11px; border: 1px solid #00345E; border-radius: 999px; font-size: 12.5px; font-weight: 700; transition: background-color .1s ease, color .1s ease; }
.fp-choix span:hover { background: #E6F6FF; }
.fp-choix input:checked + span { background: #00345E; color: #FFFFFF; }
.fp-choix input:focus-visible + span { outline: 3px solid #00A7FF; outline-offset: 2px; }
.fp-champ { display: grid; }
.fp-champ textarea { width: 100%; min-height: 70px; padding: 8px 10px; border: 1px solid #A7B4C0; border-radius: 8px; color: #00345E; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.4; resize: vertical; }
.fp-champ textarea:focus { border-color: #00A7FF; outline: 3px solid rgba(0, 167, 255, .25); }
.fp-note { margin: 0; color: #5B6B7B; font-size: 12px; line-height: 1.4; }
.fp-lien { justify-self: start; padding: 0; border: 0; background: none; color: #00345E; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fp-lien:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.fp-fenetre--cachee { display: none; }
.fp-capture { display: grid; gap: 7px; padding: 10px 12px; border: 1px dashed #A7B4C0; border-radius: 10px; background: #F4F7FA; }
.fp-capture__titre { font-size: 13px; font-weight: 700; }
.fp-capture__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fp-capture__coller { color: #5B6B7B; font-size: 12px; }
.fp-capture__fichier { position: relative; cursor: pointer; }
.fp-capture__fichier input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fp-capture__scene { display: grid; gap: 8px; min-width: 0; }
/* Avec une capture, la fenêtre prend presque tout l'écran : l'image devant, le formulaire à côté */
.fp-fenetre--capture { width: min(1500px, calc(100vw - 24px)); }
@media (min-width: 900px) {
  .fp-fenetre--capture form { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .fp-fenetre--capture form > * { grid-column: 1; min-width: 0; }
  .fp-fenetre--capture form > .fp-capture { grid-column: 2; grid-row: 1 / span 7; }
}
.fp-capture__plan { position: relative; display: flex; justify-content: center; min-width: 0; overflow: hidden; border-radius: 8px; background: #E4EAF0; }
.fp-capture__toile { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 250px); border: 2px solid #00A7FF; border-radius: 8px; cursor: crosshair; touch-action: none; }
.fp-capture__repere { position: absolute; top: 12px; left: 50%; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); margin: 0; padding: 7px 15px; border-radius: 999px; color: #00253F; background: #00A7FF; box-shadow: 0 6px 18px rgba(0, 52, 94, .35); font-size: 13.5px; font-weight: 800; pointer-events: none; transform: translateX(-50%); animation: fp-repere 1.6s ease-in-out infinite; }
@keyframes fp-repere { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-3px); } }
.fp-capture__crayon { font-size: 16px; line-height: 1; }
.fp-capture__outil { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; padding: 5px 12px; border-radius: 999px; color: #FFFFFF; background: #00345E; font-size: 12.5px; font-weight: 800; }
.fp-capture__outil .fp-capture__crayon { color: #FF6A6E; }
@media (max-width: 899px) {
  .fp-fenetre--capture form > .fp-capture { order: -1; padding: 8px; }
  .fp-capture__scene .fp-capture__actions .fp-bouton { padding: 6px 10px; font-size: 12.5px; }
  .fp-capture__outil { flex-basis: 100%; justify-content: center; margin-right: 0; }
  .fp-capture__plan { flex-direction: column; gap: 6px; overflow: visible; background: transparent; }
  .fp-capture__repere { position: static; order: -1; justify-content: center; max-width: none; padding: 6px 10px; border-radius: 8px; box-shadow: none; font-size: 12.5px; text-align: center; transform: none; animation: none; }
  .fp-capture__toile { align-self: center; max-height: 60vh; }
}
@media (prefers-reduced-motion: reduce) { .fp-capture__repere { animation: none; } }
.fp-mes__capture { display: block; max-width: 220px; }
.fp-mes__capture img { display: block; width: 100%; height: auto; border: 1px solid #D5DEE6; border-radius: 8px; }
.fp-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.fp-bouton { min-height: 38px; padding: 7px 15px; border-radius: 8px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.fp-bouton:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.fp-bouton:disabled { opacity: .55; cursor: not-allowed; }
.fp-bouton--principal { border: 1px solid #00345E; background: #00345E; color: #FFFFFF; }
.fp-bouton--principal:hover:not(:disabled) { background: #004A85; }
.fp-bouton--discret { border: 1px solid #00345E; background: #FFFFFF; color: #00345E; }
.fp-bouton--discret:hover { background: #E6F6FF; }
.fp-erreur { margin: 0; padding: 8px 11px; border-left: 4px solid #FF6A6E; border-radius: 8px; background: #FFE9EA; color: #8F1C21; font-size: 13px; font-weight: 700; }
.fp-merci { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; text-align: center; animation: fp-apparaitre .25s ease both; }
.fp-merci__pastille { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: #00D274; color: #00253F; font-size: 28px; font-weight: 800; }
.fp-merci strong { font-size: 16px; font-weight: 800; }
.fp-merci span { color: #4A5A6A; font-size: 13.5px; line-height: 1.4; }
.fp-score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 12px; border-radius: 10px; background: #E6FAF1; font-size: 13.5px; font-weight: 700; }
.fp-score strong { font-size: 22px; font-weight: 800; }
.fp-mes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-mes li { display: grid; gap: 3px; padding: 9px 11px; border-radius: 10px; background: #F4F7FA; font-size: 13px; line-height: 1.4; }
.fp-mes__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; color: #5B6B7B; font-size: 12px; }
.fp-etat { padding: 2px 9px; border-radius: 999px; background: #EEF2F5; color: #4A5A6A; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.fp-etat--corrige { background: #E6FAF1; color: #00663A; }
.fp-mes__reponse { padding-left: 8px; border-left: 3px solid #00A7FF; font-weight: 700; }
.fp-astuce { position: fixed; left: 50%; bottom: 18px; z-index: 8000; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 24px); padding: 10px 14px; border-radius: 12px; background: #00345E; color: #FFFFFF; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; line-height: 1.35; box-shadow: 0 14px 34px rgba(0, 37, 63, .35); transform: translateX(-50%); animation: fp-monter .3s ease both; }
.fp-astuce button { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #FFFFFF; font: inherit; font-size: 15px; cursor: pointer; }
@keyframes fp-monter { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.fp-flottant { display: none; }
/* Téléphone : pas de clic droit. L'appui long ouvre le même menu, et ce petit bouton le rend visible */
@media (hover: none) and (pointer: coarse) { .fp-flottant { position: fixed; right: 12px; bottom: 12px; z-index: 7000; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #00345E; color: #FFFFFF; font-size: 20px; font-weight: 800; line-height: 1; opacity: .82; box-shadow: 0 6px 16px rgba(0, 37, 63, .32); } }
@media (prefers-reduced-motion: reduce) { .fp-menu, .fp-merci, .fp-astuce, .navigation__menu .navigation__pastille { animation: none; } }
@media (prefers-reduced-motion: reduce) { .tuile-accueil, .mot-jour, .navigation__lien,.navigation__lien::after, .navigation__lien svg, .navigation__panneau, .navigation__entree-icone, .tuile-accueil__icone { animation: none; transition: none; } .tuile-accueil:hover, .navigation__lien:hover svg, .navigation__entree:hover .navigation__entree-icone { transform: none; } }

/* Les onglets d'une rubrique : « Mes affaires », en cours, échéances, charge */
.rubrique-onglets { display: flex; flex-wrap: wrap; gap: 2px; margin: 4px 0 16px; border-bottom: 2px solid #E1E8EE; font-family: 'Montserrat', Arial, Helvetica, sans-serif; }
/* Onglets de « Mes évaluations » posés en haut d'une page à bandeau plein écran : alignés sur le contenu */
.eval-onglets { max-width: var(--largeur-page, 1240px); margin: 0 auto; padding: 14px var(--marge-droite, 16px) 0 var(--marge-gauche, 16px); }
.eval-onglets .rubrique-onglets { margin: 0 0 14px; }
.rubrique-onglet, .rubrique-onglet:visited { margin-bottom: -2px; padding: 10px 16px; border-bottom: 3px solid transparent; color: #4A5A6A; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.rubrique-onglet:hover { color: #00345E; }
.rubrique-onglet[aria-current="page"], .rubrique-onglet[aria-current="page"]:visited { border-bottom-color: #00D274; color: #00345E; font-weight: 800; }
.rubrique-onglet:focus-visible { border-radius: 8px; outline: 3px solid #00A7FF; outline-offset: -3px; }
@media (max-width: 640px) { .rubrique-onglet { padding: 9px 10px; font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .rubrique-onglet { transition: none; } }

/* Mode projet : écriture arrêtée, dit clairement sur toutes les pages */
.fp-mode-projet { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 1000; max-width: 520px; margin-left: auto; padding: 12px 16px; border-left: 4px solid #00A7FF; border-radius: 10px; background: #00345E; color: #FFFFFF; font-size: 14px; font-weight: 600; line-height: 1.45; box-shadow: 0 10px 30px rgba(0, 52, 94, .3); }

/* Vue du cabinet : la zone se voit telle quelle, seul le geste est grisé */
.vue-grise-zone { opacity: .55; filter: grayscale(.6); cursor: not-allowed; }

/* Les sources dans WorkDrive, en bas de page, et le logo WorkDrive à côté du mot (Thomas, 06/11/2026) */
.wd-logo .wd::before { content: ''; display: inline-block; flex: none; width: 1.2em; height: 1.2em; margin-right: .45em; vertical-align: -.22em; background: url('/server/portail/images/logo-workdrive.png') center / contain no-repeat; }
.sources-wd { display: grid; gap: 8px; margin: 28px 0 8px; padding: 16px 18px; border: 1px solid #D5DEE6; border-radius: 14px; color: #00345E; background: #FFFFFF; }
.sources-wd__titre { margin: 0; font-size: 15px; font-weight: 800; }
.sources-wd__note { margin: 0; color: #4A5A6A; font-size: 13px; line-height: 1.45; }
.sources-wd__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px 18px; margin: 4px 0 0; padding: 0; list-style: none; }
.sources-wd__dossier { display: grid; gap: 2px; min-width: 0; }
.sources-wd__lien { width: fit-content; max-width: 100%; color: #00345E; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sources-wd__lien:hover { color: #0077B8; }
.sources-wd__lien:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; border-radius: 4px; }
.sources-wd__aide { color: #4A5A6A; font-size: 12.5px; line-height: 1.4; }
/* Le logo Zoho CRM à côté de « Ouvrir la fiche CRM » (Thomas, 06/11/2026) */
.crm-logo .crm::before { content: ''; display: inline-block; flex: none; width: 1.2em; height: 1.2em; margin-right: .45em; vertical-align: -.22em; background: url('/server/portail/images/logo-crm.png') center / contain no-repeat; }

/* Nos intervenants (Thomas, 06/11/2026) : cinq grandes rubriques visibles, jamais de petits onglets ; la barre Mistral dessous */
.int-rubriques { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; margin: 0 0 12px; border: 0; font-family: 'Montserrat', Arial, Helvetica, sans-serif; }
.int-rubrique { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid #D5DEE6; border-radius: 16px; color: #00345E; background: #FFFFFF; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 52, 94, .05); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.int-rubrique:hover { border-color: #00A7FF; box-shadow: 0 8px 20px rgba(0, 52, 94, .12); transform: translateY(-2px); }
.int-rubrique:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.int-rubrique__icone { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; color: #00253F; background: #00D274; }
.int-rubrique__icone svg { width: 22px; height: 22px; }
.int-rubrique--releve .int-rubrique__icone { background: #00A7FF; }
.int-rubrique--criteres .int-rubrique__icone { background: #FFD166; }
.int-rubrique--acces .int-rubrique__icone { color: #FFFFFF; background: #00345E; }
.int-rubrique--entreprises .int-rubrique__icone { background: #FF6A6E; }
.int-rubrique__textes { display: grid; gap: 2px; min-width: 0; }
.int-rubrique__textes strong { font-size: 15px; font-weight: 800; line-height: 1.2; }
.int-rubrique__textes span { color: #4A5A6A; font-size: 12px; line-height: 1.35; }
.int-rubrique[aria-current="page"] { border-color: transparent; color: #FFFFFF; background: radial-gradient(360px 140px at 100% -30%, rgba(0, 167, 255, .45), transparent 70%), linear-gradient(115deg, #00345E 0%, #00345E 60%, #0B4A7D 100%); box-shadow: 0 10px 24px rgba(0, 52, 94, .25); }
.int-rubrique[aria-current="page"] .int-rubrique__textes span { color: #D5E9F7; }
.int-barre { margin: 0 0 14px; }
/* La barre Mistral de la rubrique : claire et bien visible sur la page, pleine largeur (celle de la visionneuse est sombre) */
.int-barre .qm-barre { display: flex; flex-wrap: wrap; gap: 8px; }
.int-barre .qm-barre__form { flex: 1 1 100%; padding: 4px 4px 4px 16px; border: 2px solid #D5DEE6; background: #FFFFFF; box-shadow: 0 2px 8px rgba(0, 52, 94, .05); }
.int-barre .qm-barre--ouverte .qm-barre__form { border-color: #00A7FF; background: #FFFFFF; box-shadow: 0 0 0 4px rgba(0, 167, 255, .15); }
.int-barre .qm-barre__form::before { font-size: 14px; }
.int-barre .qm-barre__champ { min-height: 38px; color: #00345E; font-size: 14.5px; font-weight: 600; }
.int-barre .qm-barre__champ::placeholder { color: #4A5A6A; font-weight: 500; }
.int-barre .qm-barre .qm-micro { width: 38px; height: 38px; color: #00345E; background: #E6F6FF; }
.int-barre .qm-barre .qm-micro:hover:not(:disabled) { background: #CCEDFF; }
.int-barre .qm-barre__bouton { min-height: 38px; padding: 4px 18px; }
.int-barre .qm-barre:not(.qm-barre--ouverte) .qm-barre__bouton { display: inline-flex; align-items: center; }
.int-barre .qm-barre__sortie { border: 1px solid #D5DEE6; max-height: 50vh; }
@media (max-width: 640px) {
  .int-rubriques { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .int-rubrique { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; text-align: center; }
  .int-rubrique__textes span { display: none; }
  .int-rubrique__textes strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .int-rubrique { transition: none; } }

/* Vigilance sur les outils premium (Thomas, 10/11/2026) : le message neutre d'un outil refusé, le même sur toutes les pages. Marine sur blanc, filet bleu, jamais d'alarme */
.fp-vigilance { position: fixed; left: 50%; bottom: 22px; z-index: 60; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; width: min(92vw, 620px); padding: 14px 18px; border: 1px solid #D5DEE6; border-left: 5px solid #00A7FF; border-radius: 14px; color: #00345E; background: #FFFFFF; box-shadow: 0 12px 30px rgba(0, 52, 94, .25); font-family: 'Montserrat', Arial, Helvetica, sans-serif; transform: translateX(-50%); }
.fp-vigilance__titre { grid-column: 1; font-size: 14.5px; font-weight: 800; }
.fp-vigilance__texte { grid-column: 1; margin: 0; color: #00345E; font-size: 13.5px; line-height: 1.5; }
.fp-vigilance__fermer { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 7px 14px; border: 1px solid #00345E; border-radius: 999px; color: #00345E; background: #FFFFFF; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fp-vigilance__fermer:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
@media (max-width: 520px) { .fp-vigilance { grid-template-columns: minmax(0, 1fr); } .fp-vigilance__fermer { grid-column: 1; grid-row: auto; justify-self: end; } }

/* Action commerciale (Thomas, 17/11/2026) : les deux rubriques, au modèle de « Nos intervenants » ; le nombre de prospects confiés en attente */
.int-rubrique--prospects .int-rubrique__icone { background: #00A7FF; }
.int-rubrique__textes strong { display: flex; align-items: center; gap: 8px; }
.int-rubrique__textes .int-rubrique__compte { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #FF6A6E; color: #FFFFFF; font-size: 12px; font-weight: 800; }
.int-rubrique__textes .int-rubrique__compte.cache { display: none; }
@media (max-width: 560px) { .int-rubrique__textes strong { justify-content: center; } }
