/*
 * IMMGO — Écrans de la vente sur plan (acheteur, prospect) : soleil et lumière (09), partage avec un proche (08)
 * (préfixe vsp-)
 * Auteur : Jacks Ngalangala
 */
/* ---------- 09 : soleil ---------- */
.vsp-heure {
  display: flex;
  flex-direction: column;
  gap: var(--e-2);
}
.vsp-heure-piste {
  position: relative;
  height: 44px;
  border-radius: var(--r-pilule);
  background: linear-gradient(90deg, #f3d9a4 0%, #fbf0d6 30%, #fffaf0 50%, #fbf0d6 70%, #efc98a 100%);
  border: 1px solid var(--or-trait);
}
.vsp-heure-curseur {
  position: absolute;
  top: 50%;
  left: calc(22px + (100% - 44px) * var(--position, 0) / 100);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--or);
  color: var(--surface);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: var(--ombre-2);
  pointer-events: none;
}
.vsp-heure-curseur svg {
  width: 20px;
  height: 20px;
}
.vsp-heure-saisie {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.vsp-heure-piste:focus-within {
  box-shadow: var(--anneau);
}

/* ---------- 08 : partage ---------- */
.vsp-apercu-proche {
  border-radius: var(--r-grand);
  border: 1px solid var(--trait);
  background: var(--surface);
  overflow: hidden;
}
.vsp-apercu-proche-tete {
  display: flex;
  align-items: center;
  gap: var(--e-2);
  padding: var(--e-3) var(--e-4);
  background: var(--surface-douce);
  border-bottom: 1px solid var(--trait);
  color: var(--texte-second);
}
.vsp-apercu-proche-tete svg {
  width: 18px;
  height: 18px;
}
.vsp-apercu-corps {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--e-3);
  align-items: center;
  padding: var(--e-3);
}
.vsp-apercu-image {
  width: 96px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--r-moyen);
}
.vsp-avancement-mini {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--e-2);
  align-items: center;
}
.vsp-lien-partage {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  padding: var(--e-3) var(--e-4);
  border-radius: var(--r-moyen);
  background: var(--surface-douce);
  border: 1px dashed var(--or-trait);
  font-variant-numeric: tabular-nums;
}
.vsp-lien-partage span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.vsp-lien-partage svg {
  flex: none;
  color: var(--or-texte);
}
