/* Visite guidée : projecteur (voile + zone claire) et bulle, au-dessus de tout. */

.visite {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

/* La zone éclairée reste claire ; le reste du mur est assombri par l'ombre géante. */
.visite__projecteur {
  position: fixed;
  border-radius: 14px;
  box-shadow: 0 0 0 100vmax rgba(43, 36, 32, .62);
  outline: 2px solid var(--moutarde);
  outline-offset: 2px;
  pointer-events: none;
  transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease;
}

.visite__bulle {
  position: fixed;
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  padding: 18px 20px;
  background: var(--papier);
  color: var(--encre);
  border-radius: 12px;
  box-shadow: var(--ombre-2, 0 8px 24px rgba(43, 36, 32, .25));
  pointer-events: auto;
  transition: left .25s ease, top .25s ease;
}

.visite__compte {
  margin: 0 0 6px;
  font-size: .8rem;
  color: var(--encre-douce);
}

.visite__texte {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.visite__texte:focus {
  outline: none;
}

.visite__commandes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.visite__commandes > .visite__bouton:first-child {
  margin-right: auto;
}

.visite__bouton {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--bord);
  border-radius: 999px;
  background: transparent;
  color: var(--encre);
  font: inherit;
  cursor: pointer;
}

.visite__bouton--plein {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--papier);
}

.visite__bouton:disabled {
  opacity: .45;
  cursor: default;
}

.visite__bouton:focus-visible {
  outline: 3px solid var(--moutarde);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .visite__projecteur,
  .visite__bulle {
    transition: none;
  }
}
