/* IT Tech Académie — V49 : panier sur la page d'inscription (récapitulatif, pastille de réduction, bande flash, boutons de paiement, retour de paiement). Chargé après v48.css. */

/* Bande flash (page d'inscription seulement) */
.pb49-flash { position: sticky; top: 0; z-index: 30; margin: -4px -4px 16px; padding: 12px 16px; border-radius: 14px; text-align: center; font-weight: 800; font-size: 1.02rem; line-height: 1.35; color: #fff; background: linear-gradient(90deg, #dc2626, #ea580c); box-shadow: 0 8px 22px rgba(220, 38, 38, .28); }
.pb49-chrono { display: inline-block; min-width: 4.2ch; padding: 1px 9px; margin-left: 2px; border-radius: 8px; background: rgba(255, 255, 255, .2); font-variant-numeric: tabular-nums; letter-spacing: .5px; }

/* Plusieurs parcours : cartes cochables */
body.pb49-actif .subscription-path-card.selected { border-color: #16a34a; box-shadow: 0 0 0 2px rgba(22, 163, 74, .25); }
body.pb49-actif .subscription-path-card.selected .subscription-path-cta { background: #16a34a; color: #fff; }
.sum-path + .sum-path { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #dbe5f0; }
.sum-path h3 { margin: 0 0 4px; }

/* Bloc de paiement */
.pb49 { margin: 16px 0 4px; padding: 20px; border: 2px solid #16a34a; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(22, 163, 74, .12); }
.pb49-h { margin: 0 0 10px; color: #0f315f; font-size: 1.15rem; }
.pb49-vide { margin: 0; color: #475569; line-height: 1.5; }
.pb49-recap.pb49-calcul { opacity: .55; transition: opacity .15s; }
.pb49-lignes, .pb49-remises { list-style: none; margin: 0 0 10px; padding: 0; }
.pb49-lignes li, .pb49-remises li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef2f7; color: #0f172a; }
.pb49-lignes li b { white-space: nowrap; }
.pb49-remises li { color: #15803d; font-size: .95rem; }
.pb49-remises li b { white-space: nowrap; }
.pb49-r-flash { color: #c2410c !important; }
.pb49-tag { font-style: normal; font-weight: 800; font-size: .78rem; padding: 2px 7px; border-radius: 999px; background: #dcfce7; color: #166534; vertical-align: middle; }
.pb49-total { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 12px 0 8px; padding: 14px 16px; border-radius: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; font-weight: 800; color: #0f315f; }
.pb49-prix { text-align: right; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 6px 10px; }
.pb49-prix strong { font-size: 1.55rem; color: #15803d; line-height: 1.1; }
.pb49-prix s { color: #94a3b8; font-weight: 600; }
.pb49-prix small { flex-basis: 100%; color: #64748b; font-weight: 600; font-size: .85rem; }
.pb49-pastille { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #dc2626; color: #fff; font-size: .9rem; font-weight: 900; letter-spacing: .2px; transform: rotate(-3deg); box-shadow: 0 4px 10px rgba(220, 38, 38, .3); }
.pb49-info { margin: 6px 0 0; color: #475569; }
.pb49-moyens { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.pb49-m { margin: 0; }
.pb49-m[hidden] { display: none; }
.pb49-m.pb49-second::before { content: "— ou —"; display: block; margin: 0 0 10px; text-align: center; color: #64748b; font-size: .9rem; }
.pb49-btn { width: 100%; }
.pb49-note { margin: 6px 0 0; color: #64748b; text-align: center; }
.pb49-titre { margin: 0 0 8px; font-weight: 700; color: #123c74; text-align: center; }
.pb49-paypal { min-height: 1px; }
.pb49-autre { margin: 14px 0 0; text-align: center; }
.pb49-autre a { color: #123c74; text-decoration: underline; }
.pb49-secure { margin: 12px 0 0; color: #64748b; text-align: center; }
body.pb49-actif #piAvis { display: none !important; }

.pb49-inscrire { margin-top: 14px; font-size: 1.12rem; }
.pb49-inscrire[disabled] { opacity: .6; cursor: not-allowed; }
.pb49-btn-prix { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-weight: 900; }
.pb49-seance { margin: 12px 0 0; }
.pb49-m .btn.secondary { text-align: center; text-decoration: none; display: block; }

/* Retour de paiement / reprise : seule la boîte de retour est visible */
body.pb49-retour .subscription-v30-card > h1, body.pb49-retour .subscription-lead, body.pb49-retour .subscription-steps, body.pb49-retour #ittaSubscriptionForm, body.pb49-retour #offlineBanner, body.pb49-retour .subscription-price-banner, body.pb49-retour #pb49Flash { display: none !important; }
.pb49-retour-box { margin: 0 0 16px; padding: 22px; border: 2px solid #16a34a; border-radius: 18px; background: #fff; }
.pb49-retour-box h2 { margin: 8px 0 12px; color: #0f315f; }
.pb49-alerte { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; line-height: 1.5; }
.pb49-sel { margin: 0 0 8px; }

@media (max-width: 767px) {
  .pb49 { padding: 14px; }
  .pb49-flash { font-size: .95rem; padding: 10px 12px; }
  .pb49-prix strong { font-size: 1.35rem; }
  .pb49-total { padding: 12px; }
}
@media (prefers-color-scheme: dark) { .pb49, .pb49-retour-box { background: #fff; } }

/* V50 : animation « calcul du tarif » (la page ne doit jamais sembler bloquée) */
.pb49-calc { display: flex; align-items: center; gap: 14px; padding: 18px 16px; border: 1px dashed #86efac; border-radius: 14px; background: #f0fdf4; color: #0f315f; }
.pb49-calc b { display: block; font-size: 1.05rem; }
.pb49-calc small { display: block; margin-top: 2px; color: #475569; line-height: 1.4; }
.pb49-calc-lent { border-color: #fdba74; background: #fff7ed; }
.pb49-spin { display: inline-block; flex: 0 0 auto; width: 28px; height: 28px; border: 3px solid #bbf7d0; border-top-color: #16a34a; border-radius: 50%; animation: pb49-tourne .8s linear infinite; }
.pb49-calc-lent .pb49-spin { border-color: #fed7aa; border-top-color: #ea580c; }
.pb49-spin-btn { width: 16px; height: 16px; border-width: 2px; margin-right: 8px; vertical-align: -3px; border-color: rgba(255, 255, 255, .4); border-top-color: #fff; }
.pb49-spin-s { width: 14px; height: 14px; border-width: 2px; margin-right: 6px; vertical-align: -2px; }
.pb49-calc-bar { height: 4px; margin: 8px 0 12px; border-radius: 99px; background: #dcfce7; overflow: hidden; }
.pb49-calc-bar i { display: block; width: 35%; height: 100%; border-radius: 99px; background: #16a34a; animation: pb49-barre 1.4s ease-in-out infinite; }
.pb49-retry { margin-top: 4px; }
@keyframes pb49-tourne { to { transform: rotate(360deg); } }
@keyframes pb49-barre { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { .pb49-spin { animation-duration: 2.4s; } .pb49-calc-bar i { animation: none; width: 60%; } }