/* Page Comment ça marche — alignée sur la trame accueil */
.pv-hiw-page { overflow-x: hidden; }

.pv-hiw-hero {
  position: relative;
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
  overflow: hidden;
}
.pv-hiw-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 30%;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(124, 92, 255, 0.28), transparent 70%);
  pointer-events: none;
}
.pv-hiw-hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(167, 139, 250, 0.9), transparent),
    radial-gradient(1px 1px at 78% 12%, rgba(96, 165, 250, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 44% 8%, rgba(196, 181, 253, 0.7), transparent),
    radial-gradient(1px 1px at 88% 32%, rgba(34, 211, 238, 0.6), transparent),
    radial-gradient(1px 1px at 22% 42%, rgba(167, 139, 250, 0.5), transparent);
}
.pv-hiw-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
}
.pv-hiw-mascot {
  width: clamp(64px, 16vw, 88px);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 18px rgba(124, 92, 255, 0.45));
  animation: pvHiwFloat 3.5s ease-in-out infinite;
}
@keyframes pvHiwFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.pv-hiw-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.45);
  color: #c4b5fd;
  margin-bottom: 0.85rem;
}
.pv-hiw-hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  background: linear-gradient(120deg, #fff 0%, #a78bfa 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pv-hiw-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.pv-hiw-pipeline {
  padding: 2rem 0 3rem;
}
.pv-hiw-pipeline-title {
  text-align: center;
  margin-bottom: 2rem;
}
.pv-hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 820px) {
  .pv-hiw-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pv-hiw-steps { grid-template-columns: 1fr; }
}
.pv-hiw-step {
  position: relative;
  padding: 1.25rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(124, 92, 255, 0.22);
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.08), rgba(10, 14, 39, 0.85));
  text-align: left;
}
.pv-hiw-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #c4b5fd;
  background: rgba(124, 92, 255, 0.2);
  margin-bottom: 0.65rem;
}
.pv-hiw-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: #f1f5f9;
}
.pv-hiw-step p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.pv-hiw-features {
  background: linear-gradient(180deg, #0a0e27 0%, #0d1130 50%, #0a0e27 100%);
  padding: 3rem 0 3.5rem;
}
.pv-hiw-features .section-sub {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.pv-hiw-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.25rem;
}
@media (max-width: 720px) {
  .pv-hiw-feat-grid { grid-template-columns: 1fr; }
}
.pv-hiw-feat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.55);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pv-hiw-feat:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 12px 36px rgba(124, 92, 255, 0.12);
}
.pv-hiw-feat-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.pv-hiw-feat-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.pv-hiw-feat h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.pv-hiw-feat-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffe08a, #f5a623);
  color: #2a1c00;
}
.pv-hiw-feat-tag--free {
  background: rgba(34, 211, 238, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.35);
}
.pv-hiw-feat p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}
.pv-hiw-feat-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: #a78bfa;
  text-decoration: none;
}
.pv-hiw-feat-link:hover { color: #c4b5fd; }

.pv-hiw-cta {
  text-align: center;
  padding: 2.5rem 1rem 4rem;
}
.pv-hiw-cta .btn { margin-top: 0.5rem; }
.pv-hiw-cta-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.pv-hiw-faq {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
