/* Mon Social Pro – hologramme */
.holo-bulle{position:fixed;right:22px;bottom:22px;z-index:60;width:104px;height:104px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:radial-gradient(circle at 50% 40%,#123247,#050b14);box-shadow:0 10px 30px rgba(0,30,60,.35),0 0 0 2px rgba(120,220,255,.55);
  opacity:0;transform:translateY(20px) scale(.9);transition:opacity .5s,transform .5s}
.holo-bulle.visible{opacity:1;transform:none}
.holo-bulle.cache{opacity:0;pointer-events:none;transform:scale(.8)}
.holo-bulle img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 50%;filter:saturate(.7) hue-rotate(-8deg) brightness(1.08)}
.holo-anneau{position:absolute;inset:-7px;border-radius:50%;border:3px solid rgba(120,220,255,.7);animation:holo-pulse 2.4s ease-out infinite}
.holo-etiquette{position:absolute;right:118px;top:50%;transform:translateY(-50%);white-space:nowrap;background:#0b0b0c;color:#fff;font:600 14px/1 system-ui,sans-serif;
  padding:10px 14px;border-radius:99px;box-shadow:0 8px 20px rgba(0,0,0,.2)}
@keyframes holo-pulse{0%{transform:scale(.95);opacity:.9}100%{transform:scale(1.35);opacity:0}}
.holo-panneau{position:fixed;right:18px;bottom:18px;z-index:61;width:340px;max-width:calc(100vw - 24px);height:min(600px,calc(100vh - 36px));
  border-radius:24px;overflow:hidden;color:#e8f8ff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:radial-gradient(120% 70% at 50% 100%,rgba(40,170,230,.35),rgba(4,12,24,0) 60%),linear-gradient(180deg,#07121f,#020509);
  box-shadow:0 30px 70px rgba(0,20,40,.45),inset 0 0 0 1px rgba(120,220,255,.25);
  opacity:0;transform:translateY(30px) scale(.96);pointer-events:none;transition:opacity .35s,transform .35s;display:flex;flex-direction:column}
.holo-panneau.ouvert{opacity:1;transform:none;pointer-events:auto}
.holo-scene{position:relative;flex:1;min-height:0}
.holo-scene canvas,.holo-scene video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.holo-socle{position:absolute;left:14%;right:14%;bottom:4px;height:26px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(140,230,255,.85),rgba(40,160,230,.25) 60%,rgba(0,0,0,0));filter:blur(2px);animation:holo-socle 3s ease-in-out infinite}
@keyframes holo-socle{50%{opacity:.7}}
.holo-sous{min-height:3.2em;margin:6px 18px 4px;text-align:center;font-size:15px;line-height:1.45;text-shadow:0 0 12px rgba(80,200,255,.6)}
.holo-fin{position:absolute;left:0;right:0;bottom:64px;display:flex;flex-direction:column;align-items:center;gap:10px}
.holo-fin[hidden]{display:none}
.holo-cta{background:#e2231a;color:#fff;text-decoration:none;font-weight:700;padding:13px 22px;border-radius:99px;box-shadow:0 10px 24px rgba(226,35,26,.4)}
.holo-rejouer{background:none;border:0;color:#bfefff;font:inherit;font-size:14px;cursor:pointer;text-decoration:underline}
.holo-cmd{display:flex;align-items:center;gap:12px;padding:8px 16px 14px}
.holo-son,.holo-fermer{border:0;cursor:pointer;color:#fff;background:rgba(255,255,255,.1);border-radius:50%;width:38px;height:38px;font-size:17px;line-height:1}
.holo-fermer{position:absolute;top:12px;right:12px;z-index:2;font-size:24px}
.holo-barre{flex:1;height:4px;border-radius:99px;background:rgba(255,255,255,.15);overflow:hidden}
.holo-barre i{display:block;height:100%;width:0;background:linear-gradient(90deg,#5fd3ff,#b6f0ff)}
@media(max-width:600px){
  .holo-bulle{right:16px;bottom:16px;width:86px;height:86px}
  .holo-etiquette{right:98px;font-size:13px;padding:9px 12px}
  .holo-panneau{left:0;right:0;bottom:0;width:auto;max-width:none;height:78vh;height:78dvh;border-radius:24px 24px 0 0}
}
@media(prefers-reduced-motion:reduce){.holo-anneau,.holo-socle,.holo-etiquette{animation:none!important}.holo-bulle,.holo-panneau{transition:none}}

/* thème clair : fond blanc, texte noir, image naturelle */
.holo-bulle.holo-clair{background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18),0 0 0 3px #fff,0 0 0 5px #e2231a}
.holo-bulle.holo-clair img{filter:none}
.holo-bulle.holo-clair .holo-anneau{border-color:rgba(226,35,26,.55)}
.holo-bulle.holo-clair .holo-etiquette{background:#fff;color:#0b0b0c;border:2px solid #e2231a;box-shadow:0 8px 24px rgba(0,0,0,.12);animation:holo-pulse-pil 2.4s ease-out infinite}
@keyframes holo-pulse-pil{0%{box-shadow:0 8px 24px rgba(0,0,0,.12),0 0 0 0 rgba(226,35,26,.45)}100%{box-shadow:0 8px 24px rgba(0,0,0,.12),0 0 0 11px rgba(226,35,26,0)}}
.holo-panneau.holo-clair{color:#0b0b0c;background:#fff;box-shadow:0 30px 70px rgba(0,0,0,.22),inset 0 0 0 1px #ececef}
.holo-clair .holo-socle{background:radial-gradient(closest-side,rgba(0,0,0,.18),rgba(0,0,0,0));filter:blur(4px);animation:none}
.holo-clair .holo-sous{text-shadow:none;font-weight:500}
.holo-clair .holo-son,.holo-clair .holo-fermer{background:#f2f2f4;color:#0b0b0c}
.holo-clair .holo-barre{background:#ececef}.holo-clair .holo-barre i{background:#e2231a}
.holo-clair .holo-rejouer{color:#5f6168}
