/* =============================================================================
   Applipro, page fonctionnalité « Signature électronique ».
   Une page fonctionnalité est deux fois plus courte qu'une page produit :
   ce que c'est, comment ça marche (trois étapes avec leur écran), dans quels
   produits elle sert, quelques questions, la démo.
   Les modules communs aux pages fonctionnalité (définition, étapes, cartes liées)
   sont dans fonctionnalite.css ; ce fichier ne garde que le téléphone du hero.
   ============================================================================= */

/* --- Hero : le contrat ouvert sur téléphone, la signature se trace --- */
.sgp-view { padding: 10px 15px 0; text-align: left; }
.sgp-view .app-head { height: 44px; }
.sgp-view .app-bell { width: 34px; height: 34px; border-radius: 11px; }
.sgp-view .lvp-back { margin-top: 10px; }
.sgp-view .lvp-h { margin-top: 6px; }
.sgp-doc { margin-top: 13px; padding: 16px 16px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E8EAF1, 0 8px 16px -14px rgba(15, 20, 36, .35); }
.sgp-doc-t { margin-bottom: 11px; font-size: 14px; font-weight: 800; letter-spacing: -.015em; }
.sgp-doc > i { display: block; height: 6px; margin-top: 7px; border-radius: 6px; background: #E6E9F1; }
.sgp-doc > i.is-s { width: 62%; }
.sgp-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; margin-top: 14px; font-size: 12px; font-weight: 500; line-height: 1.3; color: #2A3040; }
.sgp-check b { position: relative; width: 18px; height: 18px; border-radius: 5px; background: var(--app, #1B3FA8); }
.sgp-check b::after { content: ''; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(42deg); }
.sgp-zone { position: relative; margin-top: 13px; padding: 20px 12px 8px; border: 1.5px dashed #9DB6F5; border-radius: 12px; background: #F3F6FF; color: var(--app, #1B3FA8); }
.sgp-zone small { position: absolute; left: 11px; top: 7px; font-size: 10.5px; font-weight: 700; color: #5B7FDB; }
.sgp-zone svg { display: block; width: 150px; height: 50px; margin: 0 auto; }
.sgp-zone path { stroke-dasharray: 230; stroke-dashoffset: 0; animation: sgp-trace 1.5s ease-in-out 1s both; }
.sgp-done { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 12px; font-weight: 600; line-height: 1.3; color: #00664A; animation: sgp-fade .5s ease 2.6s both; }
.sgp-done .chip { flex: none; }
@keyframes sgp-trace { from { stroke-dashoffset: 230; } to { stroke-dashoffset: 0; } }
@keyframes sgp-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .sgp-zone path, .sgp-done { animation-duration: .01s; animation-delay: 0s; }
}
