/* Mis à jour le 14 octobre 2026 (3) : cercle du centre parfaitement rond (largeur = hauteur, contenu ajusté), anneau animé centré à part (nvbb-orgx-hub-ring). Précédemment : 14 octobre 2026 (2) : logo de NVBB toujours en cercle (bord orange #E38B0D, fond bleu #013C80), comme l'en-tête du site. Précédemment : 14 octobre 2026 : création : organigramme animé de l'Expo (vue en étoile, liste sur petit écran,
   fiche d'un pôle). Couleurs : #013C80 et #E38B0D ; couleur de chaque pôle lue en base (--c). Précédemment : aucun. */
.nvbb-orgx { container-type: inline-size; position: relative; margin: 8px 0 28px; }
.nvbb-orgx__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 0 0 10px; font-size: 13px; color: #46566a; }
.nvbb-orgx__live { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #013C80; }
.nvbb-orgx__live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 0 rgba(31,157,85,.5); animation: nvbb-orgx-live 2s infinite; }
.nvbb-orgx__legend { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.nvbb-orgx__lg { display: inline-flex; align-items: center; gap: 6px; }
.nvbb-orgx__lg i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #013C80; background: #fff; }
.nvbb-orgx__lg.is-open i { border-style: dashed; border-color: #b35c00; }
.nvbb-orgx.is-fresh .nvbb-orgx__live { color: #b35c00; }
@keyframes nvbb-orgx-live { 70% { box-shadow: 0 0 0 9px rgba(31,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); } }

/* ---------- Scène ---------- */
.nvbb-orgx-stage { position: relative; width: 100%; aspect-ratio: 1400 / 1100; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #ffffff 0, #f4f7fb 46%, #e9eff7 100%); border: 1px solid #dde3ec; }
.nvbb-orgx-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(227, 139, 13,.10) 0, transparent 24%); pointer-events: none; }
.nvbb-orgx-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nvbb-orgx-lines path { fill: none; stroke-width: 3; stroke-linecap: round; opacity: .85; stroke-dasharray: 900; stroke-dashoffset: 900; animation: nvbb-orgx-draw 1.1s ease-out forwards; transition: opacity .25s; }
.nvbb-orgx-lines path.is-sub { stroke-width: 2.2; opacity: .7; stroke-dasharray: 6 7; stroke-dashoffset: 0; animation: nvbb-orgx-fade .8s ease-out both, nvbb-orgx-march 1.4s linear infinite; }
@keyframes nvbb-orgx-draw { to { stroke-dashoffset: 0; } }
@keyframes nvbb-orgx-fade { from { opacity: 0; } }
@keyframes nvbb-orgx-march { to { stroke-dashoffset: -26; } }
.nvbb-orgx-dot { opacity: .9; transition: opacity .25s; }
.nvbb-orgx-stage .is-dim { opacity: .18 !important; }
.nvbb-orgx-stage button.is-dim { filter: grayscale(.6); }

/* Nœuds (positionnés en % de la scène, tailles en unités du conteneur) */
.nvbb-orgx-stage > button { position: absolute; transform: translate(-50%, -50%) scale(.2); opacity: 0; animation: nvbb-orgx-pop .55s cubic-bezier(.2,1.4,.4,1) forwards; font: inherit; cursor: pointer; transition: opacity .25s, filter .25s, box-shadow .2s; }
@keyframes nvbb-orgx-pop { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.nvbb-orgx-stage > button:focus-visible { outline: 3px solid #E38B0D; outline-offset: 4px; }

.nvbb-orgx-hub { box-sizing: border-box; width: 17cqw; height: 17cqw; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; border: .5cqw solid #013C80; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35cqw; padding: 1.4cqw 2cqw;
  box-shadow: 0 0 0 1cqw rgba(1,60,128,.08), 0 18px 40px rgba(1,60,128,.18); z-index: 3; }
.nvbb-orgx-hub-ring { position: absolute; width: 19.8cqw; height: 19.8cqw; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: 1; }
.nvbb-orgx-hub-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(227, 139, 13,.55); animation: nvbb-orgx-ring 3s ease-out infinite; pointer-events: none; }
@keyframes nvbb-orgx-ring { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.18); opacity: 0; } }
.nvbb-orgx-hub__logo img { width: 5cqw; height: 5cqw; object-fit: cover; display: block; border-radius: 50%; border: .25cqw solid #E38B0D; background: #013C80; box-shadow: 0 0 0 .2cqw #fff; }
/* Logo de NVBB : toujours en cercle, comme dans l'en-tête (mdaa-brand__logo) */
.nvbb-orgx-av.is-brand { background: #013C80; border-color: #E38B0D; box-shadow: 0 0 0 2px #fff; }
.nvbb-orgx-av.is-brand img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nvbb-orgx-hub__ed { font-size: 1.05cqw; font-weight: 800; color: #a65300; text-transform: uppercase; letter-spacing: .04em; text-align: center; line-height: 1.15; }
.nvbb-orgx-hub__t { font-size: 1.15cqw; font-weight: 800; color: #013C80; text-align: center; line-height: 1.15; }
.nvbb-orgx-hub__s { display: flex; gap: .3cqw; margin-top: .2cqw; }

.nvbb-orgx-pole { --c: #013C80; --ink: #fff; width: 9.6cqw; height: 9.6cqw; border-radius: 50%; background: #fff; border: .45cqw solid var(--c); color: #0d2340; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .9cqw; text-align: center;
  box-shadow: 0 0 0 .5cqw color-mix(in srgb, var(--c) 14%, transparent), 0 10px 24px rgba(13,35,64,.14); z-index: 2; }
.nvbb-orgx-pole.is-open { border-style: dashed; background: #fffdf8; }
.nvbb-orgx-pole:hover { box-shadow: 0 0 0 .8cqw color-mix(in srgb, var(--c) 25%, transparent), 0 14px 30px rgba(13,35,64,.2); }
.nvbb-orgx-pole__n { display: inline-flex; align-items: center; justify-content: center; min-width: 2cqw; height: 2cqw; padding: 0 .4cqw; border-radius: 999px; background: var(--c); color: var(--ink); font-size: 1cqw; font-weight: 800; margin-bottom: .3cqw; }
.nvbb-orgx-pole__t { font-size: .98cqw; font-weight: 700; line-height: 1.15; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nvbb-orgx-pole__open { margin-top: .35cqw; white-space: nowrap; font-size: .78cqw; font-weight: 700; padding: .2cqw .7cqw; border-radius: 999px; background: #FFF4E5; color: #9A5A00; border: 1px solid #E38B0D; }
.nvbb-orgx-pole__open.is-nvbb { background: #eaf1fb; color: #013C80; border-color: #013C80; }
.nvbb-orgx-pole.is-child { width: 7.4cqw; height: 7.4cqw; border-width: .35cqw; padding: .6cqw; }
.nvbb-orgx-pole.is-child .nvbb-orgx-pole__n { min-width: 1.7cqw; height: 1.7cqw; font-size: .85cqw; }
.nvbb-orgx-pole.is-child .nvbb-orgx-pole__t { font-size: .82cqw; -webkit-line-clamp: 4; }

.nvbb-orgx-card { --c: #013C80; display: flex; align-items: center; gap: .6cqw; max-width: 13.5cqw; padding: .35cqw .9cqw .35cqw .35cqw; border-radius: 999px; background: #fff; border: 2px solid var(--c); box-shadow: 0 8px 20px rgba(13,35,64,.14); z-index: 2; text-align: left; }
.nvbb-orgx-card__l { display: flex; flex-direction: column; min-width: 0; }
.nvbb-orgx-card__l strong { font-size: 1cqw; color: #0d2340; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvbb-orgx-card__l small { font-size: .85cqw; color: #46566a; }
.nvbb-orgx-av { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--c, #013C80); color: var(--ink, #fff); font-weight: 800; font-size: 1.2cqw; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--c, #013C80); }
.nvbb-orgx-av.has-logo { background: #fff; }
.nvbb-orgx-av img { width: 84%; height: 84%; object-fit: contain; }
.nvbb-orgx-av.is-xs { width: 2.4cqw; height: 2.4cqw; font-size: .8cqw; box-shadow: 0 0 0 1px #013C80; }
.nvbb-orgx-card.is-nvbb .nvbb-orgx-av { background: #fff; }

/* ---------- Liste (petit écran) ---------- */
.nvbb-orgx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nvbb-orgx-list.is-sub { margin: 8px 0 0 22px; padding-left: 12px; border-left: 3px dotted var(--c); gap: 8px; }
.nvbb-orgx-li { --c: #013C80; animation: nvbb-orgx-slide .45s ease-out both; }
@keyframes nvbb-orgx-slide { from { opacity: 0; transform: translateY(8px); } }
.nvbb-orgx-li__b { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #dde3ec; border-left: 6px solid var(--c); text-align: left; font: inherit; cursor: pointer; box-shadow: 0 4px 12px rgba(13,35,64,.06); }
.nvbb-orgx-li__b:focus-visible { outline: 3px solid #E38B0D; outline-offset: 2px; }
.nvbb-orgx-li .nvbb-orgx-pole__n { min-width: 28px; height: 28px; font-size: 13px; margin: 0; background: var(--c); color: var(--ink, #fff); }
.nvbb-orgx-li__t { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.nvbb-orgx-li__t strong { color: #0d2340; font-size: 15px; line-height: 1.25; }
.nvbb-orgx-li__t small, .nvbb-orgx-li__t small.is-held, .nvbb-orgx-li__t small.is-nvbb { font-size: 12.5px; color: #3c4a5c; margin-top: 2px; }
.nvbb-orgx-li__t small.is-open { color: #9A5A00; }
.nvbb-orgx-li__av { display: flex; gap: 4px; }
.nvbb-orgx-li__av .nvbb-orgx-av { width: 30px; height: 30px; font-size: 11px; }

/* ---------- Fenêtre d'un pôle ---------- */
.nvbb-orgx-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: 18px; padding: 0; box-shadow: 0 30px 80px rgba(13,35,64,.35); }
.nvbb-orgx-dlg::backdrop { background: rgba(1,30,64,.55); }
.nvbb-orgx-dlg__x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1f4f9; color: #013C80; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nvbb-orgx-dlg__x:focus-visible { outline: 3px solid #E38B0D; }
.nvbb-orgx-dlg__body { padding: 22px 22px 24px; overflow: auto; max-height: calc(100vh - 48px); }
.nvbb-orgx-dlg__head { --c: #013C80; display: flex; gap: 14px; align-items: center; padding-right: 44px; margin-bottom: 12px; }
.nvbb-orgx-dlg__n { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--c); color: var(--ink, #fff); font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.nvbb-orgx-dlg__head h2 { margin: 0; font-size: 20px; color: #0d2340; line-height: 1.2; }
.nvbb-orgx-dlg__g { margin: 0 0 2px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #9A5A00; }
.nvbb-orgx-dlg__desc { color: #2d3b4f; line-height: 1.55; }
.nvbb-orgx-dlg__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nvbb-orgx-dlg h3 { font-size: 15px; margin: 16px 0 8px; color: #013C80; }
.nvbb-orgx-dlg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nvbb-orgx-dlg__list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; background: #f6f8fc; }
.nvbb-orgx-dlg__list .nvbb-orgx-av { width: 44px; height: 44px; font-size: 15px; --c: #013C80; }
.nvbb-orgx-dlg__list strong { display: block; color: #0d2340; }
.nvbb-orgx-dlg__list span { font-size: 13px; color: #46566a; }
.nvbb-orgx-dlg__list p { margin: 4px 0 0; font-size: 13px; color: #2d3b4f; line-height: 1.45; }
.nvbb-orgx-dlg__muted { color: #46566a; }
.nvbb-orgx-dlg__subs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nvbb-orgx-dlg__subs button { --c: #013C80; font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--c); background: #fff; color: #0d2340; cursor: pointer; }
.nvbb-orgx-dlg__cta { display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 999px; background: #E38B0D; color: #1a1a1a; font-weight: 800; text-decoration: none; }
.nvbb-orgx-dlg__cta:hover, .nvbb-orgx-dlg__cta:focus-visible { background: #e58600; }
.nvbb-orgx-sdg { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.nvbb-orgx-sdg span { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 6px; color: #fff; font-weight: 800; font-size: 12px; }
.nvbb-orgx__detail { margin-top: 18px; }
.nvbb-orgx__detail > summary { cursor: pointer; font-weight: 700; color: #013C80; padding: 8px 0; }

@media (prefers-reduced-motion: reduce) {
  .nvbb-orgx *, .nvbb-orgx *::before, .nvbb-orgx *::after { animation: none !important; transition: none !important; }
  .nvbb-orgx-stage > button { transform: translate(-50%, -50%); opacity: 1; }
  .nvbb-orgx-lines path { stroke-dashoffset: 0; }
}
