/* ============================================================================
   css/notification-envoi.css · BB SARL - Site public
   Fenêtre de confirmation après l'envoi d'un formulaire (devis, maintenance, contact) :
   numéro de suivi copiable, récapitulatif, prochaines étapes, actions.
   ============================================================================ */
.ne-voile { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(1, 16, 42, .62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
.ne-voile.ouvert { opacity: 1; }
.ne-boite { position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 36px); overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -20px rgba(1, 16, 42, .6); transform: translateY(18px) scale(.97); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2); font-family: 'Urbanist', 'Nunito', Arial, sans-serif; }
.ne-voile.ouvert .ne-boite { transform: none; }
.ne-tete { position: relative; overflow: hidden; padding: 26px 30px 22px; text-align: center; color: #fff; background: radial-gradient(420px 220px at 85% -10%, rgba(253, 111, 2, .35), transparent 70%), linear-gradient(140deg, #011a40, #022659 55%, #0b3c84); }
.ne-tete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #fd6f02; }
.ne-coche { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: #2fb36d; box-shadow: 0 0 0 8px rgba(47, 179, 109, .18); }
.ne-coche svg { width: 34px; height: 34px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ne-trait .5s .2s ease forwards; }
@keyframes ne-trait { to { stroke-dashoffset: 0; } }
.ne-tete h2 { margin: 0; color: #fff; font-size: 24px; line-height: 1.25; }
.ne-tete p { margin: 8px 0 0; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.5; }
.ne-fermer { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; cursor: pointer; }
.ne-fermer:hover { background: rgba(255, 255, 255, .26); }
.ne-tete, .ne-pied { flex-shrink: 0; }
.ne-corps { padding: 24px 28px 8px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ne-pied { border-top: 1px solid #eef1f6; background: #fff; }
.ne-boite.defile .ne-pied { box-shadow: 0 -10px 24px -16px rgba(2, 38, 89, .45); }
.ne-numero { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 14px 16px; border: 1px dashed #ffc08f; border-radius: 14px; background: #fff4ea; }
.ne-numero small { display: block; color: #8a3b00; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ne-numero strong { display: block; color: #022659; font-size: 22px; letter-spacing: .06em; }
.ne-copier { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid #ffc08f; border-radius: 30px; background: #fff; color: #c25300; font: 700 13px inherit; font-family: inherit; cursor: pointer; }
.ne-copier.copie { border-color: #2fb36d; color: #1f8a52; }
.ne-titre { margin: 0 0 10px; color: #022659; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ne-recap { margin: 0 0 20px; padding: 0; border: 1px solid #e6eaf2; border-radius: 14px; overflow: hidden; }
.ne-recap div { display: grid; grid-template-columns: 38% 1fr; gap: 10px; padding: 9px 14px; font-size: 14px; }
.ne-recap div:nth-child(odd) { background: #f7f9fc; }
.ne-recap dt { color: #6b7689; }
.ne-recap dd { margin: 0; color: #0e1a33; font-weight: 700; }
.ne-etapes { margin: 0 0 18px; padding: 0; list-style: none; }
.ne-etapes li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding-bottom: 14px; }
.ne-etapes li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 2px; border-left: 2px dashed #d5dbe6; }
.ne-etapes .ne-pt { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #022659; color: #fff; font-size: 13px; font-weight: 800; }
.ne-etapes li:first-child .ne-pt { background: #2fb36d; }
.ne-etapes strong { display: block; color: #022659; font-size: 14.5px; }
.ne-etapes span { color: #5a6679; font-size: 13.5px; line-height: 1.5; }
.ne-note { display: flex; gap: 10px; margin: 0 0 6px; padding: 12px 14px; border-radius: 12px; background: #eef2fb; color: #0b3c84; font-size: 13.5px; line-height: 1.5; }
.ne-note i { margin-top: 2px; }
.ne-note.urgent { background: #fdecea; color: #a1241c; }
.ne-pied { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 16px 28px 24px; }
.ne-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 40px; font: 700 14.5px inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.ne-btn.plein { background: #fd6f02; color: #fff; box-shadow: 0 10px 22px -12px rgba(253, 111, 2, .9); }
.ne-btn.plein:hover { background: #e86400; }
.ne-btn.contour { border: 1.5px solid #d5dbe6; background: #fff; color: #022659; }
.ne-btn.contour:hover { border-color: #022659; }
@media (max-width: 520px) { .ne-corps { padding: 20px 18px 6px; } .ne-pied { padding: 14px 18px 20px; } .ne-btn { flex: 1 1 100%; } .ne-numero { flex-direction: column; align-items: flex-start; } .ne-recap div { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .ne-voile, .ne-boite, .ne-coche svg { transition: none; animation: none; stroke-dashoffset: 0; } }

/* ---------- Envoi en cours : bouton et voile sur le formulaire ---------- */
.bb-envoi-btn { position: relative; pointer-events: none; opacity: .85; }
.bb-envoi-rond { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: bb-tourne .8s linear infinite; }
.bb-envoi-zone { position: relative; }
.bb-envoi-voile { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 20px; border-radius: inherit; background: rgba(255, 255, 255, .82); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s; }
.bb-envoi-voile.ouvert { opacity: 1; }
.bb-envoi-carte { position: sticky; top: 40vh; width: 100%; max-width: 340px; padding: 24px 26px; text-align: center; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -24px rgba(2, 38, 89, .5); font-family: 'Urbanist', 'Nunito', Arial, sans-serif; }
.bb-envoi-roue { width: 46px; height: 46px; margin: 0 auto 14px; border: 4px solid #ffe3cc; border-top-color: #fd6f02; border-radius: 50%; animation: bb-tourne .9s linear infinite; }
.bb-envoi-carte strong { display: block; color: #022659; font-size: 17px; }
.bb-envoi-carte span { display: block; margin-top: 4px; color: #5a6679; font-size: 14px; }
.bb-envoi-barre { height: 6px; margin-top: 14px; border-radius: 6px; background: #eef1f6; overflow: hidden; }
.bb-envoi-barre i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #fd6f02, #ffb36b); transition: width .2s; }
@keyframes bb-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bb-envoi-rond, .bb-envoi-roue { animation-duration: 2.4s; } }
