/* ============================================================
   STICKY PRICING BAR — v91.0.0
   Bandeau mobile fixe en bas : promesse + CTA Premium 14,99 €/mois.
   Apparait au scroll après 600px, disparait quand on est dans
   la zone Pricing (#pricing) pour éviter la redondance.
   Desktop : caché (>= 860px).
   ============================================================ */

.sg-sticky-pricing {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  /* v94.9.5 — littéral navy hors tokens : les remaps light ne pouvaient pas l'atteindre */
  background: rgba(250, 248, 244, 0.96);
  border-top: 1px solid var(--lx-goldink-32, rgba(212, 162, 74, 0.32));
  box-shadow: 0 -8px 24px rgba(22, 19, 14, 0.14);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}

.sg-sticky-pricing.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sg-sticky-pricing-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sg-sticky-pricing-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--lx-goldink-7, rgba(228, 192, 126, 0.7));
  text-transform: uppercase;
  margin: 0;
}

.sg-sticky-pricing-promise {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--lx-ink, #F8F2DE);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sg-sticky-pricing-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--r-gold) 0%, #C9A24C 100%);
  color: #050816;
  border: none;
  border-radius: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s, box-shadow 0.18s;
}

.sg-sticky-pricing-cta:hover,
.sg-sticky-pricing-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(228, 192, 126, 0.35);
}

.sg-sticky-pricing-cta:active {
  transform: translateY(0);
}

/* Desktop : on cache la sticky bar — desktop a son propre pricing dans le flow */
@media (min-width: 860px) {
  .sg-sticky-pricing { display: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sg-sticky-pricing { transition: none; }
}
