/* ═══════════════════════════════════════════════════════════════════
 * Viva Protect Show — Page de succès participant (v3.9.0)
 * Reproduit page_confirmation_visiteur.html. Noms de classes alignés
 * sur participants-template-success.php.
 * ═══════════════════════════════════════════════════════════════════ */

.vpsr-wrap {
  max-width: 780px;
  margin: 0 auto;
  color: #2a3354;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.vpsr-wrap *,
.vpsr-wrap *::before,
.vpsr-wrap *::after { box-sizing: border-box; }

/* La carte enveloppante (single card avec sections internes) */
.vpsr-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 29, 74, 0.06);
}

/* ── HERO ─────────────────────────────────────────────── */
.vpsr-hero {
  background: linear-gradient(135deg, #3b6fd9 0%, #4eaee0 100%);
  padding: 56px 32px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vpsr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1.5px, transparent 2px);
  background-size: 32px 32px;
  opacity: 0.7;
  pointer-events: none;
}
.vpsr-hero > * { position: relative; z-index: 1; }

.vpsr-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: #3b6fd9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.vpsr-check-circle {
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(15, 29, 74, 0.15);
  color: #3b6fd9;
}
.vpsr-check-circle svg { width: 36px; height: 36px; stroke-width: 3.5; }

.vpsr-hero-title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  color: #fff;
}
.vpsr-hero-subtitle {
  font-size: 17px;
  opacity: 0.95;
  max-width: 480px;
  margin: 0 auto;
  color: #fff;
  line-height: 1.5;
}
.vpsr-hero-subtitle strong { color: #fff; }

/* ── SECTION (chaque bloc dans la carte) ──────────────── */
.vpsr-section {
  padding: 32px;
  border-bottom: 1px solid #e8eef7;
}
.vpsr-section:last-child { border-bottom: none; }

.vpsr-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f1d4a;
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}

/* ── EVENT GRID (3 colonnes) ──────────────────────────── */
.vpsr-event-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.vpsr-event-block {
  flex: 1;
  min-width: 180px;
}
.vpsr-event-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #7a8bb8;
  margin-bottom: 6px;
}
.vpsr-event-label svg { color: #7a8bb8; }
.vpsr-event-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f1d4a;
  line-height: 1.3;
}
.vpsr-event-detail {
  font-size: 14px;
  color: #566080;
  margin-top: 2px;
}

/* ── SOIRÉE (encart fort) ─────────────────────────────── */
.vpsr-soiree-block {
  border-bottom: 1px solid #e8eef7;
}
.vpsr-soiree-inner {
  background: linear-gradient(135deg, #1a2f6b 0%, #3b6fd9 100%);
  border-radius: 12px;
  padding: 28px;
  color: #fff;
}
.vpsr-soiree-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #a8c5ff;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.vpsr-soiree-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}
.vpsr-soiree-content {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #d8e2f7;
}
.vpsr-soiree-content strong { color: #fff; }

/* ── STEPS ────────────────────────────────────────────── */
.vpsr-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vpsr-step {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f4f6fb;
  border-radius: 12px;
  align-items: flex-start;
}
.vpsr-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #3b6fd9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.vpsr-step-text {
  font-size: 14px;
  color: #2a3354;
  line-height: 1.55;
}
.vpsr-step-text strong { color: #0f1d4a; }

/* ── BUTTONS ──────────────────────────────────────────── */
.vpsr-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.vpsr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.vpsr-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 111, 217, 0.2);
}
.vpsr-btn-primary { background: #3b6fd9; color: #fff; }
.vpsr-btn-primary:hover { color: #fff; }
.vpsr-btn-secondary {
  background: #fff;
  color: #0f1d4a;
  border: 1px solid #d8e2f7;
}
.vpsr-btn-secondary:hover { color: #0f1d4a; }
.vpsr-btn-linkedin { background: #0a66c2; color: #fff; }
.vpsr-btn-linkedin:hover { color: #fff; }

/* ── DISCOVERY GRID ───────────────────────────────────── */
.vpsr-discovery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.vpsr-discovery-item {
  display: block;
  padding: 18px;
  background: linear-gradient(135deg, #f4f6fb 0%, #e8eef7 100%);
  border-radius: 12px;
  text-decoration: none;
  color: #0f1d4a;
  transition: transform 0.15s;
}
.vpsr-discovery-item:hover {
  transform: translateY(-2px);
  color: #0f1d4a;
}
.vpsr-discovery-icon {
  margin-bottom: 8px;
  color: #3b6fd9;
  line-height: 1;
}
.vpsr-discovery-icon svg { width: 28px; height: 28px; }
.vpsr-discovery-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #0f1d4a;
}
.vpsr-discovery-desc {
  font-size: 13px;
  color: #566080;
  line-height: 1.45;
}

/* ── CONTACTS ─────────────────────────────────────────── */
.vpsr-contacts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.vpsr-contact {
  flex: 1;
  min-width: 220px;
  padding: 16px;
  background: #f4f6fb;
  border-radius: 10px;
}
.vpsr-contact-name {
  font-weight: 700;
  color: #0f1d4a;
  font-size: 15px;
  margin-bottom: 8px;
}
.vpsr-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b6fd9;
  text-decoration: none;
  font-size: 14px;
  margin-top: 4px;
  word-break: break-word;
}
.vpsr-contact a + a { display: flex; }
.vpsr-contact a:hover { text-decoration: underline; }

/* ── FOOTER ───────────────────────────────────────────── */
.vpsr-footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 12px;
  color: #7a8bb8;
  line-height: 1.55;
  background: #fafbfd;
}
.vpsr-footer a {
  color: #566080;
  text-decoration: underline;
}
.vpsr-footer a:hover { color: #3b6fd9; }

/* ── MOBILE ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .vpsr-hero { padding: 40px 24px 36px; }
  .vpsr-hero-title { font-size: 28px; }
  .vpsr-section { padding: 24px 20px; }
  .vpsr-event-grid { flex-direction: column; gap: 16px; }
  .vpsr-btn { flex: 1; justify-content: center; }
}
