/* AGENCE MOMAËL — page de commande « App » : parcours en 3 étapes (Pack → Compte → Paiement).
 * Tout est sous « .oa » / « .oa- » : rien ne touche aux autres pages. La logique de commande
 * (script.js) n'est pas modifiée : mêmes identifiants, mêmes appels serveur. */

.oa { --oa-gold: var(--gold, #E8B84B); --oa-gold-soft: var(--gold-soft, #F3D686); --oa-line: rgba(255,255,255,.11);
  --oa-card: linear-gradient(165deg, rgba(34,28,77,.92), rgba(20,17,47,.94)); --oa-muted: var(--text-muted, #B3ADD9);
    max-width: 640px; margin-inline: auto; padding-bottom: 10px; }
.oa .tier-hint { display: none; }
.oa [hidden], .oa-bar[hidden] { display: none !important; }

/* ---------- Affiche compacte (touche pour agrandir) ---------- */
.oa .product-hero { max-height: 176px; overflow: hidden; border-radius: 20px; margin: 10px 0 14px; cursor: zoom-in; }
.oa .product-hero > img { width: 100%; height: 176px; object-fit: cover; object-position: top center; display: block; }
.oa-zoom-chip { position: absolute; inset-inline-end: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px;
  font: 700 .72rem/1 var(--font-body, Inter, sans-serif); color: #FFE9A8; border: 1px solid rgba(243,214,134,.5); cursor: pointer;
  background: linear-gradient(180deg, rgba(40,32,86,.85), rgba(20,17,47,.85)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.oa-zoom-back { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(8,6,22,.82); animation: oa-fade .18s ease both; }
.oa-zoom-card { position: relative; max-width: 560px; width: 100%; max-height: 92dvh; overflow: auto; border-radius: 18px; border: 1px solid rgba(232,184,75,.3); background: #14112f; }
.oa-zoom-card img { display: block; width: 100%; height: auto; }
.oa-zoom-x { position: sticky; top: 8px; float: right; margin: 8px 8px -44px 0; z-index: 2; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(243,214,134,.5); background: rgba(20,17,47,.9); color: #FFE9A8; font: 700 .78rem var(--font-body, Inter, sans-serif); cursor: pointer; }

/* ---------- Fil d'étapes ---------- */
.oa-steps { display: flex; align-items: flex-start; margin: 4px 2px 16px; }
.oa-st { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; min-width: 64px; padding: 0; border: 0; background: none; color: var(--oa-muted); font: 700 .72rem/1.1 var(--font-body, Inter, sans-serif); cursor: default; }
.oa-st i { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); font-style: normal; font-family: var(--font-display, "Baloo 2", sans-serif); font-size: .9rem; background: rgba(255,255,255,.03); transition: background .25s, border-color .25s, color .25s, transform .25s; }
.oa-st .oa-st-ok { display: none; }
.oa-st.is-active { color: var(--text, #F5F2E8); }
.oa-st.is-active i { border-color: var(--oa-gold); color: var(--oa-gold-soft); box-shadow: 0 0 0 5px rgba(232,184,75,.12); }
.oa-st.is-done { color: var(--oa-gold-soft); cursor: pointer; }
.oa-st.is-done i { background: var(--oa-gold); border-color: var(--oa-gold); color: #241a02; }
.oa-st.is-done .oa-st-n { display: none; }
.oa-st.is-done .oa-st-ok { display: block; }
.oa-st:focus-visible { outline: 2px solid var(--oa-gold-soft); outline-offset: 4px; border-radius: 10px; }
.oa-st-line { flex: 1; height: 2px; margin: 14px 4px 0; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; position: relative; }
.oa-st-line::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--oa-gold), var(--oa-gold-soft)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .oa-st-line::after { transform-origin: right; }
.oa-st-line.is-full::after { transform: scaleX(1); }

/* ---------- Sections ---------- */
.oa-sec { margin: 0 0 12px; padding: 16px 14px; border-radius: 22px; border: 1px solid var(--oa-line); background: var(--oa-card); box-shadow: 0 14px 34px rgba(0,0,0,.18); transition: border-color .25s, opacity .25s, box-shadow .25s; }
.oa-sec[data-state="active"] { border-color: rgba(232,184,75,.42); box-shadow: 0 14px 34px rgba(0,0,0,.2), 0 0 0 1px rgba(232,184,75,.08); }
.oa-sec[data-state="locked"] { opacity: .5; }
.oa-sec[data-state="locked"] .oa-sec-body, .oa-sec[data-state="done"] .oa-sec-body { display: none; }
.oa-sec[data-state="active"] .oa-sec-body { animation: oa-rise .3s ease both; }
.oa-sec-head { display: flex; align-items: center; gap: 12px; }
.oa-num { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font-family: var(--font-display, "Baloo 2", sans-serif); font-size: .95rem; color: var(--oa-gold-soft); border: 1px solid rgba(232,184,75,.35); background: rgba(232,184,75,.09); }
.oa-sec-title { flex: 1; min-width: 0; }
.oa .oa-sec-title h2 { margin: 0; font-family: var(--font-display, "Baloo 2", sans-serif); font-size: 1.08rem; line-height: 1.2; }
.oa-sub { margin: 2px 0 0; font-size: .76rem; color: var(--oa-muted); line-height: 1.35; }
.oa-sum { margin: 3px 0 0; font-size: .8rem; font-weight: 700; color: var(--oa-gold-soft); overflow-wrap: anywhere; }
.oa-sec[data-state="done"] .oa-sub, .oa-sec[data-state="locked"] .oa-sub { display: none; }
.oa-edit { flex: 0 0 auto; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(232,184,75,.4); background: rgba(232,184,75,.08); color: var(--oa-gold-soft); font: 700 .76rem var(--font-body, Inter, sans-serif); cursor: pointer; }
.oa-edit:active { transform: scale(.95); }
.oa-sec-body { margin-top: 14px; }

/* Le formulaire d'origine perd son cadre : les sections prennent le relais */
.oa .order-panel { background: none; border: 0; box-shadow: none; padding: 0; margin-top: 0; }
.oa .order-panel > h2, .oa .order-panel > .sub { display: none; }
.oa .oa-sec-body .field { margin-bottom: 14px; }
.oa .oa-sec-body .field label { font-size: .8rem; font-weight: 700; }
.oa .oa-sec-body input[type="text"], .oa .oa-sec-body input[type="tel"], .oa .oa-sec-body textarea, .oa .oa-sec-body select { min-height: 48px; border-radius: 14px; font-size: 1rem; }
.oa .oa-sec-body .hint { font-size: .74rem; }

.oa-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 6px; padding: 12px 12px; border-radius: 14px; border: 1px solid var(--oa-line); background: rgba(255,255,255,.03); font-size: .82rem; line-height: 1.4; color: var(--text, #F5F2E8); cursor: pointer; }
.oa-confirm input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--oa-gold); }
.oa-confirm.is-bad { border-color: var(--danger, #FF6B6B); background: rgba(255,107,107,.07); }
.oa-confirm-err { margin: 0 0 8px; font-size: .78rem; color: var(--danger, #FF6B6B); }
.oa-more { margin: 10px 0 4px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.18); }
.oa-more > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; font-size: .84rem; font-weight: 700; color: var(--oa-gold-soft); cursor: pointer; }
.oa-more > summary::-webkit-details-marker { display: none; }
.oa-more > summary svg { transition: transform .2s; }
.oa-more[open] > summary svg { transform: rotate(180deg); }
.oa-more[open] { padding-bottom: 6px; }
.oa-more > .field, .oa-more > .checkbox-row { margin-inline: 12px; }
.oa-next { display: none; }
.oa-next-unused { display: block; width: 100%; min-height: 50px; margin-top: 12px; border: 0; border-radius: 16px; cursor: pointer; font: 800 1rem var(--font-body, Inter, sans-serif);
  background: var(--btn-primary-bg, linear-gradient(180deg, #F3D686, #E8B84B)); color: var(--btn-primary-text, #241a02); box-shadow: 0 10px 24px rgba(232,184,75,.22); transition: transform .12s; }
.oa-next:active { transform: scale(.98); }

/* ---------- Récapitulatif ---------- */
.oa-recap { margin: 0; padding: 4px 14px; border-radius: 16px; border: 1px solid var(--oa-line); background: rgba(255,255,255,.03); }
.oa-recap > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--oa-line); }
.oa-recap > div:last-child { border-bottom: 0; }
.oa-recap dt { font-size: .78rem; color: var(--oa-muted); }
.oa-recap dd { margin: 0; text-align: end; font-size: .88rem; font-weight: 700; overflow-wrap: anywhere; }
.oa-recap .oa-r-total dt { font-size: .86rem; color: var(--text, #F5F2E8); font-weight: 700; }
.oa-recap .oa-r-total dd { font-family: var(--font-display, "Baloo 2", sans-serif); font-size: 1.45rem; color: var(--oa-gold-soft); line-height: 1; }
.oa-fees { margin: 10px 2px 14px; font-size: .74rem; color: var(--oa-muted); line-height: 1.45; }
.oa-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: .74rem; color: var(--oa-muted); text-align: center; }
.oa-secure svg { color: #6FE0AE; flex-shrink: 0; }

/* ---------- Paliers : cartes en grille ---------- */
.oa .tier-zone { margin: 0; }
.oa #tier-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; padding: 12px 2px 4px; margin: 0; }
@media (min-width: 480px) { .oa #tier-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.oa .tier-card { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; min-height: 108px; padding: 16px 13px 13px; border-radius: 18px; backdrop-filter: none;
  transition: transform .18s ease, border-color .2s, box-shadow .2s, background .2s, opacity .2s; }
.oa .tier-card:active { transform: scale(.97); }
@media (hover: hover) { .oa .tier-card:hover { border-color: rgba(232,184,75,.5); transform: translateY(-2px); } }
.oa .tier-card .tier-coins { order: -1; text-align: start; font-size: 1.42rem; line-height: 1.05; }
.oa .tier-card .tier-coins::after { content: " " var(--oa-coins-label, "coins"); font-family: var(--font-body, Inter, sans-serif); font-size: .68rem; font-weight: 600; color: var(--oa-muted); }
.oa .tier-card .tier-price { font-size: .92rem; color: var(--text, #F5F2E8); opacity: .92; }
.oa .tier-card .bonus-pct { order: 3; display: inline-block; margin-top: auto; padding: 3px 8px; border-radius: 999px; font-size: .64rem; font-weight: 800; color: #6FE0AE; background: rgba(111,224,174,.12); border: 1px solid rgba(111,224,174,.25); }
.oa .tier-card .tier-price-secondary { margin-top: -2px; }
/* Pays à devise locale : le prix local devient la ligne principale, le FCFA passe en repère discret */
.oa .tier-card.has-local .tier-price-secondary { order: 1; display: block; margin-top: 0; font-family: var(--font-display, inherit); font-size: 1.04rem; font-weight: 700; line-height: 1.15; color: var(--text, #F5F2E8); opacity: 1; letter-spacing: -.005em; overflow-wrap: anywhere; }
.oa .tier-card.has-local .tier-price { order: 2; margin-top: -3px; font-size: .74rem; font-weight: 500; color: var(--oa-muted, #A9A4C9); opacity: 1; }
@media (min-width: 900px) { .oa .tier-card.has-local .tier-price-secondary { font-size: 1.12rem; } .oa .tier-card.has-local .tier-price { font-size: .8rem; } }
.oa .tier-card.best-tier { border-color: rgba(232,184,75,.55); background: linear-gradient(160deg, rgba(58,45,10,.4), rgba(31,27,74,.92)); }
.oa .tier-card.best-tier::before { left: 12px; top: -10px; }
.oa .tier-card.selected { transform: none; border-color: var(--oa-gold); background: linear-gradient(160deg, rgba(84,62,8,.55), rgba(31,27,74,.95)); box-shadow: 0 0 0 1px var(--oa-gold) inset, 0 10px 26px rgba(232,184,75,.22); }
.oa .tier-card.selected::after { top: 9px; right: 9px; width: 22px; height: 22px; font-size: .72rem; }
.oa .tier-card.dimmed { transform: none; filter: none; opacity: .55; }
.oa .hot-badge { top: -10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; animation: none; box-shadow: 0 3px 10px rgba(220,38,38,.4); }
.oa .promo-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.oa .hot-badge svg, .oa .promo-badge svg { flex-shrink: 0; }
.oa .tier-error { margin: 6px 0 0; }

/* ---------- Barre de total collée en bas ---------- */
.oa-bar { position: fixed; z-index: 996; inset-inline: 0; bottom: var(--oa-bar-bottom, 92px); display: flex; align-items: center; gap: 12px; width: min(620px, calc(100% - 20px)); margin-inline: auto; padding: 10px 10px 10px 16px; box-sizing: border-box; border-radius: 22px;
  background: linear-gradient(180deg, rgba(40,32,86,.94), rgba(20,17,47,.96)); border: 1px solid rgba(243,214,134,.32); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.oa-bar-total { min-width: 0; display: grid; gap: 1px; }
.oa-bar-total small { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--oa-muted); }
.oa-bar-total strong { font-family: var(--font-display, "Baloo 2", sans-serif); font-size: 1.28rem; line-height: 1.05; color: var(--oa-gold-soft); white-space: nowrap; }
.oa-bar-btn { flex: 1; min-height: 48px; border: 0; border-radius: 16px; padding: 0 16px; cursor: pointer; font: 800 .98rem var(--font-body, Inter, sans-serif);
  background: var(--btn-primary-bg, linear-gradient(180deg, #F3D686, #E8B84B)); color: var(--btn-primary-text, #241a02); box-shadow: 0 8px 20px rgba(232,184,75,.25); transition: transform .12s, filter .15s, opacity .2s; }
.oa-bar-btn:active { transform: scale(.97); }
.oa-bar-btn:disabled { opacity: .55; box-shadow: none; cursor: default; background: rgba(255,255,255,.12); color: var(--oa-muted); }
.oa-bar-btn:focus-visible, .oa-next:focus-visible { outline: 3px solid var(--oa-gold-soft); outline-offset: 3px; }
/* Les boutons flottants du site montent au-dessus de la barre */
body.oa-bar-on #floating-wa-btn, body.oa-bar-on #ai-chat-btn, body.oa-bar-on #sim-live-btn { margin-bottom: calc(var(--oa-bar-h) + 8px); }

@keyframes oa-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes oa-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .oa-sec[data-state="active"] .oa-sec-body, .oa-zoom-back { animation: none; } .oa-st-line::after, .oa-st i, .oa .tier-card { transition: none; } }
@media (max-width: 340px) { .oa-bar-total strong { font-size: 1.1rem; } .oa-bar-btn { font-size: .9rem; padding: 0 10px; } .oa-sec { padding: 14px 11px; } }

/* ---------- Thème clair ---------- */
html[data-themeable][data-theme="light"] .oa { --oa-card: #fff; --oa-line: rgba(20,18,43,.12); --oa-muted: var(--text-muted); --oa-gold-soft: var(--gold-ink); }
html[data-themeable][data-theme="light"] .oa .oa-sec { box-shadow: 0 8px 22px rgba(20,18,43,.08); }
html[data-themeable][data-theme="light"] .oa .oa-sec-title h2, html[data-themeable][data-theme="light"] .oa .oa-st.is-active { color: var(--text); }
html[data-themeable][data-theme="light"] .oa .oa-confirm, html[data-themeable][data-theme="light"] .oa .oa-recap { background: rgba(20,18,43,.03); color: var(--text); }
html[data-themeable][data-theme="light"] .oa .oa-recap .oa-r-total dt { color: var(--text); }
html[data-themeable][data-theme="light"] .oa .tier-card { background: #fff; border-color: rgba(20,18,43,.14); }
html[data-themeable][data-theme="light"] .oa .tier-card .tier-price { color: var(--text); }
html[data-themeable][data-theme="light"] .oa .tier-card .tier-coins { color: var(--gold-ink); }
html[data-themeable][data-theme="light"] .oa .tier-card.selected { background: #fff7de; }
html[data-themeable][data-theme="light"] .oa .tier-card.best-tier { background: #fffaf0; }
html[data-themeable][data-theme="light"] .oa-bar { background: rgba(255,255,255,.96); border-color: rgba(138,100,16,.35); box-shadow: 0 14px 34px rgba(20,18,43,.16); }
html[data-themeable][data-theme="light"] .oa-bar-total strong { color: var(--gold-ink); }

/* Étape 3 : le vrai bouton d'envoi reste dans le formulaire (script.js s'en sert) mais c'est la barre du bas qui porte l'action */
#oa-s3 .btn-order-submit { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; animation: none !important; }

/* Titre lisible dans les deux thèmes */
.product-title-row h1{color:var(--text,#fff)}
html[data-themeable][data-theme="light"] .product-title-row h1{color:var(--text,#1c1a16)}

/* ---------- Mobile : l'étape « compte + paiement » remonte du bas (fenêtre) ---------- */
.oa-sheet-head, .oa-backdrop { display: none; }
@media (max-width: 720px) {
  .oa-backdrop { display: block; position: fixed; inset: 0; z-index: 989; background: rgba(6,4,22,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
  .oa-backdrop[hidden] { display: none !important; }
  html.oa-sheet-open .oa-backdrop { opacity: 1; }
  html.oa-sheet-open, html.oa-sheet-open body { overflow: hidden; }
  html.oa-sheet-open .premium-nav-wrap, html.oa-sheet-open #floating-wa-btn, html.oa-sheet-open #ai-chat-btn, html.oa-sheet-open #sim-live-btn { display: none !important; }
  .oa #oa-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; box-sizing: border-box; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0 12px calc(var(--oa-bar-h, 72px) + 30px);
    border-radius: 22px 22px 0 0; border: 1px solid var(--oa-line); border-bottom: 0; background: #1A1740; box-shadow: 0 -20px 70px rgba(0,0,0,.4);
    transform: translateY(105%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; outline: 0; }
  html.oa-sheet-open .oa #oa-sheet { transform: none; visibility: visible; transition: transform .22s ease; }
  .oa-sheet-head { display: flex; align-items: flex-start; gap: 12px; position: sticky; top: 0; z-index: 2; margin: 0 -12px 10px; padding: 20px 14px 10px 16px; background: #1A1740; border-bottom: 1px solid var(--oa-line); }
  .oa-sheet-handle { position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; border-radius: 999px; background: var(--oa-muted); opacity: .45; transform: translateX(-50%); }
  .oa-sheet-head > div { flex: 1; min-width: 0; }
  .oa .oa-sheet-head h2 { margin: 0; font-family: var(--font-display, "Baloo 2", sans-serif); font-size: 1.15rem; line-height: 1.2; }
  .oa-sheet-head p { margin: 2px 0 0; font-size: .78rem; font-weight: 700; color: var(--oa-gold-soft); overflow-wrap: anywhere; }
  .oa-sheet-x { flex: 0 0 44px; width: 44px; height: 44px; margin: -6px -4px 0 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--oa-line); background: rgba(255,255,255,.06); color: var(--text, #F5F2E8); cursor: pointer; }
  .oa-sheet-x:focus-visible, #oa-sheet:focus-visible { outline: 3px solid var(--oa-gold-soft); outline-offset: 2px; }
  /* Les paliers restent visibles derrière la fenêtre */
  #oa-s1 .oa-edit, #oa-s1 .oa-sum { display: none !important; }
  #oa-s1[data-state="done"] .oa-sec-body { display: block; }
  #oa-s1[data-state="done"] .oa-sub { display: block; }
  #oa-s1[data-state="done"] { border-color: var(--oa-line); }
  .oa #oa-sheet .oa-sec { box-shadow: none; }
}
html[data-themeable][data-theme="light"] .oa #oa-sheet, html[data-themeable][data-theme="light"] .oa-sheet-head { background: #fff; }
html[data-themeable][data-theme="light"] .oa .oa-sheet-head h2, html[data-themeable][data-theme="light"] .oa-sheet-x { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .oa-backdrop, .oa #oa-sheet { transition: none !important; } }

/* ---------- Fenêtre « moyen de paiement » : même famille que la fenêtre de commande ---------- */
.pm-choice-overlay { background: rgba(6,4,22,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 998; }
html.oa-pm-open, html.oa-pm-open body { overflow: hidden; }
html.oa-pm-open .oa-bar { display: none; }
.pm-choice-modal { box-sizing: border-box; max-width: 520px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0;
  background: #1A1740; border: 1px solid rgba(243,214,134,.22); border-bottom: 0; box-shadow: 0 -20px 70px rgba(0,0,0,.45); outline: 0; transition: transform .22s ease; }
.pm-choice-modal.is-drag { transition: none; }
.pm-grip { position: sticky; top: 0; z-index: 2; display: grid; place-items: center; width: calc(100% + 32px); height: 30px; margin: 0 -16px 2px; padding: 0; border: 0; background: #1A1740; cursor: grab; touch-action: none; border-radius: 24px 24px 0 0; }
.pm-grip span { display: block; width: 40px; height: 5px; border-radius: 999px; background: var(--text-muted, #B3ADD9); opacity: .5; }
.pm-grip:focus-visible, .pm-choice-modal:focus-visible { outline: 3px solid var(--gold-soft, #F3D686); outline-offset: -3px; }
.pm-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.pm-head-ico { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #6FE0AE; background: rgba(111,224,174,.1); border: 1px solid rgba(111,224,174,.25); }
.pm-head h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.pm-head-pack { margin: 2px 0 0; font-size: .78rem; font-weight: 700; color: var(--gold-soft, #F3D686); overflow-wrap: anywhere; }
.pm-head-pack:empty { display: none; }
.pm-choice-amount { display: flex; flex-direction: column; gap: 2px; margin: 0 0 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted, #B3ADD9); }
.pm-choice-amount br { display: none; }
.pm-choice-amount b { display: block; font-family: var(--font-display, "Baloo 2", sans-serif); font-size: 1.9rem; line-height: 1.05; letter-spacing: 0; text-transform: none; color: var(--gold-soft, #F3D686); }
.pm-choice-amount small { display: block; margin-top: 4px; font-size: .72rem; letter-spacing: 0; text-transform: none; opacity: .85; line-height: 1.4; }
.pm-choice-btn { min-height: 66px; padding: 12px 40px 12px 14px; margin-bottom: 10px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); box-shadow: none; transition: transform .12s, border-color .18s, background .18s; }
.pm-choice-btn::after { content: ""; position: absolute; inset-inline-end: 16px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--text-muted, #B3ADD9); border-inline-end: 2px solid var(--text-muted, #B3ADD9); transform: translateY(-50%) rotate(45deg); opacity: .7; }
[dir="rtl"] .pm-choice-btn::after { transform: translateY(-50%) rotate(-135deg); }
@media (hover: hover) { .pm-choice-btn:hover { border-color: rgba(232,184,75,.6); background: rgba(232,184,75,.08); } }
.pm-choice-btn.recommended { border-color: rgba(232,184,75,.55); background: linear-gradient(160deg, rgba(84,62,8,.35), rgba(31,27,74,.9)); }
.pm-choice-btn:focus-visible { outline: 3px solid var(--gold-soft, #F3D686); outline-offset: 2px; }
.pm-choice-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.08); }
.pm-trust-footer { gap: 6px 12px; margin: 8px 0 6px; }
.pm-choice-cancel { min-height: 46px; margin-top: 2px; border-radius: 14px; font-weight: 700; font-size: .86rem; cursor: pointer; }
.pm-choice-cancel:focus-visible { outline: 3px solid var(--gold-soft, #F3D686); outline-offset: 2px; }
@media (min-width: 721px) {
  .pm-choice-overlay { align-items: center; }
  .pm-choice-modal { max-width: 440px; border-radius: 24px; border-bottom: 1px solid rgba(243,214,134,.22); padding-top: 22px; }
  .pm-grip { display: none; }
}
html[data-themeable][data-theme="light"] .pm-choice-modal, html[data-themeable][data-theme="light"] .pm-grip { background: #fff; }
html[data-themeable][data-theme="light"] .pm-head h3 { color: var(--text); }
html[data-themeable][data-theme="light"] .pm-head-pack, html[data-themeable][data-theme="light"] .pm-choice-amount b { color: var(--gold-ink); }
html[data-themeable][data-theme="light"] .pm-choice-amount { background: rgba(20,18,43,.04); border-color: rgba(20,18,43,.12); color: var(--text-muted); }
html[data-themeable][data-theme="light"] .pm-choice-btn { background: #fff; border-color: rgba(20,18,43,.16); color: var(--text); }
html[data-themeable][data-theme="light"] .pm-choice-btn.recommended { background: #fff7de; border-color: rgba(138,100,16,.5); }
@media (prefers-reduced-motion: reduce) { .pm-choice-modal { transition: none; animation: none; } }
html.oa-pm-open #floating-wa-btn, html.oa-pm-open #ai-chat-btn, html.oa-pm-open #sim-live-btn, html.oa-pm-open .premium-nav-wrap { display: none !important; }
html[data-themeable][data-theme="light"] .pm-choice-btn small, html[data-themeable][data-theme="light"] .pm-choice-cancel, html[data-themeable][data-theme="light"] .pm-trust-footer span { color: var(--text-muted); opacity: 1; }
html[data-themeable][data-theme="light"] .pm-choice-icon { background: rgba(20,18,43,.06); }

/* ---------- Pied de page compact sur la page de commande (tous les liens restent dans le HTML) ---------- */
.footer-pro.is-compact { padding-top: 14px; }
.footer-pro.is-compact .f-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 0 0 10px; }
.footer-pro.is-compact .f-quick a { font-size: .78rem; color: var(--text-muted, #B3ADD9); text-decoration: none; padding: 6px 0; }
.footer-pro.is-compact .f-quick a:hover, .footer-pro.is-compact .f-quick a:focus-visible { color: var(--gold-soft, #F3D686); text-decoration: underline; }
.footer-pro.is-compact .f-more { margin: 0 auto 10px; max-width: 640px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.18); }
.footer-pro.is-compact .f-more > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 14px; font-size: .82rem; font-weight: 700; color: var(--gold-soft, #F3D686); cursor: pointer; }
.footer-pro.is-compact .f-more > summary::-webkit-details-marker { display: none; }
.footer-pro.is-compact .f-more > summary svg { transition: transform .2s; }
.footer-pro.is-compact .f-more[open] > summary svg { transform: rotate(180deg); }
.footer-pro.is-compact .f-more > summary:focus-visible { outline: 3px solid var(--gold-soft, #F3D686); outline-offset: 2px; }
.footer-pro.is-compact .f-more .f-grid { padding: 4px 14px 12px; }
html[data-themeable][data-theme="light"] .footer-pro.is-compact .f-more { border-color: rgba(20,18,43,.2); }
html[data-themeable][data-theme="light"] .footer-pro.is-compact .f-more > summary { color: var(--gold-ink); }
html[data-themeable][data-theme="light"] .footer-pro.is-compact .f-quick a { color: var(--text-muted); }

/* Espace réduit entre la FAQ et le pied de page ; la barre du bas s'efface quand le pied de page apparaît */
.oa .faq { margin: 22px 0 6px; }
.oa-bar.is-off { display: none; }
.footer-pro.is-compact { margin-top: 6px; padding-top: 22px; }

/* ---------- Cartes « moyen de paiement » ---------- */
.pm-choice-btn { --pm: var(--gold, #E8B84B); display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 56px 12px 16px; overflow: visible; }
.pm-choice-btn::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--pm); opacity: .9; }
[dir="rtl"] .pm-choice-btn::before { border-radius: 4px 0 0 4px; }
.pm-choice-btn.wave { --pm: #2BB5FF; }
.pm-choice-btn.orange { --pm: #FF7900; }
.pm-choice-btn.mtn { --pm: #FFCC00; }
.pm-choice-btn.moov { --pm: #1E90E0; }
.pm-choice-btn.crypto { --pm: #F3BA2F; }
.pm-choice-btn::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; width: 30px; height: 30px; border: 0; border-radius: 50%; opacity: 1; transform: translateY(-50%);
  background: rgba(232,184,75,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3D686' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .15s, background-color .15s; }
[dir="rtl"] .pm-choice-btn::after { transform: translateY(-50%) scaleX(-1); }
@media (hover: hover) { .pm-choice-btn:hover { border-color: var(--pm); } .pm-choice-btn:hover::after { transform: translateY(-50%) translateX(2px); background-color: rgba(232,184,75,.3); } }
.pm-choice-btn:active { border-color: var(--pm); }
.pm-choice-icon { background: #fff; box-shadow: 0 0 0 2px color-mix(in srgb, var(--pm) 55%, transparent); padding: 6px; }
.pm-choice-btn > span:last-child { flex: 1; min-width: 0; }
.pm-t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pm-name { font-size: 1rem; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.pm-amt { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 800; color: var(--gold-soft, #F3D686); background: rgba(232,184,75,.12); border: 1px solid rgba(232,184,75,.28); white-space: nowrap; }
.pm-choice-btn small { margin-top: 3px; font-size: .74rem; line-height: 1.35; opacity: .9; }
.pm-choice-btn small:empty { display: none; }
html[data-themeable][data-theme="light"] .pm-choice-icon { background: #fff; }
html[data-themeable][data-theme="light"] .pm-amt { color: var(--gold-ink); background: rgba(138,100,16,.1); border-color: rgba(138,100,16,.3); }
html[data-themeable][data-theme="light"] .pm-choice-btn::after { background-color: rgba(138,100,16,.12); }
@media (prefers-reduced-motion: reduce) { .pm-choice-btn, .pm-choice-btn::after { transition: none; } }

/* ---------- Thème clair : contrastes renforcés (valeurs du prototype MOMAËL FLOW : texte var(--text), secondaire var(--text-muted), or foncé var(--gold-ink), succès var(--success-ink)) ---------- */
html[data-themeable][data-theme="light"] .oa,
html[data-themeable][data-theme="light"] .pm-choice-overlay { --oa-muted: var(--text-muted); --oa-gold-soft: var(--gold-ink); --oa-line: rgba(20,18,43,.18); --gold-soft: var(--gold-ink); }
html[data-themeable][data-theme="light"] .oa .oa-sec-title h2, html[data-themeable][data-theme="light"] .oa .oa-st.is-active, html[data-themeable][data-theme="light"] .oa .oa-sheet-head h2,
html[data-themeable][data-theme="light"] .pm-head h3, html[data-themeable][data-theme="light"] .oa .oa-confirm, html[data-themeable][data-theme="light"] .oa .oa-recap,
html[data-themeable][data-theme="light"] .oa .oa-recap .oa-r-total dt, html[data-themeable][data-theme="light"] .oa .tier-card .tier-price, html[data-themeable][data-theme="light"] .oa .oa-sheet-x, html[data-themeable][data-theme="light"] .pm-choice-btn { color: var(--text); }
html[data-themeable][data-theme="light"] .oa .oa-sec-body input[type="text"], html[data-themeable][data-theme="light"] .oa .oa-sec-body input[type="tel"], html[data-themeable][data-theme="light"] .oa .oa-sec-body textarea, html[data-themeable][data-theme="light"] .oa .oa-sec-body select { background: #FBFAFE; border: 1px solid rgba(26,23,64,.28); color: var(--text); }
html[data-themeable][data-theme="light"] .oa .oa-sec-body input::placeholder, html[data-themeable][data-theme="light"] .oa .oa-sec-body textarea::placeholder { color: rgba(100,91,125,.9); }
html[data-themeable][data-theme="light"] .oa .tier-card { border-color: rgba(32,27,53,.22); }
html[data-themeable][data-theme="light"] .oa .tier-card.selected { border-color: var(--gold-ink); box-shadow: 0 0 0 1px var(--gold-ink) inset; }
html[data-themeable][data-theme="light"] .oa .tier-card .bonus-pct, html[data-themeable][data-theme="light"] .oa-secure svg { color: var(--success-ink); }
html[data-themeable][data-theme="light"] .oa .tier-card .bonus-pct { background: rgba(35,108,75,.1); border-color: rgba(35,108,75,.35); }
html[data-themeable][data-theme="light"] .pm-head-ico { color: var(--success-ink); background: rgba(35,108,75,.1); border-color: rgba(35,108,75,.35); }
html[data-themeable][data-theme="light"] .oa-bar { border-color: rgba(32,27,53,.22); }
html[data-themeable][data-theme="light"] .oa-bar-total small { color: var(--text-muted); }
html[data-themeable][data-theme="light"] .oa-bar-total strong, html[data-themeable][data-theme="light"] .oa .oa-sum, html[data-themeable][data-theme="light"] .oa-edit { color: var(--gold-ink); }
html[data-themeable][data-theme="light"] .oa-more > summary, html[data-themeable][data-theme="light"] .footer-pro.is-compact .f-more > summary { color: var(--gold-ink); }
html[data-themeable][data-theme="light"] .oa .oa-more { border-color: rgba(32,27,53,.3); }
html[data-themeable][data-theme="light"] .pm-choice-btn { border-color: rgba(32,27,53,.22); }
html[data-themeable][data-theme="light"] .pm-choice-btn small, html[data-themeable][data-theme="light"] .pm-choice-cancel, html[data-themeable][data-theme="light"] .pm-trust-footer span, html[data-themeable][data-theme="light"] .pm-choice-amount { color: var(--text-muted); }
html[data-themeable][data-theme="light"] .pm-choice-amount b, html[data-themeable][data-theme="light"] .pm-head-pack, html[data-themeable][data-theme="light"] .pm-amt { color: var(--gold-ink); }
html[data-themeable][data-theme="light"] .pm-choice-icon { box-shadow: 0 0 0 2px var(--pm), 0 1px 4px rgba(32,27,53,.15); }
html[data-themeable][data-theme="light"] .pm-choice-recommended-tag:not([style]) { background: linear-gradient(120deg, #F3D686, #E8B84B); color: #2A1D02; }
html[data-themeable][data-theme="light"] .pm-choice-btn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376520A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E"); }

/* ---------- Bouton principal : s'anime quand c'est le bon prochain geste ---------- */
.oa-bar-btn { position: relative; overflow: hidden; isolation: isolate; }
.oa-bar-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transform: translateX(-120%); background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); pointer-events: none; }
.oa-bar-btn.is-ready { animation: oa-pulse 1.9s ease-out infinite; }
.oa-bar-btn.is-ready::after { opacity: 1; animation: oa-sheen 2.6s ease-in-out infinite; }
@keyframes oa-pulse { 0% { box-shadow: 0 8px 20px rgba(232,184,75,.25), 0 0 0 0 rgba(232,184,75,.55); } 70% { box-shadow: 0 8px 20px rgba(232,184,75,.25), 0 0 0 12px rgba(232,184,75,0); } 100% { box-shadow: 0 8px 20px rgba(232,184,75,.25), 0 0 0 0 rgba(232,184,75,0); } }
@keyframes oa-sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .oa-bar-btn.is-ready { animation: none; box-shadow: 0 8px 20px rgba(232,184,75,.25), 0 0 0 4px rgba(232,184,75,.35); } .oa-bar-btn.is-ready::after { animation: none; opacity: 0; } }


/* « Refaire ma commande » : petit mot sous le titre des packs */
.oa .oa-reorder-note{margin:0 0 12px;padding:9px 12px;border-radius:12px;font-size:.8rem;line-height:1.35;color:var(--gold-ink,#E8B84B);background:rgba(232,184,75,.1);border:1px solid rgba(232,184,75,.28);animation:oa-note-in .4s ease both}
@keyframes oa-note-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.oa .oa-reorder-note{animation:none}}

/* ---------- Tablette / ordinateur : deux colonnes (paliers à gauche, compte + paiement collés à droite) ----------
 * Même HTML, même script : seul l'affichage change. En dessous de 960 px, rien de tout cela ne s'applique
 * (le téléphone garde la fenêtre qui remonte du bas). */
@media (min-width: 960px) {
  .oa { max-width: 1060px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); column-gap: 26px; align-items: start; }
  .oa > * { grid-column: 1 / -1; }
  .oa > #oa-s1 { grid-column: 1; }
  .oa > .order-panel { grid-column: 2; position: sticky; top: 16px; max-height: calc(100dvh - 190px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px 4px 2px 2px; margin: 0 -4px 0 -2px; }
  .oa .product-hero { max-height: 230px; }
  .oa .product-hero > img { height: 230px; }
  .oa-steps { max-width: 560px; }
  .oa #tier-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
  .oa .tier-card { min-height: 118px; }
  /* Les paliers restent toujours visibles et modifiables : on ne les replie jamais */
  #oa-s1 .oa-edit, #oa-s1 .oa-sum { display: none !important; }
  #oa-s1[data-state="done"] .oa-sec-body { display: block; }
  #oa-s1[data-state="done"] .oa-sub { display: block; }
  #oa-s1[data-state="done"] { border-color: var(--oa-line); }
  /* À droite : un aperçu clair de ce qui reste à faire, au lieu de deux cadres grisés */
  .oa .order-panel .oa-sec[data-state="locked"] { opacity: .62; }
  .oa .order-panel .oa-sec[data-state="locked"] .oa-sub { display: block; }
  .oa .order-panel .oa-sec:last-of-type { margin-bottom: 0; }
  /* La barre du bas se range à droite, sous la colonne du formulaire */
  .oa-bar { width: min(420px, calc(100% - 28px)); inset-inline: auto; inset-inline-end: max(14px, calc((100vw - 1060px) / 2)); margin-inline: 0; }
  /* Le fil d'étapes sert de repère, pas de bouton obligatoire */
  .oa-steps { margin-bottom: 18px; }
}
@media (min-width: 960px) and (max-height: 640px) { .oa > .order-panel { position: static; max-height: none; overflow: visible; } }
html[data-themeable][data-theme="light"] .oa > .order-panel { scrollbar-color: rgba(20,18,43,.25) transparent; }

/* ---------- Ambiance grand écran (≥ 960 px, souris) : fonds légers, verre dépoli, plus d'air ----------
 * Téléphone : inchangé (aucun fond ajouté, pour rester léger). Les calques sont décoratifs : aucun clic, aucun texte. */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .oa { isolation: isolate; padding-top: 6px; }
  /* Calque 1 : lueurs or / violet + fine trame de points, fondues vers le bas */
  .oa::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
      radial-gradient(900px 520px at 12% -6%, rgba(232,184,75,.16), transparent 62%),
      radial-gradient(820px 560px at 96% 8%, rgba(118,96,255,.17), transparent 60%),
      radial-gradient(700px 480px at 60% 108%, rgba(232,184,75,.08), transparent 65%),
      radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.35) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.35) 100%); }
  /* Calque 2 : l'affiche de l'app, très floue, en filigrane (donne une teinte propre à chaque application) */
  .oa::after { content: ""; position: fixed; inset: -80px; z-index: -1; pointer-events: none; background: var(--oa-poster, none) center 18% / cover no-repeat;
    filter: blur(64px) saturate(1.35); opacity: .2; transform: translateZ(0);
    -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%); mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%); }
  /* Cartes en verre dépoli : on devine le fond derrière */
  .oa .oa-sec { background: linear-gradient(165deg, rgba(38,31,86,.78), rgba(20,17,47,.8)); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
    border-color: rgba(255,255,255,.12); box-shadow: 0 22px 54px rgba(4,2,18,.34), inset 0 1px 0 rgba(255,255,255,.06); }
  .oa .oa-sec[data-state="active"] { border-color: rgba(232,184,75,.5); box-shadow: 0 22px 54px rgba(4,2,18,.38), 0 0 0 1px rgba(232,184,75,.12), 0 0 46px rgba(232,184,75,.08); }
  /* Affiche : plus grande, bord doré fin, ombre colorée */
  .oa .product-hero { border-radius: 26px; margin: 14px 0 18px; border: 1px solid rgba(243,214,134,.28); box-shadow: 0 26px 60px rgba(4,2,18,.45), 0 0 0 6px rgba(255,255,255,.02); }
  .oa .product-title-row h1 { font-size: 1.6rem; letter-spacing: -.01em; }
  .oa .range-note { font-size: .92rem; }
  /* Paliers : plus grands, plus de présence au survol */
  .oa .tier-card { min-height: 132px; padding: 18px 16px 15px; border-radius: 20px; }
  .oa .tier-card .tier-coins { font-size: 1.62rem; }
  .oa .tier-card .tier-price { font-size: 1rem; }
  .oa .oa-sec-title h2 { font-size: 1.18rem; }
  /* Étape 3 : le total ressort davantage */
  .oa .oa-recap .oa-r-total dd { font-size: 1.7rem; }
  .oa-bar { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
}
@media (min-width: 1500px) { .oa { max-width: 1180px; } .oa::before { background-size: auto, auto, auto, 30px 30px; } .oa > .order-panel { top: 20px; } .oa .product-hero { max-height: 270px; } .oa .product-hero > img { height: 270px; } }
@media (min-width: 960px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) { .oa::after { filter: none; opacity: .08; } .oa .oa-sec { -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* Thème clair : lueurs plus douces, cartes blanches légèrement translucides */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  html[data-themeable][data-theme="light"] .oa::before { background:
      radial-gradient(900px 520px at 12% -6%, rgba(232,184,75,.2), transparent 62%),
      radial-gradient(820px 560px at 96% 8%, rgba(118,96,255,.1), transparent 60%),
      radial-gradient(rgba(20,18,43,.08) 1px, transparent 1.4px) 0 0 / 26px 26px; }
  html[data-themeable][data-theme="light"] .oa::after { opacity: .12; filter: blur(64px) saturate(1.1); }
  html[data-themeable][data-theme="light"] .oa .oa-sec { background: rgba(255,255,255,.82); border-color: rgba(20,18,43,.12); box-shadow: 0 16px 40px rgba(20,18,43,.1); }
}

/* Deux colonnes : le vrai bouton « Payer » est aussi dans le récapitulatif (en plus de la barre du bas), pour qu'on ne le perde jamais de vue */
@media (min-width: 960px) {
  #oa-s3 .btn-order-submit { position: relative !important; isolation: isolate; width: 100%; height: auto; min-height: 48px; margin: 14px 0 0; padding: 0 16px; overflow: hidden; clip: auto; white-space: normal; animation: oa-pulse 1.9s ease-out infinite; transform-origin: 50% 50%; border: 0; border-radius: 16px; font: 800 .98rem var(--font-body, Inter, sans-serif); background: var(--btn-primary-bg, linear-gradient(180deg, #F3D686, #E8B84B)); color: var(--btn-primary-text, #241a02); box-shadow: 0 8px 20px rgba(232,184,75,.25); }
  #oa-s3 .btn-order-submit::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%); background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); pointer-events: none; animation: oa-sheen 2.6s ease-in-out infinite; }
  #oa-s3 .btn-order-submit:disabled { opacity: .55; box-shadow: none; cursor: default; animation: none; }
  #oa-s3 .btn-order-submit:disabled::after { display: none; }
}

/* Ordinateur (≥ 960 px, deux colonnes) : « Continuer » et « Payer » sont directement dans le formulaire, juste sous les champs,
   au lieu d'une barre collée tout en bas de l'écran. La barre du bas ne sert plus qu'au téléphone et à la tablette. */
@media (min-width: 960px) {
  .oa-bar { display: none !important; }
  .oa-next { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; isolation: isolate; width: 100%; min-height: 48px; margin-top: 14px; padding: 0 16px; border: 0; border-radius: 16px; cursor: pointer;
    font: 800 .98rem var(--font-body, Inter, sans-serif); background: var(--btn-primary-bg, linear-gradient(180deg, #F3D686, #E8B84B)); color: var(--btn-primary-text, #241a02);
    box-shadow: 0 8px 20px rgba(232,184,75,.25); transition: transform .12s, filter .15s; }
  .oa-next:hover { filter: brightness(1.05); }
  .oa-next:active { transform: scale(.985); }
  .oa-next::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transform: translateX(-120%); background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); pointer-events: none; }
  .oa-next.is-ready { animation: oa-pulse 1.9s ease-out infinite; }
  .oa-next.is-ready::after { opacity: 1; animation: oa-sheen 2.6s ease-in-out infinite; }
  /* Plus de barre : les boutons flottants et le pied de page reprennent leur place normale */
  body.oa-bar-on #floating-wa-btn, body.oa-bar-on #ai-chat-btn, body.oa-bar-on #sim-live-btn { margin-bottom: 0; }
  body.oa-bar-on .footer-pro { padding-bottom: 22px; }
}
@media (min-width: 960px) and (prefers-reduced-motion: reduce) { .oa-next.is-ready { animation: none; box-shadow: 0 10px 24px rgba(232,184,75,.26), 0 0 0 4px rgba(232,184,75,.35); } .oa-next.is-ready::after { animation: none; opacity: 0; } }

/* La barre reste toujours à l'écran : le pied de page garde de la place sous lui pour ne pas être caché derrière */
body.oa-bar-on .footer-pro { padding-bottom: calc(var(--oa-bar-h, 72px) + var(--oa-bar-bottom, 12px) + 18px); }

/* =====================================================================
   Fenêtre « moyen de paiement » — GRAND ÉCRAN (≥ 1024 px)
   Deux panneaux : à gauche le récapitulatif (montant, réassurance), à droite les moyens en grille.
   Rien ne change en dessous de 1024 px, ni dans le HTML : tout est placé en CSS à partir des éléments existants.
   ===================================================================== */
@media (min-width: 1024px) {
  .pm-choice-overlay { padding: 24px; }
  .pm-choice-modal {
    position: relative; width: min(1060px, 100%); max-width: 1060px; padding: 0; overflow: hidden; border-radius: 30px;
    background: linear-gradient(165deg, #1C1945 0%, #131031 100%); border: 1px solid rgba(243,214,134,.28);
    box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(232,184,75,.06), inset 0 1px 0 rgba(255,255,255,.06);
    animation: pm-desk-in .42s cubic-bezier(.2,.9,.25,1) both;
  }
  .pm-choice-modal::before { content: ""; position: absolute; z-index: 0; inset: 0 auto 0 0; width: 2px; background: linear-gradient(180deg, transparent, rgba(232,184,75,.9) 40%, transparent); opacity: 0; }
  @keyframes pm-desk-in { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: none; } }

  #pm-choice-step-select {
    position: relative; display: grid; grid-template-columns: 352px minmax(0, 1fr); grid-template-rows: auto 1fr auto; min-height: 580px; isolation: isolate;
  }
  /* Panneau gauche : fond doré profond, halo, anneaux et filigrane gravé */
  #pm-choice-step-select::before {
    content: ""; grid-column: 1; grid-row: 1 / -1; z-index: -2;
    background:
      radial-gradient(120% 70% at 0% 0%, rgba(243,214,134,.34) 0%, rgba(232,184,75,.12) 38%, transparent 70%),
      radial-gradient(90% 60% at 100% 100%, rgba(111,224,174,.10) 0%, transparent 60%),
      linear-gradient(170deg, #2A2158 0%, #1A1640 55%, #120F2E 100%);
    border-inline-end: 1px solid rgba(243,214,134,.22);
  }
  #pm-choice-step-select::after {
    content: ""; grid-column: 1; grid-row: 1 / -1; z-index: -1; pointer-events: none; opacity: .62; filter: brightness(2.1) saturate(1.35);
    background:
      url("/images/logo-momael-engraved.webp") no-repeat 50% 56% / 150px 150px,
      repeating-radial-gradient(circle at 50% 56%, transparent 0 40px, rgba(243,214,134,.09) 40px 41px);
    -webkit-mask-image: radial-gradient(closest-side at 50% 56%, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 56%, #000 55%, transparent 100%);
  }

  /* Récapitulatif */
  .pm-choice-amount {
    grid-column: 1; grid-row: 1 / 3; align-self: start; margin: 46px 34px 0; padding: 0; border: 0; background: none; border-radius: 0;
    font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: rgba(243,214,134,.9);
  }
  .pm-choice-amount b {
    margin-top: 8px; font-size: 3.1rem; line-height: 1; letter-spacing: -.01em;
    background: linear-gradient(180deg, #FFF6CF 0%, #F3D686 45%, #E8B84B 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 6px 22px rgba(232,184,75,.28));
  }
  .pm-choice-amount small { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(243,214,134,.2); font-size: .78rem; font-weight: 500; line-height: 1.55; color: var(--text-muted, #B3ADD9); max-width: 300px; }

  .pm-trust-footer { grid-column: 1; grid-row: 3; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; margin: 0 34px 38px; }
  .pm-trust-footer span { gap: 10px; font-size: .84rem; font-weight: 700; color: var(--text, #F4F1FF); opacity: .92; }

  /* Panneau droit */
  .pm-head { grid-column: 2; grid-row: 1; margin: 44px 44px 26px; gap: 16px; align-items: center; }
  .pm-head-ico { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 18px; }
  .pm-head h3 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -.005em; }
  .pm-head-pack { margin-top: 5px; font-size: .86rem; }
  .pm-head-pack:not(:empty) { display: inline-flex; padding: 3px 11px; border-radius: 999px; background: rgba(232,184,75,.12); border: 1px solid rgba(232,184,75,.3); }

  #pm-choice-buttons { grid-column: 2; grid-row: 2; align-self: start; margin: 0 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #pm-choice-buttons:has(> .pm-choice-btn:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pm-choice-buttons > :not(.pm-choice-btn), #pm-choice-buttons > a.pm-choice-btn { grid-column: 1 / -1; }
  #pm-choice-buttons:has(> .pm-choice-btn:nth-child(5)) > .pm-choice-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* Cartes des moyens */
  .pm-choice-btn {
    margin: 0; min-height: 96px; padding: 16px 70px 16px 26px; border-radius: 22px; gap: 16px; overflow: visible; isolation: isolate;
    background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    transition: transform .2s cubic-bezier(.2,.9,.25,1), border-color .2s, box-shadow .25s, background .2s;
    animation: pm-card-in .5s cubic-bezier(.2,.9,.25,1) both;
  }
  .pm-choice-btn:nth-child(2) { animation-delay: .06s; } .pm-choice-btn:nth-child(3) { animation-delay: .12s; } .pm-choice-btn:nth-child(4) { animation-delay: .18s; } .pm-choice-btn:nth-child(n+5) { animation-delay: .24s; }
  @keyframes pm-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .pm-choice-btn::before { inset-block: 20px; width: 5px; }
  .pm-choice-btn::after { inset-inline-end: 18px; width: 36px; height: 36px; background-size: 16px; }
  /* Reflet de couleur de la marque derrière le logo */
  .pm-choice-btn > .pm-choice-icon { position: relative; flex: 0 0 62px; width: 62px; height: 62px; border-radius: 18px; padding: 8px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--pm) 60%, transparent), 0 10px 24px color-mix(in srgb, var(--pm) 28%, transparent); }
  .pm-name { font-size: 1.12rem; }
  .pm-amt { font-size: .78rem; padding: 3px 10px; }
  .pm-choice-btn small { margin-top: 5px; font-size: .8rem; line-height: 1.4; }
  .pm-t { flex-wrap: wrap; row-gap: 4px; }
  .pm-choice-btn.recommended {
    border-color: rgba(232,184,75,.62);
    background: radial-gradient(120% 140% at 0% 0%, rgba(232,184,75,.22), transparent 60%), linear-gradient(160deg, rgba(84,62,8,.4), rgba(31,27,74,.92));
    box-shadow: 0 12px 34px rgba(0,0,0,.3), 0 0 0 1px rgba(232,184,75,.12), 0 0 36px rgba(232,184,75,.1);
  }
  .pm-choice-recommended-tag { top: -11px; right: 18px; padding: 4px 12px; font-size: .66rem; box-shadow: 0 6px 16px rgba(232,184,75,.35); }

  @media (hover: hover) {
    .pm-choice-btn:hover { transform: translateY(-4px); border-color: var(--pm); background: linear-gradient(160deg, color-mix(in srgb, var(--pm) 16%, transparent), rgba(255,255,255,.03)); box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 0 1px color-mix(in srgb, var(--pm) 55%, transparent), 0 0 34px color-mix(in srgb, var(--pm) 22%, transparent); }
    .pm-choice-btn:hover::after { background-color: var(--gold, #E8B84B); transform: translateY(-50%) translateX(3px); }
    .pm-choice-btn:hover > .pm-choice-icon { transform: scale(1.05) rotate(-2deg); }
  }
  .pm-choice-btn > .pm-choice-icon { transition: transform .22s cubic-bezier(.2,.9,.25,1); }
  .pm-choice-btn:active { transform: translateY(-1px) scale(.992); }

  .pm-choice-loading, .pm-choice-empty { padding: 56px 20px; font-size: .95rem; }

  .pm-choice-cancel { grid-column: 2; grid-row: 3; justify-self: end; align-self: end; width: auto; margin: 20px 44px 32px; padding: 9px 20px; min-height: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); transition: background .15s, border-color .15s, color .15s; }
  .pm-choice-cancel:hover { background: rgba(255,255,255,.09); border-color: rgba(243,214,134,.5); color: var(--text, #F4F1FF); }

  /* Étape « pièce » (redirection) : centrée dans la grande fenêtre */
  #pm-choice-step-coin { padding: 54px 40px 60px; }

  /* Thème clair */
  html[data-themeable][data-theme="light"] .pm-choice-modal { background: linear-gradient(165deg, #FFFFFF, #FBF8EE); border-color: rgba(138,100,16,.32); box-shadow: 0 40px 100px rgba(20,18,43,.28), inset 0 1px 0 #fff; }
  html[data-themeable][data-theme="light"] #pm-choice-step-select::before {
    background: radial-gradient(120% 70% at 0% 0%, rgba(243,214,134,.75), rgba(255,236,182,.4) 45%, transparent 75%), linear-gradient(170deg, #FFF3CD 0%, #FBE7A8 60%, #F6DA8A 100%);
    border-inline-end-color: rgba(138,100,16,.28);
  }
  html[data-themeable][data-theme="light"] #pm-choice-step-select::after { opacity: .35; mix-blend-mode: multiply; }
  html[data-themeable][data-theme="light"] .pm-choice-amount { color: #6B4B08; background: none; border: 0; }
  html[data-themeable][data-theme="light"] .pm-choice-amount b { background: linear-gradient(180deg, #A06F0C, #6B4B08); -webkit-background-clip: text; background-clip: text; color: transparent; filter: none; }
  html[data-themeable][data-theme="light"] .pm-choice-amount small { border-top-color: rgba(138,100,16,.3); color: #4A3A12; }
  html[data-themeable][data-theme="light"] .pm-trust-footer span { color: #3A2D0B; opacity: 1; }
  html[data-themeable][data-theme="light"] .pm-choice-btn { background: #fff; border-color: rgba(32,27,53,.2); box-shadow: 0 8px 22px rgba(20,18,43,.09); }
  html[data-themeable][data-theme="light"] .pm-choice-btn.recommended { background: radial-gradient(120% 140% at 0% 0%, rgba(243,214,134,.5), transparent 60%), #FFFBEF; border-color: rgba(138,100,16,.6); box-shadow: 0 10px 28px rgba(138,100,16,.16); }
  html[data-themeable][data-theme="light"] .pm-head-pack:not(:empty) { background: rgba(138,100,16,.1); border-color: rgba(138,100,16,.32); }
  html[data-themeable][data-theme="light"] .pm-choice-cancel { background: #fff; border-color: rgba(32,27,53,.22); }
  @media (hover: hover) {
    html[data-themeable][data-theme="light"] .pm-choice-btn:hover { background: color-mix(in srgb, var(--pm) 10%, #fff); box-shadow: 0 18px 40px rgba(20,18,43,.16), 0 0 0 1px var(--pm); }
  }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .pm-choice-modal, .pm-choice-btn { animation: none; }
  .pm-choice-btn, .pm-choice-btn > .pm-choice-icon { transition: none; }
}

/* ---------- Icônes dessinées (remplacent les symboles texte) ---------- */
.pm-trust-footer span { display: inline-flex; align-items: center; gap: 6px; }
.pm-trust-footer .ico { flex: 0 0 auto; color: var(--gold-soft, #F3D686); }
#coin-carte-warning { display: none; }
#coin-carte-warning .ico { vertical-align: -3px; margin-right: 4px; }
.coin-face.coin-back { display: flex; align-items: center; justify-content: center; }
.coin-face.coin-back svg { filter: drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
html[data-themeable][data-theme="light"] .pm-trust-footer .ico { color: var(--gold-ink, #8A6410); }
@media (min-width: 1024px) { .pm-trust-footer .ico { width: 18px; height: 18px; padding: 5px; box-sizing: content-box; border-radius: 50%; background: rgba(232,184,75,.14); } }
html[data-themeable][data-theme="light"] .oa .tier-card.has-local .tier-price-secondary { color: var(--text); }
html[data-themeable][data-theme="light"] .oa .tier-card.has-local .tier-price { color: var(--oa-muted, #5B567A); opacity: 1; }
