/* ==================================================================
   qr-event — feuille du site de vente.
   Nuit profonde et or, comme le logo. Aucun script : tout repose sur
   la structure, la couleur et l'espace.
   ================================================================== */

:root {
  --night-0: #0B0913;
  --night-1: #141021;
  --night-2: #1E1833;
  --ink: #EDE7DA;
  --ink-2: rgba(237, 231, 218, .62);
  --ink-3: rgba(237, 231, 218, .38);
  --gold: #D6B174;
  --gold-2: #E4C68F;
  --gold-deep: #B8905A;
  --line: rgba(214, 177, 116, .18);
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Karla', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(214, 177, 116, .10), transparent 60%),
    var(--night-0);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 640px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 18px 0 8px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin: 0 0 14px; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }

p { margin: 0 0 14px; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 720px; }
.muted { color: var(--ink-3); font-size: .92rem; }
code { background: var(--night-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* ------------------------------ héros ------------------------------ */
.hero {
  text-align: center;
  padding: 72px 0 64px;
}
.hero .logo { filter: drop-shadow(0 10px 30px rgba(214, 177, 116, .25)); }
.hero-sub { color: var(--ink-2); font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 640px; margin: 14px auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------ sections ------------------------------ */
.section { padding: 56px 0; }
.section-dark { background: linear-gradient(180deg, var(--night-1), var(--night-0)); }

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card {
  background: var(--night-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
}
.card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 0; }

/* ------------------------------ formules ------------------------------ */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}

.plan {
  background: var(--night-1);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-popular { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 24px 60px -30px rgba(214, 177, 116, .35); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 24px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #1A1208;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan-tag { color: var(--ink-3); font-size: .92rem; margin-bottom: 14px; }
.plan-price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--gold); margin: 0 0 2px; }
.plan-price small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--ink-3); }
.plan-events { font-weight: 600; margin-bottom: 12px; }
.plan ul { margin: 0 0 20px; padding: 0; list-style: none; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-2); font-size: .94rem; }
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
}
.plan-buy { margin-top: auto; }
.plan-buy .field { margin-bottom: 10px; }

/* ------------------------------ formulaires ------------------------------ */
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .86rem; color: var(--ink-2); margin-bottom: 6px; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  background: var(--night-2);
  border: 1px solid rgba(214, 177, 116, .22);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  outline: none;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 177, 116, .18); }
::placeholder { color: var(--ink-3); }

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #1A1208;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 22px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(214, 177, 116, .5); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-big { padding: 15px 28px; font-size: 1.02rem; }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(214, 177, 116, .06); }

/* ------------------------------ divers ------------------------------ */
.notice {
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.warn-store { background: rgba(255, 99, 88, .12); border: 1px solid rgba(255, 99, 88, .45); color: #ffb3ad; border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; }
.warn { background: rgba(214, 177, 116, .1); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; }
.panel { background: var(--night-1); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 18px; }

.store-main { min-height: 80vh; display: flex; align-items: center; padding: 48px 0; }

.foot-store { border-top: 1px solid var(--line); padding: 36px 0 44px; text-align: center; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
}