:root {
  --blue: #1c3661;
  --green: #1d8246;
  --gold: #cc9933;
  --orange: #ffa516;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #f4f6fa;
  --card: #ffffff;
  --line: #e6eaf1;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}
body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 50% -10%, #ffffff 0%, var(--bg) 55%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 24px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(28, 54, 97, 0.12);
}
.logo {
  width: 64px;
  height: 68px;
  margin: 0 auto 20px;
  display: block;
  color: #000;
}
.brand {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 24px;
}
h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 14px;
  line-height: 1.25;
}
p.lead {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 32px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 14px;
  transition: transform 0.08s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(29, 130, 70, 0.28);
}
.cta:hover { background: #17703c; }
.cta:active { transform: scale(0.98); }

/* Ligne de confirmation (copie du lien) */
.confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.confirm svg { flex: none; color: var(--green); }

/* Encart des étapes numérotées */
.steps {
  margin: 24px 0 0;
  padding: 2px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafbfd;
  text-align: left;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
}
.step + .step { border-top: 1px solid var(--line); }
.step-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-text {
  margin: 0;
  padding-top: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.step-text b { color: var(--blue); font-weight: 700; }

/* Spinner */
.spinner {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.9s linear infinite;
  display: none;
}
.cta.loading .spinner { display: inline-block; }
.cta.loading .cta-label { opacity: 0.85; }
@keyframes spin { to { transform: rotate(1turn); } }
