/* ╔══════════════════════════════════════════════════════════════════╗
   ║  VTEX Wallet — Première connexion (protocole LEGDAY, fond noir)   ║
   ║  Le héros, la liste des gestes et les règles qui ne changent pas.  ║
   ║  Même matière que l'écran de connexion et l'écran cartes : noir    ║
   ║  profond, un seul accent, l'or réservé aux moments rares.          ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Héros : la promesse, puis les gestes ────────────────────────── */
#view-premiere-connexion .fr-hero {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 4px 0 26px !important;
  padding: 26px 24px !important;
  border: 1px solid rgba(150, 165, 220, .14) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(142, 169, 255, .14), rgba(142, 169, 255, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)) !important;
  box-shadow: 0 34px 80px -56px #000 !important;
}
#view-premiere-connexion .fr-hero::after {
  content: "" !important;
  position: absolute !important;
  top: -40% !important;
  right: -20% !important;
  width: 280px !important;
  height: 280px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(230, 179, 78, .16) 0%, transparent 68%) !important;
  pointer-events: none !important;
}
#view-premiere-connexion .fr-hero-ic {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 17px !important;
  background: linear-gradient(180deg, #ffffff, #cdd8ff) !important;
  box-shadow: 0 16px 30px -18px rgba(142, 169, 255, .95) !important;
}
#view-premiere-connexion .fr-hero-title {
  position: relative !important;
  font: 640 30px/1.06 inherit !important;
  letter-spacing: -.03em !important;
  color: #fff !important;
}
#view-premiere-connexion .fr-hero-sub {
  position: relative !important;
  max-width: 56ch !important;
  font: 500 13.5px/1.58 inherit !important;
  color: var(--c-t2, #aab3d0) !important;
}
#view-premiere-connexion .fr-hero-cta {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 4px !important;
  padding: 6px 6px 6px 20px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffffff, #cdd8ff) !important;
  cursor: pointer !important;
  box-shadow: 0 20px 40px -26px rgba(142, 169, 255, .95) !important;
  transition: transform .16s ease, filter .16s ease !important;
}
#view-premiere-connexion .fr-hero-cta span:first-child {
  font-weight: 660 !important;
  font-size: 14.5px !important;
  color: #0a0d1e !important;
}
#view-premiere-connexion .fr-hero-cta-dot {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  background: #0a0d1e !important;
}
#view-premiere-connexion .fr-hero-cta:hover { filter: brightness(1.03) !important; }
#view-premiere-connexion .fr-hero-cta:active { transform: scale(.985) !important; }
#view-premiere-connexion .fr-hero-cta:focus-visible { outline: 2px solid rgba(142, 169, 255, .9) !important; outline-offset: 3px !important; }

/* ── Liste des gestes : une ligne = un geste, son état réel, son geste ── */
.fr-row { gap: 12px !important; }
.fr-row .switch-sub { max-width: 52ch !important; }
.fr-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(150, 165, 220, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--c-t1, #eef1fb);
  font: inherit;
  font-size: 12.5px;
  font-weight: 660;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
}
.fr-row-cta:hover { background: rgba(255, 255, 255, .10); border-color: rgba(142, 169, 255, .40); }
.fr-row-cta:active { transform: scale(.97); }
.fr-row-cta:focus-visible { outline: 2px solid rgba(142, 169, 255, .9); outline-offset: 2px; }

/* ── Règles qui ne changent pas ──────────────────────────────────── */
.fr-rules { padding: 6px 16px; }
.fr-rule {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(150, 165, 220, .12);
}
.fr-rule:last-child { border-bottom: none; }
.fr-rule-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--tx-bg, #5A6BD8);
  color: var(--tx-col, #fff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}
.fr-rule-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fr-rule-main b { color: var(--c-t1, #f5f7fc); font-size: 14px; font-weight: 660; letter-spacing: -.01em; }
.fr-rule-main i { color: var(--c-t2, #aab3d0); font-size: 12.5px; font-style: normal; line-height: 1.55; }

/* ── Titres de groupe : la respiration de l'écran ────────────────── */
#view-premiere-connexion .settings-group-lbl {
  color: var(--c-t3, #8d96b6) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
}

/* ── Desktop : la lecture se fait en colonnes larges ─────────────── */
@media (min-width: 900px) {
  #view-premiere-connexion .fr-hero { padding: 34px 32px !important; }
  #view-premiere-connexion .fr-hero-title { font-size: 38px !important; }
  #view-premiere-connexion .fr-hero-sub { font-size: 14.6px !important; }
  #view-premiere-connexion .fr-hero-cta { width: auto !important; min-width: 300px !important; align-self: flex-start !important; }
  .fr-rule-main b { font-size: 15px; }
  .fr-rule-main i { font-size: 13.2px; }
}

@media (max-width: 420px) {
  #view-premiere-connexion .fr-hero { padding: 22px 18px !important; border-radius: 24px !important; }
  #view-premiere-connexion .fr-hero-title { font-size: 26px !important; }
  .fr-row { flex-wrap: wrap; }
  .fr-row-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  #view-premiere-connexion .fr-hero-cta,
  .fr-row-cta { transition: none !important; }
}
