/* Smirk — pages compte / achat (téléphone) et fenêtres de connexion */
@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root { --ink: #14110f; --cream: #f3eee6; --dim: #b9b1a4; --line: rgba(255,255,255,.14); --acc: #ff7a1a; }
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { background: #0c0b0a; }
body.acct { min-height: 100vh; font-family: 'DM Sans', system-ui, sans-serif; color: var(--cream); font-weight: 500;
  background: radial-gradient(ellipse at 50% -10%, #35302c 0%, #1a1816 48%, #0c0b0a 100%) fixed; }
.wrap { max-width: 520px; margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) 18px 40px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 17px 'Unbounded', sans-serif; letter-spacing: .06em; margin-bottom: 26px; }
.brand a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; }
h1 { font: 800 clamp(24px, 6.4vw, 32px)/1.1 'Unbounded', sans-serif; letter-spacing: -.01em; }
.lead { margin-top: 10px; color: var(--dim); font-size: 17px; line-height: 1.45; }
.card { margin-top: 18px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.card h2 { font: 800 15px 'Unbounded', sans-serif; letter-spacing: .01em; }
.card p { margin-top: 6px; color: var(--dim); font-size: 15px; line-height: 1.4; }
.price { font: 800 28px 'Unbounded', sans-serif; margin-top: 10px; }
.price small { font: 500 15px 'DM Sans', sans-serif; color: var(--dim); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 14px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--cream); color: var(--ink); font: 700 17px 'DM Sans', sans-serif; text-decoration: none; transition: transform .15s, opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.hot { background: var(--acc); color: #1b0d00; }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); height: 44px; font-size: 15px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,122,26,.18); color: #ffb27a; font: 700 12px 'DM Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.msg { margin-top: 16px; min-height: 22px; font-weight: 700; color: #ff8a96; }
.ok { color: #8ee6b3; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.who img, .who i { width: 38px; height: 38px; border-radius: 50%; background: #3a342e; object-fit: cover; flex: none; font-style: normal; display: grid; place-items: center; font-weight: 800; }
.who b { display: block; font-size: 16px; } .who span { font-size: 14px; color: var(--dim); }
.gbtn { margin-top: 18px; display: flex; justify-content: center; min-height: 44px; }
.fine { margin-top: 22px; font-size: 13px; color: #8d8578; line-height: 1.5; text-align: center; }
.fine a { color: inherit; }
.big { font-size: 56px; text-align: center; margin: 26px 0 6px; }
/* fenêtre (hub) */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(8,7,6,.78); backdrop-filter: blur(6px); }
.modal .box { width: min(440px, 100%); padding: 24px; border-radius: 22px; background: #1d1a17; border: 1px solid var(--line); position: relative; }
.modal .x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--dim); font-size: 26px; cursor: pointer; }
.qrbox { margin: 16px auto 0; width: 210px; height: 210px; padding: 10px; background: #fff; border-radius: 14px; }
.qrbox svg { width: 100%; height: 100%; display: block; }
.sep { margin: 18px 0 2px; text-align: center; color: var(--dim); font-size: 14px; }

.tag.crowned { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,196,58,.16); color: #ffd877; }
/* ordinateur : pages centrées et plus grandes */
@media (min-width: 820px) {
  body.acct { display: flex; justify-content: center; }
  .wrap { max-width: 1000px; width: 100%; padding: 56px 40px 70px; }
  .brand { justify-content: center; font-size: 22px; margin-bottom: 36px; }
  h1 { font-size: 42px; text-align: center; }
  .lead { text-align: center; font-size: 20px; max-width: 680px; margin-left: auto; margin-right: auto; }
  #offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 30px; }
  #offers .card { margin-top: 0; padding: 26px; display: flex; flex-direction: column; }
  #offers .card h2 { font-size: 19px; }
  #offers .card p { font-size: 17px; flex: 1; }
  #offers .price { font-size: 36px; }
  .card, .who, .gbtn, #login { max-width: 560px; margin-left: auto; margin-right: auto; }
  #offers .card:only-child { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; }
  .btn { height: 58px; font-size: 19px; }
  .msg, .fine { text-align: center; }
  .big { font-size: 80px; margin-top: 60px; }
  #portal { display: flex; margin-left: auto; margin-right: auto; max-width: 360px; }
  #home { max-width: 360px; margin: 24px auto 0; }
}
