/* ============================================================
   Section "Réservez en 3 minutes depuis votre téléphone"
   Composant réutilisable — pages SEO locales (parcours app)
   Mobile-first. Mockups à dimensions fixes => zéro CLS.
   ============================================================ */

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hiw-step-text {
  width: 100%;
}

.hiw-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #34D399 0%, #22D3EE 50%, #2563EB 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}

.hiw-step-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.hiw-step-text p {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}

/* Cadre smartphone — ratio 9:19.5 verrouillé pour éviter tout layout shift */
.hiw-phone {
  flex-shrink: 0;
  width: 190px;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  border: 7px solid #0f172a;
  background: #0f172a;
  overflow: hidden;
  box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.35);
}

.hiw-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

/* Desktop / tablette : texte + mockup côte à côte, alternance gauche/droite */
@media (min-width: 640px) {
  .hiw-steps { gap: 24px; }
  .hiw-step {
    flex-direction: row;
    gap: 40px;
    padding: 32px 36px;
  }
  .hiw-step:nth-child(even) { flex-direction: row-reverse; }
  .hiw-step-text { flex: 1; }
  .hiw-phone { width: 210px; }
}

/* Barre de réassurance compacte */
.hiw-trustbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 20px;
}

.hiw-trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.hiw-trustbar svg {
  width: 16px;
  height: 16px;
  color: #059669;
  flex-shrink: 0;
}

/* Ligne de réassurance sous le CTA hero */
.hero-trust-line {
  font-size: 13px;
  color: #64748b;
  margin-top: 12px;
}
