/* ═══════════════════════════════════════════════════════════
   assets/css/shop.css — Page abonnements Pulse
   Requires: design-system.css, base.css, landing.css
   ═══════════════════════════════════════════════════════════ */

.shop-page {
  padding: 120px 0 80px;
  min-height: 80vh;
}

/* ── Header ─────────────────────────────────────────────── */
.shop-page__head {
  text-align: center;
  margin-bottom: var(--s10);
}
.shop-page__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: var(--s3);
}
.shop-page__title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-text);
  font-weight: 400;
}
.shop-page__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Current plan banner ─────────────────────────────────── */
.shop-current-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--up-subtle, #F0FDF4);
  border: 1px solid var(--up-border, #BBF7D0);
  color: var(--up, #16A34A);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--s8);
}
.shop-current-plan[hidden] { display: none !important; }
.shop-current-plan i { font-size: 18px; flex-shrink: 0; }

/* ── Plans grid ──────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  max-width: 760px;
  margin: 0 auto var(--s10);
}

.shop-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--s8) var(--s6);
  position: relative;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.shop-card--featured {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-accent);
  transform: scale(1.02);
}
.shop-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.shop-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.shop-card__head { margin-bottom: var(--s6); }

.shop-card__name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-text);
  display: block;
  margin-bottom: var(--s3);
}

.shop-card__price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.shop-card__amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -.04em;
  line-height: 1;
  transition: opacity .18s;
}
.shop-card__unit {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}
.shop-card__unit > span:first-child {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
}
.shop-card__per {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-3);
  font-weight: 400;
}

.shop-card__billing {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--up, #16A34A);
  font-weight: 600;
  margin-top: var(--s2);
  background: var(--up-subtle, #F0FDF4);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}
.shop-card__billing[hidden] { display: none !important; }

/* ── Features list ───────────────────────────────────────── */
.shop-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: var(--s6);
  flex: 1;
}
.shop-card__features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-1);
}
.shop-card__features li i {
  color: var(--up, #16A34A);
  font-size: 14px;
  flex-shrink: 0;
}

/* ── CTA button ──────────────────────────────────────────── */
.shop-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .18s var(--ease-out);
  width: 100%;
}
.shop-card__cta--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.shop-card__cta--primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.shop-card__cta--outline {
  background: transparent;
  color: var(--accent-text);
  border: 1.5px solid var(--accent-border);
}
.shop-card__cta--outline:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
}
.shop-card__cta:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Guarantees bar ──────────────────────────────────────── */
.shop-guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s5) var(--s8);
  padding: var(--s6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s10);
}
.shop-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-2);
  font-weight: 500;
}
.shop-guarantee i {
  color: var(--accent);
  font-size: 16px;
}

/* ── FAQ inline ──────────────────────────────────────────── */
.shop-faq {
  max-width: 760px;
  margin: 0 auto var(--s8);
}
.shop-faq__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: var(--s6);
  text-align: center;
}
.shop-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.shop-faq__item {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s5);
}
.shop-faq__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-1);
  margin-bottom: var(--s2);
}
.shop-faq__item p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* ── Carte Lifetime ──────────────────────────────────────── */
/* Intentionnellement sombre pour contraster avec la page claire */
.shop-lifetime-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #1a1040 0%, #0C0A1E 60%, #1a1040 100%);
  border: 1.5px solid rgba(139, 92, 246, .45);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin: var(--s8) 0 0;
  position: relative;
  overflow: hidden;
}
.shop-lifetime-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, transparent 70%);
  pointer-events: none;
}

.shop-lifetime-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7c3aed, #6366F1);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--s3);
}

.shop-lifetime-card__left { flex: 1; }

.shop-lifetime-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #e8e6f0;
  margin-bottom: var(--s2);
  line-height: 1.2;
}
.shop-lifetime-card__title span { color: #a78bfa; }

.shop-lifetime-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(220,215,255,.65);
  line-height: 1.65;
  margin-bottom: var(--s4);
  max-width: 420px;
}

.shop-lifetime-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.shop-lifetime-card__features li {
  font-family: var(--font-body);
  font-size: 13px;
  color: #c4b5fd;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-lifetime-card__features .bi-check-lg {
  color: #7c3aed;
  font-size: 15px;
}

.shop-lifetime-card__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
  flex-shrink: 0;
}

.shop-lifetime-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.shop-lifetime-card__amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: #e8e6f0;
  line-height: 1;
}

.shop-card__cta--lifetime {
  background: linear-gradient(135deg, #7c3aed, #6366F1);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
  width: 100%;
}
.shop-card__cta--lifetime:hover {
  opacity: .9;
  transform: translateY(-2px);
}

/* ── Pricing toggle (morphing pill) ─────────────────────── */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  margin-top: var(--s6);
  margin-bottom: 0;
}
.pricing__toggle-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-2);
}
.pricing__toggle-save {
  display: inline-block;
  background: var(--up-subtle, #F0FDF4);
  color: var(--up, #16A34A);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}
.pricing__toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.pricing__toggle-switch.is-active { background: var(--accent); }
.pricing__toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s var(--ease-out);
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.pricing__toggle-switch.is-active .pricing__toggle-knob {
  transform: translateX(20px);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: 1fr; max-width: 400px; }
  .shop-card--featured { transform: none; }
  .shop-card--featured:hover { transform: translateY(-4px); }
  .shop-faq__grid { grid-template-columns: 1fr; }
  .shop-guarantees { gap: var(--s3) var(--s5); }
  .shop-page { padding: 100px 0 60px; }
  .shop-lifetime-card { flex-direction: column; gap: var(--s5); padding: 28px 24px; }
  .shop-lifetime-card__right { width: 100%; }
  .shop-lifetime-card__amount { font-size: 44px; }
}
