:root {
  --green: #0f4c3a;
  --green-2: #075c03;
  --green-ink: #0b3a2c;
  --sand: #E8A020;
  --sand-soft: #fbe9c6;
  --cream: #f6f1e7;
  --ink: #1d2b25;
  --muted: #5f6f68;
  --line: #e2d9c8;
  --white: #fff;
  --danger: #b3261e;
  --ok: #1f7a4d;
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
.wrap { max-width: 480px; margin: 0 auto; padding: 24px 16px 48px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--green); font-weight: 600; font-size: 18px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
h1 { font-size: 28px; line-height: 1.15; margin: 0 0 8px; color: var(--green); font-weight: 600; }
p.lead { color: var(--muted); margin: 0 0 24px; font-size: 17px; }

/* Carte */
.card {
  background: var(--green);
  color: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px -18px rgba(15, 76, 58, .65);
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px 4px; }
.card-head .logo { height: 28px; }
.card-head .credit { text-align: right; }
.label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); font-weight: 600; }
.value { font-size: 18px; font-weight: 600; }
.card-strip { display: block; width: 100%; height: auto; }
.card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 4px 20px 20px; }
.card-fields .value.big { font-size: 26px; }

.panel { background: var(--white); border-radius: var(--radius); padding: 20px; margin-top: 18px; border: 1px solid var(--line); }
.panel h2 { font-size: 18px; margin: 0 0 10px; color: var(--green); font-weight: 600; }
.panel p { margin: 0 0 8px; color: var(--muted); }
.qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr #qrcode { padding: 12px; background: #fff; border-radius: 12px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; font-weight: 600; }

.wallet-buttons { display: grid; gap: 10px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-apple { background: #000; color: #fff; }
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.btn-primary { background: var(--sand); color: var(--ink); width: 100%; }
.btn-primary:hover { filter: brightness(.96); }
.btn svg { width: 22px; height: 22px; flex: none; }

form .field { margin-bottom: 14px; }
label.l { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=email], input[type=text], input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,76,58,.15); }
.notice { padding: 14px 16px; border-radius: 12px; margin: 0 0 18px; background: var(--sand-soft); color: var(--ink); }
.notice.ok { background: #e3f3ea; }
.notice.err { background: #fbe4e2; color: var(--danger); }
.steps { margin: 0; padding-left: 20px; color: var(--muted); }
.steps li { margin-bottom: 6px; }
.foot { margin-top: 28px; font-size: 13px; color: var(--muted); text-align: center; }
