/* KICKOFF · Premium & Vies (Étape 2/3)
   S'appuie sur tokens.css (couleurs, .card, .btn, .pill, .stat, .h-disp, .kicker).
   Prefixe .pm- pour tout ce qui est propre à cet écran. Motif signature : le slash rouge. */

/* ---------- composant vies (réutilisable) ---------- */
.lv-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--txt);
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2);
  vertical-align: middle;
}
.lv-tag .lv-heart { fill: var(--red-glow); flex: none; }
.lv-tag b { font-style: italic; }
.lv-tag.lv-empty { color: var(--muted); }
.lv-tag.lv-empty .lv-heart { fill: var(--muted); }
.lv-tag.lv-inf {
  color: var(--gold);
  border-color: rgba(244, 195, 59, .4);
  background: rgba(244, 195, 59, .1);
}
.lv-tag.lv-inf .lv-heart { fill: var(--gold); }

/* ---------- bandeau statut ---------- */
.pm-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 20px;
}
.pm-hero-glow {
  position: absolute;
  top: -60%;
  right: -30%;
  width: 90%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(232, 0, 13, .34), transparent 70%);
  pointer-events: none;
  filter: blur(6px);
}
.pm-hero > * { position: relative; }
.pm-hero-title {
  font-size: 34px;
  line-height: .98;
  margin: 8px 0 10px;
  letter-spacing: .005em;
}
.pm-slash {
  color: var(--red);
  font-style: italic;
  text-shadow: 0 0 16px rgba(232, 0, 13, .8);
  padding: 0 .02em;
}
.pm-hero-lead {
  font-size: 14px;
  color: rgba(244, 244, 246, .82);
  max-width: 34ch;
}
.pm-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.pm-hero-stats .stat-v { display: flex; align-items: center; min-height: 24px; }

/* variante premium actif : bascule dorée */
.pm-hero-on {
  background: linear-gradient(150deg, rgba(244, 195, 59, .16), var(--ink-2) 64%);
  border-color: rgba(244, 195, 59, .42);
}
.pm-hero-on .pm-hero-glow {
  background: radial-gradient(closest-side, rgba(244, 195, 59, .3), transparent 70%);
}
.pm-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 24px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.pm-badge .pm-slash { font-size: 26px; }
.pm-hero-lead + .pm-hero-until { margin-top: 8px; }
.pm-hero-until { font-size: 13px; }

/* ---------- sections ---------- */
.pm-sec { margin-top: 2px; }
.pm-sec .card-head { margin-bottom: 10px; }

/* ---------- avantages ---------- */
.pm-perks { display: flex; flex-direction: column; gap: 2px; }
.pm-perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.pm-perk:last-child { border-bottom: none; }
.pm-perk-slash {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--red);
  flex: none;
  width: 20px;
  text-align: center;
  text-shadow: 0 0 14px rgba(232, 0, 13, .55);
}
.pm-perk-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pm-perk-txt b {
  font-size: 15px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--txt);
}
.pm-perk-txt span { font-size: 13px; line-height: 1.45; }

/* ---------- offres premium ---------- */
.pm-offers { display: flex; flex-direction: column; gap: 10px; }
.pm-offer {
  position: relative;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  color: var(--txt);
  transition: transform .12s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.pm-offer:active { transform: scale(.985); }
.pm-offer-name {
  grid-column: 1;
  font-size: 18px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.pm-offer-sub { grid-column: 1; font-size: 12.5px; }
.pm-offer-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: var(--glow-red);
  white-space: nowrap;
}
.pm-offer-hot {
  background: linear-gradient(135deg, rgba(244, 195, 59, .14), var(--ink-3) 62%);
  border-color: rgba(244, 195, 59, .45);
  padding-top: 26px;
}
.pm-offer-hot .pm-offer-name { color: var(--gold); }
.pm-offer-hot .pm-offer-cta {
  background: linear-gradient(135deg, var(--gold), #d89e1f);
  color: #1a1205;
  box-shadow: 0 8px 22px rgba(244, 195, 59, .3);
}
.pm-offer-flag {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 9.5px;
  color: #1a1205;
  background: var(--gold);
  padding: 3px 12px 3px 14px;
  border-radius: var(--radius) 0 12px 0;
}

/* ---------- système de vies ---------- */
.pm-lives { padding: 16px; }
.pm-lives-lead { font-size: 13.5px; color: rgba(244, 244, 246, .82); margin-bottom: 12px; }
.pm-how { display: flex; flex-direction: column; gap: 10px; }
.pm-how-row { display: flex; gap: 11px; align-items: flex-start; }
.pm-how-sign, .pm-led-sign {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  flex: none;
}
.pm-how-sign {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1;
}
.pm-plus { color: var(--green); background: rgba(34, 197, 94, .12); }
.pm-minus { color: var(--red-glow); background: rgba(232, 0, 13, .12); }
.pm-how-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pm-how-txt b { font-size: 13.5px; }
.pm-how-txt span { font-size: 12.5px; line-height: 1.4; }

.pm-recharge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.pm-recharge-btn {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 13px 10px;
  cursor: pointer;
  color: var(--txt);
  transition: transform .12s ease, border-color .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.pm-recharge-btn:active { transform: scale(.97); }
.pm-recharge-btn:hover { border-color: rgba(232, 0, 13, .5); background: rgba(232, 0, 13, .06); }
.pm-recharge-btn b {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--red-glow);
}
.pm-recharge-btn span {
  font-family: var(--disp);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- journal des vies ---------- */
.pm-ledger { display: flex; flex-direction: column; gap: 2px; }
.pm-led-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.pm-led-row:last-child { border-bottom: none; }
.pm-led-sign {
  font-size: 16px;
  min-width: 34px;
}
.pm-led-txt { display: flex; flex-direction: column; gap: 1px; }
.pm-led-txt b { font-size: 14px; }
.pm-led-txt span { font-size: 11.5px; }

/* ---------- pied ---------- */
.pm-foot {
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  padding: 4px 8px 8px;
}

/* ---------- état occupé pendant l'achat ---------- */
.pm-busy { opacity: .6; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  .pm-offer, .pm-recharge-btn { transition: none; }
}
