/* RADAR EMOQI — socle commun des espaces de gestion (public/socle.js). Reprise du socle de l'admin v3 de BIZLINKED,
   aux couleurs d'EmoQi : marine #244065, canard #0097B2, orange #F38F1A (alertes, jamais de rouge). Les couleurs
   viennent des jetons de la page (--principale, --secondaire, --accent, --surface, --trait, --doux, --texte) : le
   thème sombre suit tout seul. */
:root { --rs-1: var(--secondaire); --rs-2: var(--principale); --rs-3: var(--accent); --rs-4: #7FC8D6; --rs-5: #8A9BB4; --rs-6: #5B8DB8; --rs-7: #F6B866;
  --rs-fond2: color-mix(in srgb, var(--principale) 5%, var(--surface)); --rs-bien: var(--secondaire); --rs-mal: var(--accent); }
.rs-carte { background: var(--carte, var(--surface)); border: 1px solid var(--trait); border-radius: 16px; box-shadow: var(--ombre); color: var(--texte); }
button.rs-carte { font: inherit; text-align: left; width: 100%; }
.rs-eyebrow { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--secondaire); }
/* en-tête de page */
.rs-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 16px; }
.rs-tete-t { min-width: 0; }
.rs-tete h1 { margin: 2px 0 0; }
.rs-sous { margin: 4px 0 0; font-size: 14.5px; opacity: .8; max-width: 760px; }
.rs-tete-a { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* barre de période */
.rs-cp { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 10px 12px;
  background: var(--carte, var(--surface)); border: 1px solid var(--trait); border-radius: 14px; }
.rs-cp-l, .rs-cp-r { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.rs-seg { display: inline-flex; flex-wrap: wrap; background: var(--doux); border-radius: 10px; padding: 3px; gap: 2px; }
.rs-seg button { border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; font: inherit; font-size: 13px; color: var(--texte); opacity: .78; cursor: pointer; min-height: 32px; }
.rs-seg button:hover { opacity: 1; }
.rs-seg button.on { background: color-mix(in srgb, var(--secondaire) 16%, var(--carte, var(--surface))); opacity: 1; font-weight: 700; box-shadow: 0 0 0 1px color-mix(in srgb, var(--secondaire) 45%, transparent); color: var(--titre, var(--principale)); }
.rs-perso { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rs-perso[hidden] { display: none; }
.rs-perso input { width: 150px !important; min-height: 36px !important; padding: 5px 8px !important; font-size: 13px !important; }
.rs-plage { font-size: 13px; opacity: .78; }
.rs-cp-meta { flex-basis: 100%; font-size: 12.5px; opacity: .72; }
/* boutons du socle */
.rs-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--trait); background: var(--carte, var(--surface)); color: var(--principale); font: inherit;
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 10px; cursor: pointer; min-height: 36px; white-space: nowrap; }
.rs-btn:hover { background: var(--doux); }
.rs-btn:disabled { opacity: .45; cursor: default; }
.rs-btn.lien { border-color: transparent; background: none; text-decoration: underline; }
.rs-btn.attention { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent-texte); }
/* tuiles */
.rs-k4, .rs-k5, .rs-k6 { display: grid; gap: 12px; margin: 0 0 16px; }
.rs-k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rs-k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rs-k6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rs-hero { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.rs-hero.clic { cursor: pointer; transition: border-color .15s, transform .15s; }
.rs-hero.clic:hover { border-color: var(--secondaire); transform: translateY(-1px); }
.rs-hero.alerte { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.rs-hero.alerte .rs-hv { color: var(--accent); }
.rs-hero-h { display: flex; justify-content: space-between; align-items: center; gap: 4px 8px; flex-wrap: wrap; }
.rs-hl { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; opacity: .75; min-width: 0; }
.rs-hv { font-family: "Lilita One", "Poppins", sans-serif; font-weight: 400; font-size: 30px; line-height: 1.05; color: var(--titre, var(--principale)); }
.rs-hh { font-size: 12.5px; opacity: .75; }
.rs-spark { width: 100%; height: 30px; margin-top: 4px; }
.rs-dl { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--doux); white-space: nowrap; flex: none; }
.rs-dl.bien { background: color-mix(in srgb, var(--rs-bien) 15%, var(--surface)); color: var(--secondaire); }
.rs-dl.mal { background: color-mix(in srgb, var(--rs-mal) 18%, var(--surface)); color: var(--accent-texte); }
.rs-g2, .rs-g3, .rs-g32 { display: grid; gap: 12px; margin: 0 0 16px; align-items: start; }
.rs-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rs-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rs-g32 { grid-template-columns: 1.5fr 1fr; }
.rs-sg { padding: 14px 16px; }
.rs-sg-t { font-weight: 700; margin: 0 0 8px; }
.rs-note { margin: 0 0 8px; font-size: 13px; opacity: .75; }
.rs-sg-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rs-sg-i { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--rs-fond2); border: 0; font: inherit; color: inherit; text-align: left; }
.rs-sg-i b { font-family: "Lilita One", "Poppins", sans-serif; font-weight: 400; font-size: 22px; color: var(--titre, var(--principale)); }
.rs-sg-i small { font-size: 12px; opacity: .72; }
.rs-sg-i.clic { cursor: pointer; } .rs-sg-i.clic:hover { outline: 2px solid var(--secondaire); }
.rs-sg-i.alerte b { color: var(--accent); }
.rs-kl { font-size: 12px; font-weight: 600; opacity: .78; }
.rs-sect { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--trait); padding-bottom: 8px; margin: 22px 0 14px; }
.rs-sect h2 { margin: 2px 0 0; font-size: 20px; }
.rs-meta { font-size: 13px; opacity: .72; }
/* graphiques */
.rs-cp-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 0 0 10px; }
.rs-pn { padding: 14px 16px; min-width: 0; margin: 0 0 12px; }
.rs-g2 > .rs-pn, .rs-g3 > .rs-pn, .rs-g32 > .rs-pn { margin: 0; }
.rs-cp-t { font-weight: 700; font-size: 15.5px; }
.rs-cp-a { font-size: 12.5px; opacity: .72; margin-top: 2px; }
.rs-cp-tot { font-family: "Lilita One", "Poppins", sans-serif; font-weight: 400; font-size: 22px; color: var(--titre, var(--principale)); }
.rs-svg { width: 100%; height: auto; display: block; }
.rs-gr { stroke: var(--trait); stroke-width: 1; }
.rs-ax { font-size: 11px; fill: currentColor; opacity: .7; font-family: "Poppins", sans-serif; }
.rs-ax2 { fill: var(--secondaire); opacity: 1; }
.rs-bar { opacity: .92; } .rs-bar.clic, .rs-pt.clic { cursor: pointer; } .rs-bar:hover { opacity: 1; }
.rs-aire { opacity: .15; } .rs-ligne { stroke-width: 2.2; stroke-linejoin: round; } .rs-pt { stroke: var(--carte, #fff); stroke-width: 1.5; }
.rs-leg { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; margin-top: 8px; }
.rs-leg > * { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; color: inherit; padding: 0; text-align: left; }
.rs-leg .clic { cursor: pointer; text-decoration: underline dotted; }
.rs-leg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.rs-leg-v { flex-direction: column; gap: 6px; }
.rs-bd { display: flex; flex-direction: column; gap: 6px; }
.rs-bd-r { display: grid; grid-template-columns: minmax(110px, 1.3fr) 2fr 56px 48px; gap: 10px; align-items: center; font-size: 13.5px; border: 0; background: none; font: inherit;
  color: inherit; padding: 4px 2px; border-radius: 8px; text-align: left; width: 100%; }
.rs-bd-r.clic { cursor: pointer; } .rs-bd-r.clic:hover { background: var(--doux); }
.rs-bd-l { display: flex; flex-direction: column; min-width: 0; }
.rs-bd-l span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-bd-l small { font-size: 11.5px; opacity: .7; }
.rs-bd-b { height: 8px; border-radius: 99px; background: var(--rs-fond2); overflow: hidden; display: block; }
.rs-bd-b i { display: block; height: 100%; background: var(--secondaire); border-radius: 99px; }
.rs-bd-r b { text-align: right; } .rs-bd-p { font-size: 12px; opacity: .7; text-align: right; }
.rs-donut-w { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rs-donut { width: 140px; height: 140px; flex: none; }
.rs-donut-v { font-family: "Lilita One", "Poppins", sans-serif; font-size: 24px; fill: var(--titre, var(--principale)); }
.rs-vide-p { padding: 24px 8px; text-align: center; font-size: 13.5px; opacity: .7; }
/* table universelle */
.rs-ct { margin-top: 4px; }
.rs-ct-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.rs-q { display: flex; align-items: center; gap: 6px; background: var(--rs-fond2); border-radius: 10px; padding: 0 10px; min-width: 210px; flex: 0 1 280px; }
.rs-q-i { opacity: .6; font-size: 16px; }
.rs-ct .rs-q input { border: 0 !important; background: transparent !important; min-height: 38px !important; padding: 4px 0 !important; box-shadow: none; outline: 0; font-size: 14px !important; }
.rs-ct .rs-f { width: auto !important; max-width: 200px; min-height: 38px !important; padding: 5px 8px !important; font-size: 13px !important; border-width: 1px !important; border-radius: 10px !important; }
.rs-ct-n { margin-left: auto; font-size: 12.5px; opacity: .72; }
.rs-cols { position: relative; }
.rs-cols summary { list-style: none; } .rs-cols summary::-webkit-details-marker { display: none; }
.rs-cols-m { position: absolute; right: 0; top: 40px; z-index: 20; background: var(--carte, var(--surface)); border: 1px solid var(--trait); border-radius: 12px; padding: 8px 12px;
  display: flex; flex-direction: column; gap: 6px; min-width: 200px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); font-size: 13.5px; }
.rs-cols-m label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.rs-bulk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; background: color-mix(in srgb, var(--secondaire) 12%, var(--surface)); border-radius: 12px; margin: 0 0 10px; font-size: 13.5px; }
.rs-ct-wrap { overflow: auto; border: 1px solid var(--trait); border-radius: 12px; }
.rs-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.rs-t th { text-align: left; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; padding: 0 12px; height: 40px; border-bottom: 1px solid var(--trait);
  background: var(--rs-fond2); white-space: nowrap; }
.rs-tri { border: 0; background: none; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; padding: 8px 0; cursor: pointer; opacity: .8; }
.rs-tri.on, .rs-tri:hover { opacity: 1; color: var(--principale); }
.rs-t td { padding: 10px 12px; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.rs-t tr:last-child td { border-bottom: 0; }
.rs-t tbody tr.clic { cursor: pointer; } .rs-t tbody tr.clic:hover td, .rs-t tbody tr.clic:focus-visible td { background: var(--doux); }
.rs-t tbody tr:focus-visible { outline: 2px solid var(--secondaire); outline-offset: -2px; }
.rs-t tbody tr.eteint td { opacity: .6; }
.rs-t .num { text-align: right; font-variant-numeric: tabular-nums; }
.rs-t td.nw { white-space: nowrap; }
@media (min-width: 761px) { .rs-t td.principale { min-width: 230px; } }
.rs-chk { width: 36px; } .rs-chk input { width: 18px; height: 18px; }
.rs-fin { width: 44px; text-align: right; }
.rs-invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rs-ct.dense .rs-t td { padding: 7px 10px; }
.rs-pag { display: flex; align-items: center; gap: 8px; margin-top: 10px; justify-content: flex-end; font-size: 13px; flex-wrap: wrap; }
.rs-pag select { width: auto !important; min-height: 36px !important; padding: 4px 8px !important; font-size: 13px !important; border-width: 1px !important; }
.rs-ct-vide { padding: 28px 16px; text-align: center; border: 1px dashed var(--trait); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.rs-ct-vide span { opacity: .75; }
/* fenêtre */
.rs-modale { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); background: var(--carte, var(--surface)); color: var(--texte);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.rs-modale.large { width: min(980px, calc(100vw - 24px)); }
.rs-modale::backdrop { background: rgba(14, 24, 40, .5); }
.rs-modale-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 18px 20px 6px; position: sticky; top: 0; background: inherit; z-index: 1; }
.rs-modale-h h2 { margin: 0; font-size: 22px; }
.rs-modale-c { padding: 6px 20px 20px; }
.rs-x { border: 0; background: var(--doux); color: inherit; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; flex: none; }
/* états */
.rs-etat { padding: 26px 18px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 14.5px; }
.rs-etat span { opacity: .78; }
.rs-err { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.rs-load { width: 24px; height: 24px; border: 3px solid var(--trait); border-top-color: var(--secondaire); border-radius: 50%; animation: rs-tourne .8s linear infinite; }
@keyframes rs-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rs-load { animation: none; } .rs-hero.clic:hover { transform: none; } }
@media (max-width: 1150px) { .rs-k6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rs-k5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rs-g3 { grid-template-columns: 1fr 1fr; } .rs-g32 { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .rs-t .cache-md { display: none; } }
@media (max-width: 1300px) { .rs-t .cache-lg { display: none; } }
/* téléphone : tuiles 2 par ligne, tables en cartes */
@media (max-width: 760px) {
  .rs-k4, .rs-k5, .rs-k6, .rs-g2, .rs-g3 { grid-template-columns: 1fr 1fr; }
  .rs-g2, .rs-g3 { grid-template-columns: 1fr; }
  .rs-hv { font-size: 24px; } .rs-hl { font-size: 10.5px; letter-spacing: .03em; }
  .rs-hero { padding: 12px 12px; }
  .rs-bd-r { grid-template-columns: minmax(0, 1fr) 1fr 44px 40px; gap: 6px; }
  .rs-cp { padding: 8px; } .rs-seg button { padding: 5px 8px; font-size: 12.5px; }
  .rs-q { flex: 1 1 100%; min-width: 0; }
  .rs-ct .rs-f { max-width: none; flex: 1 1 140px; }
  .rs-ct-n { margin-left: 0; }
  .rs-ct-wrap { border: 0; overflow: visible; }
  .rs-t, .rs-t tbody, .rs-t tr, .rs-t td { display: block; width: 100%; }
  .rs-t thead { display: none; }
  .rs-t tr { border: 1px solid var(--trait); border-radius: 14px; margin: 0 0 8px; padding: 8px 12px; background: var(--carte, var(--surface)); position: relative; }
  .rs-t td { border: 0; padding: 3px 0; display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 8px; font-size: 14px; overflow-wrap: anywhere; }
  .rs-t td::before { content: attr(data-l); font-size: 12px; font-weight: 600; opacity: .65; }
  .rs-t td.principale { grid-template-columns: 1fr; font-weight: 600; padding-right: 60px; }
  .rs-t td.principale::before, .rs-t td.rs-chk::before, .rs-t td.rs-fin::before { display: none; }
  .rs-t td.rs-chk { position: absolute; top: 10px; right: 12px; width: auto; display: block; padding: 0; }
  .rs-t td.rs-fin { position: absolute; top: 4px; right: 44px; width: auto; display: block; padding: 0; }
  .rs-t .num { text-align: left; }
  .rs-t td > * { justify-self: start; }
  .rs-t .cache-sm { display: none; }
  .rs-pag { justify-content: center; }
  .rs-modale-h { padding: 14px 14px 4px; } .rs-modale-c { padding: 4px 14px 16px; }
}
/* ===== visite guidée (public/visite.js) : lumière sur le vrai élément, carte, petite scène animée par étape ===== */
.rv { position: fixed; inset: 0; z-index: 2147483000; opacity: 0; transition: opacity .2s; }
.rv.on { opacity: 1; }
.rv-fond { position: absolute; inset: 0; background: transparent; transition: background .2s; }
.rv-fond.plein { background: rgba(14, 24, 40, .55); }
.rv-spot { position: absolute; border-radius: 14px; box-shadow: 0 0 0 4px var(--secondaire), 0 0 0 9999px rgba(14, 24, 40, .55); pointer-events: none;
  transition: top .28s ease, left .28s ease, width .28s ease, height .28s ease, opacity .2s; }
.rv-carte { position: absolute; width: min(380px, calc(100vw - 24px)); background: var(--carte, var(--surface)); color: var(--texte); border-radius: 18px; padding: 14px 16px 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32); transition: top .28s ease, left .28s ease; outline: 0; }
.rv-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 2px; }
.rv-num { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--secondaire); }
.rv-x { border: 0; background: var(--doux); color: inherit; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.rv-titre { display: block; font-family: "Lilita One", "Poppins", sans-serif; font-weight: 400; font-size: 21px; line-height: 1.15; color: var(--titre, var(--principale)); margin: 2px 0 4px; }
.rv-texte { margin: 0; font-size: 14.5px; line-height: 1.45; }
.rv-b { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.rv-pts { display: flex; gap: 5px; }
.rv-pts i { width: 7px; height: 7px; border-radius: 50%; background: var(--trait); transition: width .2s, background .2s; }
.rv-pts i.fait { background: color-mix(in srgb, var(--secondaire) 50%, var(--surface)); }
.rv-pts i.on { width: 20px; border-radius: 99px; background: var(--secondaire); }
.rv-bt { display: flex; gap: 8px; margin-left: auto; }
.rv-prec, .rv-suiv { font: inherit; font-size: 14px; font-weight: 600; border-radius: 12px; padding: 8px 14px; min-height: 42px; cursor: pointer; }
.rv-prec { border: 1px solid var(--trait); background: none; color: var(--principale); }
.rv-suiv { border: 0; background: var(--accent); color: #172f4d; } /* bleu nuit sur l'orange (audit 18/11) */
.rv-suiv:focus-visible, .rv-prec:focus-visible, .rv-x:focus-visible { outline: 3px solid var(--secondaire); outline-offset: 2px; }
/* scènes : 120 px de haut, décor seulement */
.rv-sc { position: relative; height: 118px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--secondaire) 14%, var(--surface)), color-mix(in srgb, var(--principale) 10%, var(--surface))); }
.rv-sc i { position: absolute; display: block; }
/* bienvenue : radar qui balaie */
.rv-radar .rv-centre { left: calc(50% - 7px); top: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--principale); }
.rv-radar .rv-onde { left: calc(50% - 50px); top: calc(50% - 50px); width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--secondaire); animation: rv-onde 2.4s ease-out infinite; }
.rv-radar .rv-onde.d2 { animation-delay: 1.2s; }
.rv-radar .rv-balai { left: 50%; top: calc(50% - 46px); width: 46px; height: 46px; transform-origin: 0 100%; background: conic-gradient(from 0deg at 0 100%, color-mix(in srgb, var(--secondaire) 55%, transparent), transparent 25%); animation: rv-tourne 2.8s linear infinite; }
.rv-radar .rv-pt { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: 0; animation: rv-clignote 2.8s infinite; }
.rv-radar .p1 { left: 58%; top: 26%; } .rv-radar .p2 { left: 36%; top: 60%; animation-delay: .9s; } .rv-radar .p3 { left: 62%; top: 66%; animation-delay: 1.8s; }
/* menu groupé : un curseur descend dans les rubriques */
.rv-menu { display: grid; align-content: center; padding: 0 30%; gap: 4px; }
.rv-menu i { position: static; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--principale) 25%, var(--surface)); }
.rv-menu .rv-m-g { width: 40%; height: 6px; background: var(--secondaire); opacity: .7; margin-top: 4px; }
.rv-menu .rv-m-curseur { position: absolute; left: calc(30% - 8px); right: calc(30% - 8px); top: 22px; height: 16px; border-radius: 6px; background: color-mix(in srgb, var(--principale) 18%, transparent); outline: 2px solid var(--principale); animation: rv-menu 4s ease-in-out infinite; }
/* période : la pastille passe d'un choix à l'autre, les barres suivent */
.rv-periode .rv-seg { position: absolute; left: 16%; right: 16%; top: 14px; height: 22px; border-radius: 8px; background: var(--carte, #fff); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 2px; }
.rv-periode .rv-seg i { position: static; border-radius: 6px; }
.rv-periode .rv-seg .rv-seg-on { position: absolute; top: 2px; bottom: 2px; width: calc(25% - 3px); left: 2px; background: var(--secondaire); animation: rv-seg 4.8s ease-in-out infinite; }
.rv-barres { position: absolute; left: 16%; right: 16%; bottom: 12px; height: 60px; display: flex; gap: 6px; align-items: flex-end; }
.rv-barres i, .rv-ind > i:not(.rv-courbe) { position: static; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.rv-barres i span, .rv-ind > i span { display: block; width: 100%; height: var(--h); border-radius: 4px 4px 1px 1px; background: var(--principale); opacity: .8; transform-origin: bottom; animation: rv-barre 4.8s ease-in-out infinite; }
.rv-barres i:nth-child(odd) span { animation-delay: .2s; }
/* un chiffre se creuse : la tuile, le clic, les lignes */
.rv-chiffre .rv-tuile { position: absolute; left: 12%; top: 16px; width: 34%; height: 84px; border-radius: 12px; background: var(--carte, #fff); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); padding: 8px; }
.rv-chiffre .rv-tuile b { position: absolute; left: 10px; top: 22px; font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 28px; color: var(--principale); }
.rv-chiffre .rv-t-l { left: 10px; top: 10px; width: 50%; height: 6px; border-radius: 3px; background: var(--trait); }
.rv-chiffre .rv-t-d { right: 8px; top: 8px; width: 26px; height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--secondaire) 30%, transparent); }
.rv-chiffre .rv-t-sp { left: 10px; right: 10px; bottom: 10px; height: 2px; background: var(--secondaire); transform: skewY(-6deg); }
.rv-chiffre .rv-lignes { position: absolute; right: 10%; top: 18px; width: 38%; display: grid; gap: 7px; }
.rv-chiffre .rv-lignes i { position: static; height: 18px; border-radius: 6px; background: var(--carte, #fff); opacity: 0; transform: translateX(16px); animation: rv-ligne 3.6s ease-out infinite; }
.rv-chiffre .rv-lignes .l2 { animation-delay: .15s; } .rv-chiffre .rv-lignes .l3 { animation-delay: .3s; }
.rv-chiffre .rv-clic { left: 34%; top: 60px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--accent); animation: rv-clic 3.6s ease-out infinite; }
/* observations : des fiches arrivent, l'étape change */
.rv-obs { display: grid; align-content: center; gap: 6px; padding: 0 14%; }
.rv-obs-c { position: relative; height: 26px; border-radius: 8px; background: var(--carte, #fff); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); opacity: 0; animation: rv-arrive 4.5s ease-out infinite; }
.rv-obs-c.c1 { animation-delay: .4s; } .rv-obs-c.c2 { animation-delay: .8s; }
.rv-obs-c .rv-av { left: 6px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--secondaire); }
.rv-obs-c .rv-tx { left: 28px; top: 10px; width: 45%; height: 6px; border-radius: 3px; background: var(--trait); }
.rv-obs-c .rv-etape { right: 6px; top: 6px; width: 48px; height: 14px; border-radius: 7px; background: var(--accent); animation: rv-etape 4.5s steps(1) infinite; }
/* signaux : trois remontées au même endroit, l'anneau orange s'allume */
.rv-sig .rv-lieu { left: calc(50% - 26px); top: calc(50% - 26px); width: 52px; height: 52px; border-radius: 12px; background: var(--carte, #fff); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.rv-sig .rv-d { width: 12px; height: 12px; border-radius: 50%; background: var(--secondaire); left: 50%; top: 50%; opacity: 0; animation: rv-goutte 3.6s ease-in infinite; }
.rv-sig .d1 { --x: -90px; --y: -30px; } .rv-sig .d2 { --x: 90px; --y: -36px; animation-delay: .4s; } .rv-sig .d3 { --x: 10px; --y: 50px; animation-delay: .8s; }
.rv-sig .rv-anneau { left: calc(50% - 40px); top: calc(50% - 40px); width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; animation: rv-anneau 3.6s ease-out infinite; }
.rv-sig .rv-drapeau { left: calc(50% + 14px); top: calc(50% - 40px); width: 14px; height: 14px; border-radius: 3px 3px 3px 0; background: var(--accent); opacity: 0; animation: rv-drapeau 3.6s infinite; }
/* plan d'actions : une carte passe de colonne en colonne */
.rv-act { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 10%; }
.rv-col { position: relative; border-radius: 10px; background: color-mix(in srgb, var(--carte, #fff) 70%, transparent); }
.rv-col .rv-col-t { left: 8px; top: 8px; width: 50%; height: 6px; border-radius: 3px; background: var(--principale); opacity: .4; }
.rv-act .rv-carte-a { width: calc((80% - 16px) / 3 - 12px); height: 30px; top: 40px; left: calc(10% + 6px); border-radius: 8px; background: var(--secondaire); box-shadow: 0 3px 8px rgba(0, 0, 0, .15); animation: rv-colonne 4.5s ease-in-out infinite; }
/* indicateurs : les barres poussent, la courbe se dessine */
.rv-ind { display: flex; gap: 8px; align-items: flex-end; padding: 16px 16% 14px; }
.rv-ind > i span { background: var(--secondaire); }
.rv-ind .rv-courbe { left: 16%; right: 16%; top: 30px; height: 2px; background: var(--accent); transform: rotate(-12deg); transform-origin: left; animation: rv-courbe 4.8s ease-in-out infinite; }
/* export : le document descend */
.rv-exp .rv-doc { position: absolute; left: calc(50% - 30px); top: 12px; width: 60px; height: 76px; border-radius: 6px; background: var(--carte, #fff); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); padding: 10px 8px; display: grid; gap: 6px; align-content: start; animation: rv-doc 3.4s ease-in-out infinite; }
.rv-exp .rv-doc i { position: static; height: 5px; border-radius: 3px; background: var(--trait); }
.rv-exp .rv-doc .l1 { background: #1d7a46; width: 60%; }
.rv-exp .rv-fleche { left: calc(50% - 8px); bottom: 6px; width: 16px; height: 16px; border-right: 4px solid var(--accent); border-bottom: 4px solid var(--accent); transform: rotate(45deg); animation: rv-fleche 1.2s ease-in-out infinite; }
/* salariés : lignes qui s'ajoutent, une se coche */
.rv-sal { display: grid; align-content: center; gap: 5px; padding: 0 12%; }
.rv-ln { position: relative; height: 20px; border-radius: 6px; background: var(--carte, #fff); opacity: 0; animation: rv-arrive 5s ease-out infinite; }
.rv-ln.k1 { animation-delay: .25s; } .rv-ln.k2 { animation-delay: .5s; } .rv-ln.k3 { animation-delay: .75s; }
.rv-ln .rv-ck { left: 6px; top: 5px; width: 10px; height: 10px; border-radius: 3px; border: 2px solid var(--trait); }
.rv-ln.k1 .rv-ck { animation: rv-coche 5s steps(1) infinite; }
.rv-ln .rv-av { left: 24px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--principale); opacity: .5; }
.rv-ln .rv-tx { left: 44px; top: 7px; width: 34%; height: 6px; border-radius: 3px; background: var(--trait); }
.rv-ln .rv-pc { right: 8px; top: 5px; width: 40px; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--secondaire) 40%, transparent); }
/* équipe / organisation : un petit organigramme qui se relie */
.rv-eq .rv-n { width: 40px; height: 22px; border-radius: 7px; background: var(--carte, #fff); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); opacity: 0; animation: rv-noeud 4.4s ease-out infinite; }
.rv-eq .n0 { left: calc(50% - 20px); top: 12px; background: var(--principale); }
.rv-eq .n1 { left: calc(50% - 100px); top: 78px; animation-delay: .5s; } .rv-eq .n2 { left: calc(50% - 20px); top: 78px; animation-delay: .7s; } .rv-eq .n3 { left: calc(50% + 60px); top: 78px; animation-delay: .9s; }
.rv-eq .rv-tr { top: 40px; height: 34px; width: 2px; background: var(--secondaire); transform-origin: top; animation: rv-trait 4.4s ease-out infinite; }
.rv-eq .t1 { left: calc(50% - 1px); transform: rotate(52deg); animation-delay: .3s; } .rv-eq .t2 { left: calc(50% - 1px); animation-delay: .3s; } .rv-eq .t3 { left: calc(50% - 1px); transform: rotate(-52deg); animation-delay: .3s; }
.rv-org .n0 { background: var(--secondaire); }
/* recherche : on tape, les résultats arrivent */
.rv-cherche .rv-champ { position: absolute; left: 14%; right: 14%; top: 14px; height: 28px; border-radius: 9px; background: var(--carte, #fff); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); padding: 4px 10px; font-size: 14px; font-weight: 600; color: var(--principale); display: flex; align-items: center; }
.rv-cherche .rv-tape { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: rv-tape 4s steps(6) infinite; }
.rv-cherche .rv-caret { position: static; width: 2px; height: 16px; background: var(--principale); animation: rv-caret .8s steps(1) infinite; }
.rv-cherche .rv-res { left: 14%; right: 14%; height: 16px; border-radius: 6px; background: color-mix(in srgb, var(--carte, #fff) 80%, transparent); opacity: 0; animation: rv-res 4s ease-out infinite; }
.rv-cherche .r1 { top: 50px; } .rv-cherche .r2 { top: 70px; animation-delay: .15s; } .rv-cherche .r3 { top: 90px; animation-delay: .3s; }
/* abonnement : l'offre et les factures */
.rv-abo .rv-plan { position: absolute; left: 12%; top: 16px; width: 34%; height: 84px; border-radius: 12px; background: var(--principale); }
.rv-abo .rv-plan .rv-etoile { left: 10px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); animation: rv-pouls 2s ease-in-out infinite; }
.rv-abo .rv-plan .l1 { left: 10px; top: 40px; width: 60%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .7); } .rv-abo .rv-plan .l2 { left: 10px; top: 56px; width: 40%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .45); }
.rv-abo .rv-fact { right: 12%; width: 38%; height: 20px; border-radius: 6px; background: var(--carte, #fff); opacity: 0; animation: rv-ligne 4s ease-out infinite; }
.rv-abo .f1 { top: 18px; } .rv-abo .f2 { top: 46px; animation-delay: .2s; } .rv-abo .f3 { top: 74px; animation-delay: .4s; }
/* réglages : des interrupteurs basculent */
.rv-reg { display: grid; align-content: center; gap: 10px; padding: 0 18%; }
.rv-int { position: relative; height: 20px; }
.rv-int .rv-int-l { left: 0; top: 7px; width: 55%; height: 6px; border-radius: 3px; background: var(--trait); }
.rv-int .rv-int-b { right: 0; top: 0; width: 38px; height: 20px; border-radius: 10px; background: var(--trait); }
.rv-int .rv-int-b::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; animation: rv-inter 3.6s ease-in-out infinite; }
.rv-int.k1 .rv-int-b::after { animation-delay: .6s; } .rv-int.k2 .rv-int-b::after { animation-delay: 1.2s; }
/* aide : le bouton « ? » */
.rv-aide .rv-q { position: absolute; left: calc(50% - 22px); top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; background: var(--carte, #fff); display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--principale); z-index: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.rv-aide .rv-onde { left: calc(50% - 40px); top: calc(50% - 40px); width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--accent); animation: rv-onde 2.2s ease-out infinite; }
.rv-aide .rv-onde.d2 { animation-delay: 1.1s; }
/* fin : confettis */
.rv-fin .rv-coche { position: absolute; left: calc(50% - 26px); top: calc(50% - 26px); width: 52px; height: 52px; border-radius: 50%; background: var(--secondaire); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; animation: rv-pouls 2s ease-in-out infinite; }
.rv-fin .rv-cf { width: 8px; height: 12px; border-radius: 2px; top: -14px; animation: rv-tombe 2.6s linear infinite; }
.rv-fin .c1 { left: 18%; background: var(--accent); } .rv-fin .c2 { left: 34%; background: var(--secondaire); animation-delay: .5s; } .rv-fin .c3 { left: 64%; background: var(--principale); animation-delay: .9s; }
.rv-fin .c4 { left: 78%; background: var(--accent); animation-delay: 1.3s; } .rv-fin .c5 { left: 50%; background: #7FC8D6; animation-delay: 1.7s; }
@keyframes rv-onde { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes rv-tourne { to { transform: rotate(360deg); } }
@keyframes rv-clignote { 0%, 20% { opacity: 0; transform: scale(.4); } 30%, 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes rv-menu { 0%, 12% { top: 22px; } 25%, 37% { top: 34px; } 50%, 62% { top: 58px; } 75%, 100% { top: 82px; } }
@keyframes rv-seg { 0%, 20% { left: 2px; } 25%, 45% { left: 25%; } 50%, 70% { left: 50%; } 75%, 95% { left: calc(75% - 1px); } 100% { left: 2px; } }
@keyframes rv-barre { 0%, 20% { transform: scaleY(.55); } 25%, 45% { transform: scaleY(.85); } 50%, 70% { transform: scaleY(1); } 75%, 100% { transform: scaleY(.7); } }
@keyframes rv-ligne { 0%, 35% { opacity: 0; transform: translateX(16px); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes rv-clic { 0%, 20% { transform: scale(.4); opacity: 0; } 28% { transform: scale(1); opacity: 1; } 40%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes rv-arrive { 0% { opacity: 0; transform: translateY(-10px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes rv-etape { 0% { background: var(--accent); } 40% { background: var(--secondaire); } 70% { background: var(--principale); } }
@keyframes rv-goutte { 0% { opacity: 0; transform: translate(var(--x), var(--y)); } 15% { opacity: 1; } 45%, 100% { opacity: 0; transform: translate(-6px, -6px); } }
@keyframes rv-anneau { 0%, 45% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes rv-drapeau { 0%, 50% { opacity: 0; } 60%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rv-colonne { 0%, 20% { transform: none; } 35%, 55% { transform: translateX(calc(100% + 20px)); } 70%, 90% { transform: translateX(calc(200% + 40px)); background: var(--principale); } 100% { transform: none; } }
@keyframes rv-courbe { 0%, 20% { clip-path: inset(0 100% 0 0); } 60%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes rv-doc { 0%, 20% { transform: translateY(-6px); } 60% { transform: translateY(6px); } 100% { transform: translateY(-6px); } }
@keyframes rv-fleche { 0%, 100% { transform: translateY(-3px) rotate(45deg); } 50% { transform: translateY(3px) rotate(45deg); } }
@keyframes rv-coche { 0%, 45% { background: none; } 50%, 100% { background: var(--secondaire); border-color: var(--secondaire); } }
@keyframes rv-noeud { 0% { opacity: 0; transform: scale(.6); } 15%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes rv-trait { 0%, 10% { scale: 1 0; } 30%, 88% { scale: 1 1; } 100% { scale: 1 0; } }
@keyframes rv-tape { 0% { width: 0; } 50%, 100% { width: 6.2ch; } }
@keyframes rv-caret { 50% { opacity: 0; } }
@keyframes rv-res { 0%, 50% { opacity: 0; transform: translateY(6px); } 65%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes rv-pouls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes rv-inter { 0%, 30% { transform: none; } 50%, 85% { transform: translateX(18px); } 100% { transform: none; } }
@keyframes rv-tombe { from { transform: translateY(0) rotate(0); } to { transform: translateY(140px) rotate(320deg); } }
@media (prefers-reduced-motion: reduce) {
  .rv-sc *, .rv-sc *::after { animation: none !important; opacity: 1 !important; }
  .rv-spot, .rv-carte { transition: none; }
}
@media (max-width: 640px) { .rv-carte { width: calc(100vw - 24px); } .rv-sc { height: 96px; } .rv-titre { font-size: 19px; } }
.rs-donnees { margin-top: 8px; font-size: 13px; }
.rs-donnees summary { cursor: pointer; font-weight: 600; color: var(--principale); }
.rs-donnees .rs-ct-wrap { margin-top: 8px; max-height: 320px; }
.rs-t-donnees th[scope="row"] { text-align: left; font-weight: 600; background: none; text-transform: none; letter-spacing: 0; font-size: 13px; height: auto; padding: 6px 12px; }
