/* PRATINIUM v62 — corrections visibles après retour capture: header CTA, hero titre/badge, parcours style v59 */

/* 1) HEADER — rendre les textes Acheter/Voter/Investir parfaitement lisibles */
#header .pf-header-ctas .pf-btn,
#header .pf-header-centerline .pf-header-ctas .pf-btn,
.pf-header-ctas .pf-btn {
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
  filter: none !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .10), inset 0 1px 0 rgba(255,255,255,.72) !important;
}
#header .pf-header-ctas .pf-btn--ghost,
#header .pf-header-centerline .pf-header-ctas .pf-btn--ghost,
.pf-header-ctas .pf-btn--ghost {
  background: linear-gradient(180deg, #e9fbff, #d8f6fb) !important;
  color: #0f3f5e !important;
  border-color: #63dff4 !important;
}
#header .pf-header-ctas .pf-btn--secondary,
#header .pf-header-centerline .pf-header-ctas .pf-btn--secondary,
.pf-header-ctas .pf-btn--secondary {
  background: linear-gradient(180deg, #ffffff, #eef3f8) !important;
  color: #0f172a !important;
  border-color: #d5dee8 !important;
}
#header .pf-header-ctas .pf-btn--primary,
#header .pf-header-centerline .pf-header-ctas .pf-btn--primary,
.pf-header-ctas .pf-btn--primary {
  background: linear-gradient(135deg, #ffd97a, #f5b43d) !important;
  color: #111827 !important;
  border-color: #f5b43d !important;
}
#header .pf-header-ctas .pf-btn:hover { transform: translateY(-2px) !important; }

/* 2) HERO — le titre reste dans le disque sombre, sans écraser les autres éléments */
body#index .pf-hero,
body#index section.pf-hero {
  min-height: clamp(650px, 78vh, 860px) !important;
  overflow: hidden !important;
}
body#index .pf-hero__content {
  grid-template-columns: minmax(540px, .96fr) minmax(430px, .78fr) !important;
  align-items: center !important;
  gap: clamp(28px, 3.8vw, 56px) !important;
  padding: clamp(50px, 6vw, 82px) clamp(28px, 5vw, 72px) !important;
}
body#index .pf-hero__copy {
  position: relative !important;
  max-width: 760px !important;
  min-width: 0 !important;
  z-index: 4 !important;
}
body#index .pf-hero__badge {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  z-index: 6 !important;
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 0 22px 0 !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffe39c, #f7bf4d) !important;
  color: #123047 !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  box-shadow: 0 18px 46px rgba(247,191,77,.32), inset 0 1px 0 rgba(255,255,255,.72) !important;
}
body#index .pf-hero__badge-num,
body#index .pf-hero__badge-label { color: #123047 !important; text-shadow: none !important; opacity: 1 !important; }
body#index .pf-hero__title {
  max-width: 720px !important;
  font-size: clamp(3.05rem, 5.25vw, 5.75rem) !important;
  line-height: .91 !important;
  letter-spacing: -.068em !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  text-wrap: balance !important;
  overflow-wrap: normal !important;
}
body#index .pf-hero__subtitle {
  max-width: 640px !important;
  font-size: clamp(1.02rem, 1.36vw, 1.28rem) !important;
  line-height: 1.62 !important;
}

/* 3) BLOC PARCOURS — retour à l'esprit v59: sombre, intégré, sans débordement blanc */
body#index .pf-hero-journey {
  justify-self: end !important;
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 28px 30px 26px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(7, 19, 38, .72), rgba(7, 14, 28, .58)) !important;
  border: 1px solid rgba(181, 212, 244, .26) !important;
  box-shadow: 0 30px 80px rgba(2, 6, 23, .32), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(18px) saturate(1.05) !important;
  animation: none !important;
  color: #fff !important;
}
body#index .pf-hero-journey__head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-bottom: 24px !important;
}
body#index .pf-hero-journey__title {
  color: rgba(255,255,255,.72) !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  margin: 0 8px 0 0 !important;
  flex: 0 0 auto !important;
}
body#index .pf-hero-journey .pf-tabs {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}
body#index .pf-hero-journey .pf-tab,
body#index .pf-hero-journey__head .pf-tab {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(181,212,244,.28) !important;
  box-shadow: none !important;
  font-size: .94rem !important;
  font-weight: 850 !important;
  text-shadow: none !important;
}
body#index .pf-hero-journey .pf-tab--active,
body#index .pf-hero-journey .pf-tab[aria-selected="true"] {
  background: rgba(181,212,244,.92) !important;
  color: #102033 !important;
  border-color: rgba(255,255,255,.70) !important;
  box-shadow: 0 12px 28px rgba(181,212,244,.18) !important;
}
body#index .pf-hero-login-cta,
body#index .pf-hero-journey__head .pf-hero-login-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  margin-left: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ffd97a, #f4b43d) !important;
  color: #111827 !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow: 0 16px 38px rgba(244,180,61,.22) !important;
  text-decoration: none !important;
  font-size: .92rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body#index .pf-hero-journey .pf-steps {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  overflow: hidden !important;
}
body#index .pf-hero-journey .pf-steps[hidden] { display: none !important; }
body#index .pf-hero-journey .pf-step {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  color: #fff !important;
}
body#index .pf-hero-journey .pf-step__num {
  width: 38px !important;
  height: 38px !important;
  margin: 0 auto 12px !important;
  border-radius: 999px !important;
  background: rgba(55,138,221,.36) !important;
  color: #cbe7ff !important;
  border: 1px solid rgba(115,181,245,.74) !important;
  font-weight: 900 !important;
}
body#index .pf-hero-journey .pf-step__title {
  color: #fff !important;
  font-size: .96rem !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  margin: 0 0 7px !important;
  text-shadow: none !important;
}
body#index .pf-hero-journey .pf-step__desc {
  color: rgba(255,255,255,.68) !important;
  font-size: .78rem !important;
  font-weight: 650 !important;
  line-height: 1.38 !important;
  max-width: 170px !important;
  margin: 0 auto !important;
}
body#index .pf-hero-journey .pf-step__arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 28px !important;
  color: rgba(181,212,244,.30) !important;
  font-size: 1.25rem !important;
}

/* 4) Responsive sécurité */
@media (max-width: 1199px) {
  body#index .pf-hero__content { grid-template-columns: 1fr !important; }
  body#index .pf-hero__copy { max-width: 760px !important; }
  body#index .pf-hero-journey { justify-self: start !important; width: min(100%, 760px) !important; max-width: 760px !important; }
}
@media (max-width: 767px) {
  body#index .pf-hero__content { padding: 42px 16px !important; text-align: left !important; }
  body#index .pf-hero__title { font-size: clamp(2.55rem, 12vw, 4.15rem) !important; max-width: 100% !important; }
  body#index .pf-hero__subtitle { max-width: 100% !important; }
  body#index .pf-hero-journey { padding: 22px 16px !important; border-radius: 20px !important; }
  body#index .pf-hero-journey__head { display: grid !important; grid-template-columns: 1fr !important; }
  body#index .pf-hero-journey .pf-tabs { display: grid !important; grid-template-columns: 1fr !important; width: 100% !important; }
  body#index .pf-hero-journey .pf-tab,
  body#index .pf-hero-login-cta { width: 100% !important; }
  body#index .pf-hero-journey .pf-steps { grid-template-columns: 1fr !important; }
  body#index .pf-hero-journey .pf-step__arrow { display: none !important; }
}