/* ViSAgree — vitrine : pré-production d'événement et jour J.
   Mobile d'abord : une seule colonne, tout lisible à 390px. */

/* ---------- Bandeau d'accroche métier ---------- */
.vp-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 8px;
}
.vp-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.vp-strip span i { color: var(--accent); display: inline-flex; }

/* ---------- Frise des 5 temps de la pré-production ---------- */
.vp-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.vp-flow-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.vp-flow-num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft, #efeafe);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.vp-flow-item h3 { margin: 0; font-size: 15.5px; }
.vp-flow-item p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; }

/* ---------- Maquette de téléphone ---------- */
.vp-phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 15, 38, .10);
  overflow: hidden;
}
.vp-phone-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fafafb;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.vp-phone-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #e2e2ea; }
.vp-phone-body { padding: 14px; }
.vp-phone-title { font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.vp-phone-sub { font-size: 11.5px; color: var(--muted); margin: 0 0 12px; }

/* ---------- Compteurs de suivi en temps réel ---------- */
.vp-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.vp-kpi {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  background: #fafafb;
}
.vp-kpi .v { font-size: 19px; font-weight: 800; line-height: 1.1; }
.vp-kpi .l { font-size: 10.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }
.vp-kpi.ok .v { color: #12805c; }
.vp-kpi.wait .v { color: #b26a00; }

/* ---------- Barre de progression de collecte ---------- */
.vp-bar {
  height: 8px;
  border-radius: 6px;
  background: #ececf2;
  overflow: hidden;
  margin: 4px 0 12px;
}
.vp-bar i { display: block; height: 100%; background: var(--accent); }

/* ---------- Lignes de personnes suivies ---------- */
.vp-rows { display: grid; gap: 6px; }
.vp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.vp-row .who { flex: 1 1 auto; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-pill {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ececf2;
  color: var(--muted);
}
.vp-pill.ok { background: #e4f5ee; color: #12805c; }
.vp-pill.wait { background: #fdf1dd; color: #b26a00; }
.vp-pill.no { background: #fdeaea; color: #b3261e; }

/* ---------- Étapes du jour J ---------- */
.vp-day {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.vp-day-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}
.vp-day-card h3 { margin: 0 0 6px; font-size: 16.5px; }
.vp-day-card > p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.vp-day .vp-phone { margin: 0; max-width: 100%; }

/* ---------- QR affiché ---------- */
.vp-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fafafb;
  text-align: center;
}
.vp-qr-img {
  width: 132px;
  height: 132px;
  border: 6px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 15, 38, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.vp-qr p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.vp-qr strong { font-size: 13px; color: var(--ink); }

/* ---------- Grille des métiers ---------- */
.vp-jobs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.vp-job {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.vp-job-ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft, #efeafe);
  color: var(--accent);
}
.vp-job h3 { margin: 0; font-size: 15.5px; }
.vp-job .punch {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.vp-job .proof {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Accroches chocs ---------- */
.vp-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.vp-quote {
  border-left: 3px solid var(--accent);
  padding: 10px 0 10px 14px;
}
.vp-quote p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.vp-quote span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

/* ---------- Capture d'écran envoyée par le propriétaire ----------
   Emplacement facultatif : tant qu'aucune image n'est envoyée depuis
   l'administration, la maquette dessinée en CSS reste affichée. */
.vp-shot-wrap {
  margin-top: 24px;
  text-align: center;
}
.vp-shot {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 15, 38, .10);
}

/* ---------- Ordinateur : on passe côte à côte ---------- */
@media (min-width: 768px) {
  .vp-flow { grid-template-columns: repeat(2, 1fr); }
  .vp-day { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .vp-jobs { grid-template-columns: repeat(2, 1fr); }
  .vp-quotes { grid-template-columns: repeat(3, 1fr); }
  .vp-kpis { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .vp-flow { grid-template-columns: repeat(3, 1fr); }
  .vp-jobs { grid-template-columns: repeat(3, 1fr); }
}
