:root{
  --primary:#cec3ba;
  --bg:#f1efee;
  --white:#ffffff;
  --text:#1e1e1e;
  --muted:#6b6b6b;
  --border:rgba(0,0,0,.10);
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
}

.container{max-width:820px;margin:0 auto;padding:18px}
.topbar{
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.brand{
  font-weight:700;
  letter-spacing:.2px;
  padding:10px 0;
}
.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  margin:14px 0;
}
.title{
  margin:0 0 6px 0;
  font-size:20px;
  letter-spacing:.6px;
}
.subttl{
  font-weight:700;
  font-size:14px;
  letter-spacing:.6px;
}
.muted{color:var(--muted)}
.hint{color:var(--muted);font-size:13px}
.label{display:block;font-weight:700;font-size:13px;letter-spacing:.4px;margin-bottom:8px}
.req{color:#b00020}
.mt8{margin-top:8px}
.mt12{margin-top:12px}
.mt16{margin-top:16px}

.input, .select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  outline:none;
  font-size:15px;
  background:#fff;
}
.input:focus, .select:focus{
  border-color:rgba(0,0,0,.25);
  box-shadow:0 0 0 4px rgba(206,195,186,.35);
}

.btn{
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-weight:800;
  letter-spacing:.6px;
  cursor:pointer;
  background:var(--primary);
  color:#1e1e1e;
}
.btn:disabled{opacity:.55;cursor:not-allowed}
.btn.secondary{
  background:transparent;
  border:1px solid var(--border);
  text-align:center;
  display:inline-block;
  text-decoration:none;
  color:var(--text);
}

.pre{
  white-space:pre-line;
  background:rgba(206,195,186,.18);
  border:1px dashed rgba(0,0,0,.10);
  padding:12px;
  border-radius:12px;
  margin-top:10px;
}

.qrWrap{display:flex;justify-content:center;align-items:center;margin-top:12px}
.qrImg{width:220px;max-width:70vw;height:auto;border-radius:14px;border:1px solid var(--border);background:#fff}

.tarifsImg{width:100%;max-width:520px;height:auto;border-radius:14px;border:1px solid var(--border);display:block}
.link{display:inline-block;margin-top:10px;color:#2b2b2b}

.footer{padding:26px 0}

/* dropdown */
.field{position:relative}
.dropdown{
  position:absolute;
  left:0; right:0;
  top:46px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:var(--shadow);
  overflow:hidden;
  z-index:10;
  display:none;
}
.dropdown.open{display:block}
.dd-item{
  padding:10px 12px;
  cursor:pointer;
  font-size:14px;
}
.dd-item:hover{background:rgba(206,195,186,.22)}
.row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}

/* honeypot invisible */
.hp{
  position:absolute;
  left:-9999px;
  opacity:0;
  height:0;
}

.msg{
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(206,195,186,.18);
}