/* ============================================================================
   pf-landing-2026.css — Élévation PREMIUM (additive) de la vitrine publique
   pulsiforms_landing_vision.html (servie à "/").
   ----------------------------------------------------------------------------
   OBJECTIF : niveau SaaS 2026 (Stripe/Linear/Vercel) + conversion visiteur →
   connexion, EN CONSERVANT le contenu éditorial et toutes les affirmations
   verrouillées (tests tests/regression/landing-wysiwyg-stability-claims.test.js).

   CONTRAT :
     • Purement ADDITIF. Chargé APRÈS le <style> inline → gagne la cascade à
       spécificité égale, sans !important.
     • Réutilise les tokens de marque déjà définis dans le <style> inline
       (--gold, --gold-l, --gold-p, --g1..g3, --gray, --gray-l, --white,
       --gold-faint) : AUCUNE nouvelle couleur de marque, AUCUNE var globale
       redéfinie.
     • Aucun script requis : les CTA restent câblés par modules/landing-vision.js
       via [data-pf-nav] (CSP script-src 'self' respectée).
   ============================================================================ */

/* Ancrages doux + décalage sous le header sticky */
html { scroll-behavior: smooth; }

/* --------------------------------------------------------------------------
   1. Header premium sticky
   -------------------------------------------------------------------------- */
.pf-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  max-width: 1120px; margin: 0 auto;
  padding: 16px 28px;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.pf-topbar.pf-topbar--solid {
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(109, 93, 252, 0.16);
}
.pf-topbar__brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex: 0 0 auto;
}
.pf-topbar__brand img { width: 38px; height: 38px; object-fit: contain; display: block; }
.pf-topbar__brand span {
  font-weight: 800; font-size: 22px; letter-spacing: .3px;
  background: linear-gradient(135deg, #6D5DFC, #00C2FF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pf-topbar__nav {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto; margin-right: 4px;
}
.pf-topbar__nav a {
  font-size: 13px; font-weight: 400; color: var(--gray-l);
  text-decoration: none; letter-spacing: .01em; transition: color .18s ease;
}
.pf-topbar__nav a:hover { color: var(--gold); }
.pf-topbar__cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 9px 20px; border-radius: 10px; border: none; cursor: pointer;
  color: var(--g1);
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  box-shadow: 0 8px 22px -10px rgba(109, 93, 252, .8), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  flex: 0 0 auto;
}
.pf-topbar__cta:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 28px -10px rgba(109,93,252,.9), inset 0 1px 0 rgba(255,255,255,.28); }
.pf-topbar__cta:active { transform: translateY(0); }

/* Décalage d'ancre pour ne pas passer sous le header (toutes les ancres de section) */
.section-label[id] { scroll-margin-top: 84px; }

/* La grille interne reste à 820px ; on élargit un peu le hero pour l'ampleur */
.page { max-width: 860px; }

/* --------------------------------------------------------------------------
   2. Hero — hiérarchie CTA + bandeau de confiance factuel
   -------------------------------------------------------------------------- */
.hero { padding-top: 56px; }
.hero .btn-gold {
  box-shadow: 0 10px 26px -12px rgba(109, 93, 252, .8), inset 0 1px 0 rgba(255,255,255,.2);
}
.hero .btn-gold:hover { box-shadow: 0 16px 34px -12px rgba(109,93,252,.9), inset 0 1px 0 rgba(255,255,255,.26); }

.pf-trust {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 14px; margin: 30px auto 0; max-width: 640px;
}
.pf-trust__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 400; letter-spacing: .04em;
  color: var(--gray-l);
  border: 1px solid rgba(109, 93, 252, 0.18);
  border-radius: 999px; padding: 6px 14px;
  background: rgba(109, 93, 252, 0.05);
}
.pf-trust__item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: 0 0 5px;
}

/* --------------------------------------------------------------------------
   3. Micro-interactions premium (survol) — GPU-friendly
   -------------------------------------------------------------------------- */
.mod, .pillar, .flow-step, .metric {
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.pillar:hover, .flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(109,93,252,.12);
}
.mod:hover { transform: translateY(-2px); }
.metric:hover { transform: translateY(-2px); background: var(--g3); }

/* --------------------------------------------------------------------------
   4. Révélations d'entrée (armées par landing-vision.js ; JS off = visible)
   -------------------------------------------------------------------------- */
html.pf-reveal-ready .pf-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}
html.pf-reveal-ready .pf-reveal.pf-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   5. Accessibilité (WCAG AA)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   6. Mouvement réduit — respecte prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.pf-reveal-ready .pf-reveal { opacity: 1; transform: none; transition: none; }
  .mod:hover, .pillar:hover, .flow-step:hover, .metric:hover { transform: none; }
  .hero-badge .dot { animation: none; }
}

/* --------------------------------------------------------------------------
   7. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .pf-topbar { padding: 12px 20px; }
}
@media (max-width: 640px) {
  .pf-topbar__nav { display: none; }              /* nav condensée : logo + Se connecter */
  .pf-topbar { padding: 11px 18px; }
  .pf-topbar__cta { padding: 9px 16px; }
  .pf-trust { gap: 8px; }
  .pf-trust__item { font-size: 11px; padding: 5px 12px; }
}
