/* app/static/css/visite_guidee.css — visite guidee de premier accueil
   (lot 8c). Exception assumee a la charte (accent bleu unique) : ce
   fichier seul utilise des couleurs vives hors palette --acc, aucun
   autre ecran n'en herite (voir spec §4). */
.vg-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15, 15, 20, .78);
  clip-path: polygon(
    0 0, 100% 0, 100% 100%, 0 100%, 0 0,
    var(--vg-trou-gauche, 0) var(--vg-trou-haut, 0),
    var(--vg-trou-gauche, 0) calc(var(--vg-trou-haut, 0px) + var(--vg-trou-hauteur, 0px)),
    calc(var(--vg-trou-gauche, 0px) + var(--vg-trou-largeur, 0px)) calc(var(--vg-trou-haut, 0px) + var(--vg-trou-hauteur, 0px)),
    calc(var(--vg-trou-gauche, 0px) + var(--vg-trou-largeur, 0px)) var(--vg-trou-haut, 0),
    var(--vg-trou-gauche, 0) var(--vg-trou-haut, 0)
  );
}

.vg-bulle {
  position: fixed;
  z-index: 9001;
  max-width: 320px;
  background: linear-gradient(135deg, #ff8a5c, #ff5c8a);
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  animation: vg-entree .25s ease-out;
}

@keyframes vg-entree {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.vg-barre-globale {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  margin-bottom: 10px;
  overflow: hidden;
}

.vg-barre-globale-remplie {
  height: 100%;
  background: #fff;
  transition: width .2s ease;
}

.vg-mini-barre {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.vg-mini-point {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
}

.vg-mini-point-vue {
  background: #fff;
}

.vg-texte {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.vg-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.vg-bouton-passer {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.vg-bouton-suivant {
  background: #fff;
  color: #ff5c8a;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.vg-confettis {
  position: fixed;
  inset: 0;
  z-index: 9002;
  pointer-events: none;
}
