/* =========================================================================
   StoreBadges — official App Store + Google Play marks, reproduced as native
   black badges (no external assets, localized text). Shared across pages.
   ========================================================================= */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 52px;
  padding: 0 1.05rem 0 0.95rem;
  border-radius: 0.75rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.store-badge:active {
  transform: translateY(0);
}

.store-badge:focus-visible {
  outline: 2px solid #c9b8ff;
  outline-offset: 3px;
}

.store-badge__logo {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: #fff;
}

/* The Google Play mark reads a touch smaller at the same box size. */
.store-badge__logo--play {
  width: 23px;
  height: 23px;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.store-badge__pre {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
}

/* The official App Store lead-in is sentence case ("Télécharger dans"); only
   the Google Play lead-in ("DISPONIBLE SUR") is set in caps. */
.store-badge--android .store-badge__pre {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-badge__name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff;
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .store-badges {
    gap: 0.6rem;
  }

  .store-badge {
    height: 46px;
    padding: 0 0.85rem 0 0.75rem;
    gap: 0.5rem;
  }

  .store-badge__logo {
    width: 22px;
    height: 22px;
  }

  .store-badge__logo--play {
    width: 20px;
    height: 20px;
  }

  .store-badge__name {
    font-size: 1rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .store-badge {
    transition: border-color 0.25s ease;
  }

  .store-badge:hover {
    transform: none;
  }
}
