/* Site public — style « application » sombre et néon */
:root {
  --bg: #060A1C; --surface: #0E1530; --surface-2: #131C3E; --line: rgba(120, 150, 255, .16);
  --ink: #EEF2FF; --muted: #98A3C7; --accent: #3D7BFF; --accent-2: #6FA0FF; --danger: #FF4D5E;
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0; color: var(--ink); line-height: 1.45; min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(61,123,255,.28), transparent 60%),
    radial-gradient(500px 500px at 100% 30%, rgba(111,60,255,.18), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(61,123,255,.12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
img { max-width: 100%; }
input, button, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
svg { display: block; }
.loading { text-align: center; color: var(--muted); padding: 5rem 1rem; }

.app { max-width: 1120px; margin: 0 auto; padding: 1rem 1rem 3rem; }

/* En-tête */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; }
.brand svg, .brand-img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.top-actions { display: flex; gap: .6rem; align-items: center; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; flex: none; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { border-color: var(--accent); }
.pill-btn { border: 0; border-radius: 999px; padding: .7rem 1.2rem; font-weight: 700; cursor: pointer; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--accent), #6A5BFF); box-shadow: 0 6px 20px rgba(61,123,255,.35); display: inline-flex; align-items: center; gap: .4rem; }
.pill-btn:hover { filter: brightness(1.1); }
.pill-btn:disabled { opacity: .5; cursor: default; }
.pill-btn.wa { background: #1FAF55; box-shadow: 0 6px 20px rgba(31,175,85,.3); }
@media (max-width: 600px) { #add-cta { display: none; } }

/* Recherche */
.search { display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 1rem; margin-bottom: 1.1rem; box-shadow: inset 0 0 0 1px rgba(61,123,255,.06), 0 0 30px rgba(61,123,255,.08); }
.search:focus-within { border-color: var(--accent); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: .95rem 0; font-size: 1rem; }
.search input::placeholder { color: var(--muted); }

/* Tags (cases sous la recherche) */
.tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin-bottom: 1.6rem; }
.tags.many { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: none; }
.tags.many .tag { flex: 0 0 calc((100% - 1.95rem) / 4); scroll-snap-align: start; }
.tags::-webkit-scrollbar { display: none; }
.tag { --c: #4D8DFF; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .85rem .4rem .75rem; min-height: 104px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 18px; cursor: pointer; text-align: center; }
.tag:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.tag[aria-pressed="true"] { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 24px color-mix(in srgb, var(--c) 35%, transparent); }
.tag-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 30%, transparent); }
.tag-ic svg { width: 26px; height: 26px; }
.tag-ic img { width: 30px; height: 30px; object-fit: contain; }
.tag-lb { font-size: .78rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 760px) { .tag { min-height: 120px; } .tag-lb { font-size: .92rem; } .tag-ic { width: 54px; height: 54px; } }

/* Sections */
.sec { margin-bottom: 1.8rem; }
.sec[hidden] { display: none; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.sec-head h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
@media (min-width: 760px) { .sec-head h2 { font-size: 1.45rem; } }
.see { background: none; border: 0; color: var(--accent-2); font-weight: 600; font-size: .9rem; cursor: pointer; display: inline-flex; align-items: center; gap: .15rem; padding: .25rem 0; }
.see svg { width: 16px; height: 16px; }
.meta { color: var(--muted); font-size: .88rem; }

.row-wrap { position: relative; margin: 0 -1rem; }
.row { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; padding: .2rem 1rem .5rem; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
/* Indicateur de défilement : fondus sur les bords + petite barre */
.row-wrap::before, .row-wrap::after { content: ""; position: absolute; top: 0; bottom: 14px; width: 44px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 2; }
.row-wrap::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.row-wrap::after { inset-inline-end: 0; background: linear-gradient(270deg, var(--bg), transparent); }
[dir="rtl"] .row-wrap::before { background: linear-gradient(270deg, var(--bg), transparent); }
[dir="rtl"] .row-wrap::after { background: linear-gradient(90deg, var(--bg), transparent); }
.row-wrap.can-start::before, .row-wrap.can-end::after { opacity: 1; }
.rail { position: relative; width: 56px; height: 3px; margin: .25rem auto 0; border-radius: 3px; background: rgba(152,163,199,.22); overflow: hidden; }
.rail[hidden] { display: none; }
.rail span { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; border-radius: 3px; background: var(--accent-2); transition: inset-inline-start .1s linear; }
.row > * { scroll-snap-align: start; flex: none; }

/* VIP */
.vip-item { width: 108px; text-decoration: none; display: flex; flex-direction: column; gap: .15rem; }
.vip-logo { width: 108px; height: 108px; border-radius: 16px; display: grid; place-items: center; padding: 12px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06); transition: transform .15s; margin-bottom: .35rem; }
.vip-item:hover .vip-logo { transform: translateY(-3px); }
.vip-logo img { width: 100%; height: 100%; object-fit: contain; }
.vip-logo .mono { width: 64%; font-size: 1.3rem; }
.vip-item strong { font-size: .9rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vip-item small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 760px) { .vip-item, .vip-logo { width: 140px; } .vip-logo { height: 140px; padding: 16px; } }

/* Offres */
.offer { width: 230px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.offer:hover { transform: translateY(-3px); border-color: rgba(61,123,255,.5); }
.offer-img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-end { position: absolute; inset-inline-start: .55rem; bottom: .55rem; background: rgba(6,10,28,.82); color: #fff; font-size: .72rem; font-weight: 700; padding: .22rem .55rem; border-radius: 8px; backdrop-filter: blur(4px); }
.offer-end.hot { background: #FF7A1A; }
.offer-badge { position: absolute; top: .55rem; inset-inline-end: .55rem; background: var(--danger); color: #fff; font-weight: 800; font-size: .8rem; padding: .25rem .55rem; border-radius: 10px; }
.offer-body { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; padding: .75rem .85rem .85rem; }
.offer-body strong { display: block; font-size: .95rem; line-height: 1.25; }
.offer-body small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.offer-go { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; box-shadow: 0 0 14px rgba(61,123,255,.5); }
.offer-go svg { width: 16px; height: 16px; color: #fff; }
.offer-row.open { flex-wrap: wrap; overflow: visible; padding: 0 1rem; }
.offer-row.open .offer { width: calc(50% - .375rem); }
@media (min-width: 760px) { .offer { width: 270px; } .offer-row.open .offer { width: calc(25% - .57rem); } }

/* Catégories */
.cat { width: 84px; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; text-align: center; line-height: 1.2; padding: 0; }
.cat-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent-2); }
.cat-ic svg { width: 28px; height: 28px; }
.cat-ic img { width: 32px; height: 32px; object-fit: contain; }
.cat:hover .cat-ic { border-color: var(--accent); }
.cat[aria-pressed="true"] .cat-ic { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 20px rgba(61,123,255,.5); }

/* Grille de toutes les marques */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.filters:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: rgba(61,123,255,.15); border: 1px solid rgba(61,123,255,.4); border-radius: 999px; padding: .35rem .7rem; font-size: .85rem; font-weight: 600; cursor: pointer; }
.chip svg { width: 14px; height: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: rgba(61,123,255,.5); }
.card-logo { position: relative; aspect-ratio: 1.6; display: grid; place-items: center; padding: 1rem; }
.card-logo img { max-width: 82%; max-height: 82%; object-fit: contain; }
.card-logo .mono { width: 34%; font-size: 1.1rem; }
.vip-badge { position: absolute; top: .45rem; inset-inline-start: .45rem; background: #F5B700; color: #3A2A00; font-size: .68rem; font-weight: 800; padding: .15rem .5rem; border-radius: 999px; }
.card-body { padding: .7rem .8rem .8rem; display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.card-body strong { font-size: .95rem; line-height: 1.25; }
.card-body small { color: var(--muted); font-size: .8rem; }
.visit { margin-top: .6rem; display: inline-flex; align-items: center; gap: .2rem; color: var(--accent-2); font-weight: 700; font-size: .82rem; }
.visit svg { width: 14px; height: 14px; }
.mono { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 2.5rem 1rem; border: 1px dashed var(--line); border-radius: 18px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 1.2rem; }
.pg { min-width: 2.5rem; height: 2.5rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; }
.pg[aria-current="page"] { background: var(--accent); border-color: var(--accent); }
.pg:disabled { opacity: .35; cursor: default; }

/* À propos / contact */
.about { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 760px) { .about { grid-template-columns: 1.3fr 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; }
.panel h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.panel p { margin: 0 0 1rem; color: var(--muted); white-space: pre-line; }
.panel.glow { background: linear-gradient(160deg, rgba(61,123,255,.22), rgba(106,91,255,.12)), var(--surface); border-color: rgba(61,123,255,.4); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.contact-lines { list-style: none; padding: 0; margin: 1rem 0 0; color: var(--muted); font-size: .92rem; }
footer { text-align: center; color: var(--muted); font-size: .82rem; padding: 1rem 0 0; }

/* Formulaire de demande */
.modal { width: min(680px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; padding: 0; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.modal::backdrop { background: rgba(3,6,18,.75); }
.modal-in { padding: 1.2rem; max-height: calc(100dvh - 1.5rem); overflow-y: auto; }
.step { display: flex; flex-direction: column; gap: .9rem; margin-top: .9rem; }
.step[hidden] { display: none; }
.step-sub { margin: 0; color: var(--muted); }
.step-h { margin: .4rem 0 0; font-size: 1rem; }
.modal-head h2 { flex: 1; }
.back svg { transform: scaleX(-1); }
[dir="rtl"] .back svg { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.modal-head h2 { margin: 0; font-size: 1.3rem; }
.seg { display: flex; gap: .5rem; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: var(--muted); }
.field.full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .85rem; font-size: 1rem; color: var(--ink); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.3em; }
.msg.err { color: var(--danger); }
.actions { display: flex; }

/* Langues + arabe (droite à gauche) */
.langs { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs button { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .8rem; min-width: 34px; height: 32px; border-radius: 999px; cursor: pointer; padding: 0 .5rem; }
.langs button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.langs button[lang="ar"] { font-family: "Cairo", system-ui, sans-serif; font-size: .95rem; }
html[lang="ar"] body, html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] button { font-family: "Cairo", "Plus Jakarta Sans", system-ui, sans-serif; }
html[lang="ar"] .brand { letter-spacing: .04em; }
[dir="rtl"] .see svg, [dir="rtl"] .offer-go svg, [dir="rtl"] .visit svg { transform: scaleX(-1); }
@media (max-width: 420px) { .langs button { min-width: 30px; padding: 0 .35rem; } .brand { font-size: 1.2rem; } .brand svg, .brand-img { width: 30px; height: 30px; } }

/* Paiement (RIB) dans « Ajouter votre offre » */
.pay { border: 1px solid rgba(61,123,255,.4); background: rgba(61,123,255,.08); border-radius: 14px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .45rem; }
.pay[hidden] { display: none; }
.pay-title { font-size: .95rem; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: .9rem; }
.pay-row span { color: var(--muted); min-width: 6.5rem; }
.pay-row b { font-weight: 700; letter-spacing: .02em; word-break: break-all; }
.copy { margin-inline-start: auto; border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .8rem; cursor: pointer; }
.copy:hover { border-color: var(--accent); }
.pay-note { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; white-space: pre-line; }

/* Choix (formule / contact) */
.choice { display: flex; align-items: center; gap: .9rem; text-align: start; width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; cursor: pointer; }
.choice:hover { border-color: var(--accent); }
.choice > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.choice small { color: var(--muted); font-size: .85rem; }
.choice > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
[dir="rtl"] .choice > svg { transform: scaleX(-1); }
.choice-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(61,123,255,.16); color: var(--accent-2); flex: none; }
.choice-ic svg { width: 24px; height: 24px; }
.wa-help { display: inline-flex; align-items: center; gap: .4rem; color: #3BD671; font-weight: 700; font-size: .9rem; text-decoration: none; padding: .4rem 0; }
.wa-help svg { width: 20px; height: 20px; }
.wa-help[hidden] { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.actions.center { justify-content: center; }
.pill-btn.ghost { background: var(--surface-2); box-shadow: none; border: 1px solid var(--line); }
.pill-btn svg { width: 18px; height: 18px; }

/* Tarifs */
.plans { display: grid; gap: .8rem; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } .plan-offer { grid-column: 1 / -1; } }
.plan { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.plan-head { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; color: #fff; }
.plan-head small { display: block; opacity: .85; font-size: .8rem; }
.plan-ic { width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.plan-ic svg { width: 30px; height: 30px; }
.plan-normal .plan-head { background: linear-gradient(135deg, #1E6FF2, #3D8BFF); }
.plan-vip .plan-head { background: linear-gradient(135deg, #C98A00, #F2B21B); }
.plan-offer .plan-head { background: linear-gradient(135deg, #E0283A, #FF5A4E); }
.plan-rows { display: grid; gap: .4rem; padding: .6rem; }
.plan-offer .plan-rows { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-radius: 12px; background: var(--surface); border: 1px solid transparent; cursor: pointer; font-weight: 600; }
.plan-row input { position: absolute; opacity: 0; pointer-events: none; }
.plan-row b { font-size: 1.05rem; font-weight: 800; }
.plan-normal .plan-row b { color: #6FA0FF; } .plan-vip .plan-row b { color: #F5C04A; } .plan-offer .plan-row b { color: #FF6B6B; }
.plan-row:hover { border-color: var(--line); }
.plan-row.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 18px rgba(61,123,255,.3); }
.plan-row:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.vip-note { margin: 0; padding: .7rem .9rem; border-radius: 12px; background: rgba(245,183,0,.1); border: 1px solid rgba(245,183,0,.35); color: #F5C04A; font-size: .88rem; font-weight: 600; }

/* Formulaire + paiement */
.sum-total { text-align: end; }
.sum-total small { display: block; color: var(--muted); font-size: .75rem; }
.sum-total b { font-size: 1.3rem; }
.field select { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .85rem; font-size: 1rem; color: var(--ink); }
.field > span[hidden], .field [data-k][hidden] { display: none; }
.up { display: flex; align-items: center; gap: .8rem; }
.up-prev { width: 84px; height: 64px; border-radius: 12px; border: 1px dashed var(--line); background: var(--bg); display: grid; place-items: center; overflow: hidden; flex: none; }
.up-prev.wide { width: 64px; height: 96px; }
.up-prev img { width: 100%; height: 100%; object-fit: contain; }
.up-btn { position: relative; display: inline-flex; align-items: center; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: .88rem; cursor: pointer; }
.up-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.up-btn:focus-within { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.check-row { grid-column: 1 / -1; display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .9rem; cursor: pointer; }
.check-row[hidden] { display: none; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.pay-amount { font-size: 1.1rem; color: #fff; }
.done { align-items: center; text-align: center; padding: 1rem 0; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: #1FAF55; display: grid; place-items: center; font-size: 2rem; font-weight: 800; }
.done p { margin: 0; color: var(--muted); max-width: 32em; }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; inset-inline-end: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 20; display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1rem; border-radius: 999px; background: #1FAF55; color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float[hidden] { display: none; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: .8rem; } }

/* Bouton « Ajouter votre offre » flottant (téléphone) */
.add-float { display: none; }
@media (max-width: 600px) {
  .add-float { display: inline-flex; align-items: center; position: fixed; z-index: 20; inset-inline-start: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    border: 0; border-radius: 999px; padding: .85rem 1.2rem; font-weight: 800; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #6A5BFF); box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 20px rgba(61,123,255,.4); }
  .app { padding-bottom: 6rem; }
}

/* Choix multiple (abonnement + offre) */
button.plan-row { width: 100%; font: inherit; color: var(--ink); text-align: start; }
.plan-row .pr-l { flex: 1; }
.tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.plan-row.on .tick { border-color: var(--accent); background: var(--accent); }
.plan-row.on .tick::after { content: ""; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.plan-row s { color: var(--muted); font-weight: 600; font-size: .85rem; margin-inline-end: .25rem; }
.check-row.already { padding: 0 .9rem .8rem; font-size: .85rem; color: var(--muted); }
.cart, .summary { display: flex; flex-direction: column; gap: .35rem; padding: .85rem 1rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.cart[hidden] { display: none; }
.cart-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.cart-row span { color: var(--muted); }
.cart-row.total { border-top: 1px solid var(--line); padding-top: .45rem; margin-top: .15rem; font-size: 1.05rem; }
.cart-row.total span { color: var(--ink); font-weight: 700; }
.cart-row.total b { font-size: 1.25rem; }
.fset { display: flex; flex-direction: column; gap: .9rem; }
.fset[hidden] { display: none; }
.cart-row b, .plan-row b { white-space: nowrap; }
.plan-reach { display: flex; align-items: center; gap: .45rem; margin: .6rem .6rem 0; padding: .5rem .75rem; border-radius: 10px; background: rgba(255,255,255,.05); font-size: .85rem; font-weight: 700; }
.plan-reach svg { width: 18px; height: 18px; flex: none; }
.plan-normal .plan-reach { color: #8FB5FF; } .plan-vip .plan-reach { color: #F5C04A; } .plan-offer .plan-reach { color: #FF8A80; }
