/* @kiosk : nuit, lumière dorée, verre. Polices système uniquement (chargement instantané). */
:root {
  --bg: #23285f; --bg2: #2e3478; --ink: #f5f6ff; --muted: #c3c8ec; --line: rgba(255,255,255,.13);
  --glass: rgba(255,255,255,.065); --glass2: rgba(255,255,255,.11);
  --gold: #ffc54d; --gold2: #ff9b1f; --cyan: #7fd8ff; --pink: #ff6fb5; --violet: #9a7bff; --teal: #2fe0c0;
  --r: 20px; --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 100% -5%, rgba(255,170,60,.30), transparent 60%),
    radial-gradient(50vmax 40vmax at -10% 25%, rgba(122,92,255,.30), transparent 60%),
    radial-gradient(50vmax 35vmax at 110% 75%, rgba(255,95,168,.18), transparent 60%),
    radial-gradient(40vmax 30vmax at 0% 105%, rgba(79,214,255,.16), transparent 60%),
    linear-gradient(180deg, #3a3f8f 0%, #2a2f72 45%, #22275f 100%); }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--round); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; }
p { margin: 0 0 .8em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.glass { background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 44px; padding: .6em 1.15em; border-radius: 999px; border: 0; font: 700 1rem/1.1 var(--round); color: var(--ink); cursor: pointer; text-decoration: none !important; transition: transform .12s ease, filter .12s; }
.btn:active { transform: scale(.97); }
.btn-gold { color: #2a1700; background: linear-gradient(180deg, #ffe08a 0%, var(--gold) 45%, var(--gold2) 100%); box-shadow: 0 6px 22px rgba(255,170,40,.38), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--glass2); border: 1px solid var(--line); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.28); }
.btn-sm { min-height: 38px; padding: .45em .9em; font-size: .92rem; }
.btn-lg { min-height: 54px; font-size: 1.08rem; padding: .8em 1.4em; }
.btn-block { width: 100%; }
.link { font-weight: 600; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(38,43,104,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); font: 800 1.35rem/1 var(--round); letter-spacing: -.02em; text-decoration: none !important; }
.logo img { width: 22px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255,190,90,.7)); }
.top-nav { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; color: var(--ink); background: var(--glass2); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; text-decoration: none !important; }
.is-on.icon-btn { border-color: var(--cyan); }
.flash { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(47,224,192,.14); border: 1px solid rgba(47,224,192,.45); font-weight: 600; }

/* Accueil */
.hero { padding: 26px 0 6px; }
.brand { font: 900 clamp(3rem, 13vw, 5.2rem)/1 var(--round); letter-spacing: -.04em; margin: 0;
  background: linear-gradient(180deg, #ffffff 10%, #cdeeff 55%, #7fd8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(127,216,255,.35)); }
.tagline { margin: 8px 0 18px; font: 700 1.2rem/1.35 var(--round); color: #a8620a; }
.tagline span { display: block; font: 500 1rem/1.4 var(--font); color: var(--muted); margin-top: 2px; }
.search { position: relative; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 30px rgba(0,0,0,.3), 0 0 0 4px rgba(255,197,77,.07); }
.search-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 46px; padding: 0 8px 0 42px; border: 0; background: transparent; color: var(--ink); font: 500 1rem var(--font); outline: none; }
.search input::placeholder { color: #8f97c4; }
.search .btn { min-height: 46px; padding: 0 18px; }
.chips-wrap { overflow-x: auto; scrollbar-width: none; margin-top: 14px; -webkit-overflow-scrolling: touch; }
.chips-wrap::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 8px; padding-bottom: 6px; width: max-content; min-width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; background: var(--glass2); border: 1px solid var(--line); text-decoration: none !important; }
.chip.is-on { color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold)); border-color: transparent; }
.chip-static { min-height: 30px; font-size: .85rem; padding: 0 10px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.sec-head h2 { margin: 0; }

/* Cartes */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { display: block; color: var(--ink); text-decoration: none !important; border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid var(--line); overflow: hidden; transition: transform .15s ease, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,197,77,.35); }
.card-img { position: relative; aspect-ratio: 4 / 5; background: #343a85; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.price { position: absolute; right: 8px; top: 8px; padding: 5px 11px; border-radius: 999px; font: 800 1.05rem/1.1 var(--round); color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold) 50%, var(--gold2)); box-shadow: 0 4px 14px rgba(0,0,0,.35), 0 0 18px rgba(255,190,70,.45); }
.card-body { padding: 10px 12px 12px; }
.card-body h3 { font-size: 1rem; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .82rem; color: var(--muted); }
.tag { padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; color: #4b2fb0; background: rgba(154,123,255,.22); border: 1px solid rgba(154,123,255,.4); }
.by { margin: 0; font-size: .85rem; color: var(--muted); }
.empty { padding: 22px; text-align: center; }

.sell { margin: 34px 0 10px; padding: 22px; display: grid; gap: 14px; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,180,70,.35), transparent 55%), linear-gradient(145deg, rgba(154,123,255,.22), rgba(255,111,181,.12)); }
.sell h2 { font-size: 1.45rem; }
.sell p { color: var(--muted); margin: 0; }
.demo-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* Fiche produit */
.back { display: inline-flex; align-items: center; gap: 4px; margin: 14px 0 10px; color: var(--muted); font-weight: 600; }
.prod { display: grid; gap: 18px; }
.prod-cover img { width: 100%; max-width: 420px; margin: 0 auto; border-radius: 22px; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 60px rgba(255,180,70,.18); }
.prod h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); margin-top: 6px; }
.summary { font-size: 1.08rem; color: #3a3760; }
.buy { padding: 16px; margin-top: 12px; }
.buy-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.big-price { font: 900 2.1rem/1 var(--round); color: var(--gold); text-shadow: 0 0 24px rgba(255,190,70,.45); }
.buy-note { margin: 10px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
.btn-extra { margin-top: 10px; }
.trust { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 5px; }
.trust svg { color: #b49cff; }
.pages { margin-top: 28px; }
.pages h2 { margin-bottom: 2px; }
.pages-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.page { display: block; color: var(--ink); text-decoration: none !important; }
.page img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); }
.page span { display: flex; gap: 6px; align-items: baseline; margin-top: 7px; font-size: .85rem; color: var(--muted); line-height: 1.3; }
.page b { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .75rem; color: #2a1700; background: var(--gold); }
.desc { margin-top: 26px; padding: 18px; }
.desc ul { margin: 0 0 .8em; padding-left: 1.2em; }
.desc li { margin: .2em 0; }
.desc li::marker { color: var(--gold); }
.desc h3 { margin: 1.1em 0 .4em; font-size: 1.02rem; color: var(--gold); letter-spacing: .01em; }
.desc h3:first-of-type { margin-top: .6em; }

/* Formulaires */
.page-title { font-size: clamp(1.8rem, 6vw, 2.4rem); margin: 22px 0 6px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form label .muted { font-weight: 400; }
input[type=text], input[type=email], input[type=password], input:not([type]), input[inputmode], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(20,24,70,.45); color: var(--ink); font: 400 1rem var(--font); }
textarea { resize: vertical; line-height: 1.45; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select option { background: #2e3478; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.file input[type=file] { padding: 12px; border-radius: 14px; border: 1.5px dashed rgba(255,197,77,.55); background: rgba(255,197,77,.06); color: var(--muted); font-size: .9rem; width: 100%; }
.file input[type=file]::file-selector-button { margin-right: 10px; padding: 8px 14px; border: 0; border-radius: 999px; font-weight: 700; color: #2a1700; background: var(--gold); cursor: pointer; }
.pub { padding: 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 14px; }
legend { display: flex; align-items: center; gap: 10px; font: 800 1.15rem var(--round); margin-bottom: 12px; padding: 0; }
.step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .95rem; color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold)); }
.row2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 500 !important; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--gold); }
.hint { font-size: .87rem; color: var(--muted); margin: 0; }
.err { padding: 12px 14px; border-radius: 14px; background: rgba(255,90,120,.15); border: 1px solid rgba(255,90,120,.5); color: #a3122e; font-weight: 600; }
.pill-warn { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold)); }

/* Auth */
.auth { display: grid; gap: 18px; padding-top: 18px; max-width: 920px; }
.auth-cover img { width: 150px; margin: 0 auto; border-radius: 18px; box-shadow: 0 0 50px rgba(255,180,70,.25), 0 20px 50px rgba(0,0,0,.5); }
.auth-box { padding: 22px; }
.auth-box h1 { font-size: 1.8rem; margin-bottom: 4px; }
.switch { margin: 16px 0 0; text-align: center; }

/* Compte / vendeur */
.box { padding: 18px; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 800 1.3rem var(--round); color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold2)); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sub { margin: 24px 0 10px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px; }
.li img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; }
.li a strong { color: var(--ink); }
.li .extra-link { grid-column: 2 / -1; justify-self: start; margin-top: -4px; font-size: .86rem; font-weight: 600; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.logout { margin: 28px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.stat { padding: 14px; }
.stat span { display: block; font-size: .82rem; color: var(--muted); }
.stat strong { font: 900 1.5rem var(--round); }
.stat.gold strong { color: var(--gold); }
.ok { color: #b49cff; font-weight: 700; }
.off { color: var(--pink); font-weight: 700; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 680px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
.pay h1 { margin-top: 12px; }
.pay-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; margin: 14px 0; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); }
.pay-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.pay-item .big-price { font-size: 1.6rem; }
.prose h2 { font-size: 1.1rem; margin-top: 1.2em; color: #a8620a; }

/* Pied de page */
.foot { margin-top: 48px; padding: 28px 0 40px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(4,6,20,.5); }
.foot-in { display: grid; gap: 16px; }
.foot-brand { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); }
.foot-brand img { border-radius: 10px; }
.foot-brand strong { color: var(--ink); font: 800 1.1rem var(--round); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-nav a { color: var(--muted); font-size: .92rem; }
.foot-note { font-size: .8rem; color: #8189b8; margin: 0; }

@media (max-width: 380px) { .hide-sm { display: none; } .search .btn { padding: 0 12px; } }
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .pages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .sell { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; }
}
@media (min-width: 900px) {
  .wrap { padding: 0 28px; }
  .hero { padding: 48px 0 10px; }
  .hero .search { max-width: 640px; }
  .tagline { font-size: 1.5rem; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .prod { grid-template-columns: 400px 1fr; gap: 40px; align-items: start; }
  .prod-cover { position: sticky; top: 80px; }
  .auth { grid-template-columns: 300px 1fr; align-items: center; padding-top: 40px; }
  .auth-cover img { width: 100%; }
  .foot-in { grid-template-columns: auto 1fr; align-items: center; }
  .foot-note { grid-column: 1 / -1; }
  .chips { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Ajouts : badge sur image, coup de cœur, halo du titre */
.tag-img { position: absolute; left: 8px; bottom: 8px; background: rgba(20,14,60,.72); }
.hero .wrap { position: relative; }
.hero .wrap::before { content: ""; position: absolute; left: -40px; top: -50px; width: 300px; height: 220px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,190,80,.35), rgba(255,190,80,0)); }
.feat { display: grid; grid-template-columns: 112px 1fr; gap: 14px; margin-top: 18px; padding: 12px; color: var(--ink); text-decoration: none !important;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255,180,70,.28), transparent 60%), linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border-color: rgba(255,197,77,.35); }
.feat img { width: 112px; height: 140px; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.feat-body { display: flex; flex-direction: column; min-width: 0; }
.feat h2 { font-size: 1.15rem; margin: 6px 0 4px; }
.feat p { font-size: .86rem; color: var(--muted); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feat .big-price { font-size: 1.6rem; }
.pill-heart { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; color: var(--ink); background: linear-gradient(90deg, var(--pink), var(--violet)); }
@media (min-width: 900px) {
  .feat { grid-template-columns: 180px 1fr; padding: 18px; gap: 24px; max-width: 760px; }
  .feat img { width: 180px; height: 225px; }
  .feat h2 { font-size: 1.6rem; }
  .feat p { font-size: 1rem; -webkit-line-clamp: 3; }
}
.ex { color: #6a3fd0; font-weight: 600; }
.chip-tout { --c: 255,197,77; } .chip-ebooks { --c: 154,123,255; } .chip-plannings { --c: 255,170,60; } .chip-textes { --c: 79,214,255; }
.chip-templates { --c: 255,111,181; } .chip-scripts { --c: 47,224,192; } .chip-prompts { --c: 201,140,255; } .chip-autre { --c: 170,177,218; }
.chip { background: rgba(var(--c, 255,255,255), .13); border-color: rgba(var(--c, 255,255,255), .45); }
body::before { background:
    radial-gradient(60vmax 42vmax at 100% -5%, rgba(255,170,60,.42), transparent 60%),
    radial-gradient(55vmax 45vmax at -10% 22%, rgba(122,92,255,.42), transparent 60%),
    radial-gradient(50vmax 38vmax at 110% 70%, rgba(255,95,168,.28), transparent 60%),
    radial-gradient(45vmax 32vmax at 0% 100%, rgba(79,214,255,.24), transparent 60%),
    linear-gradient(180deg, #3a3f8f 0%, #2a2f72 45%, #22275f 100%); }
.card-body { padding: 9px 11px 11px; }
.card-body h3 { font-size: .98rem; margin-bottom: 3px; }
.card .by { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod { grid-template-columns: minmax(0, 1fr); }
.prod-main { min-width: 0; }
.prod-cover img { max-width: min(68vw, 300px); }
@media (min-width: 900px) { .prod { grid-template-columns: 400px minmax(0, 1fr); } .prod-cover img { max-width: 100%; } }
img { height: auto; }
.card-img img, .li img, .pay-item img, .feat img { height: 100%; }
.feat img { height: 140px; }
@media (min-width: 900px) { .feat img { height: 225px; } }
.prod-main .by { margin-bottom: 10px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "chips" "feat"; }
.hero-main { grid-area: main; } .hero-chips { grid-area: chips; min-width: 0; } .hero-feat { grid-area: feat; min-width: 0; }
.chips-scroll { overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px; -webkit-overflow-scrolling: touch; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips { width: max-content; min-width: 0; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 500px; grid-template-areas: "main feat" "chips chips"; column-gap: 40px; align-items: center; }
  .chips-scroll { margin: 26px 0 0; padding: 0; }
  .hero-feat .feat { margin-top: 0; grid-template-columns: 170px 1fr; }
  .hero-feat .feat img { width: 170px; height: 212px; }
  .hero-feat .feat h2 { font-size: 1.45rem; }
}

/* ---------- v3 : achat sans compte, confiance, avis, FAQ, barre d'achat mobile */
.promise { display: flex; gap: 8px; align-items: flex-start; margin: -6px 0 16px; padding: 10px 12px; border-radius: 14px; font-weight: 600; font-size: .95rem; color: #0b6b58; background: rgba(47,224,192,.12); border: 1px solid rgba(47,224,192,.38); }
.promise svg { flex: none; margin-top: 3px; color: #b49cff; }
.how { margin-top: 18px; }
.how-title { font-size: 1.15rem; margin-bottom: 10px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; }
.steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 800 .95rem var(--round); color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold)); }
.steps strong { display: block; font-family: var(--round); }
.steps span { display: block; font-size: .9rem; color: var(--muted); }
.steps-sell { margin-top: 14px; }
.steps-sell li { padding: 8px 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card-rate { margin: 3px 0 0; font-size: .82rem; font-weight: 700; }
.star1 { color: var(--gold); }
.tag-new { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .03em; color: #062a24; background: var(--teal); }
.stars { color: var(--gold); letter-spacing: 1px; } .stars .off { color: rgba(60,40,140,.22); }
.rating-link { color: var(--ink); font-weight: 700; }
.badges { list-style: none; padding: 12px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.badges li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .78rem; line-height: 1.25; font-weight: 600; color: var(--muted); }
.badges svg { color: #b49cff; }
.buy-form { display: grid; gap: 10px; }
.buy-email { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.buy-email .muted { font-weight: 400; }
.buy-email input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--ink); font: inherit; }
.check.small { padding: 10px 12px; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.check.small input { width: 20px; height: 20px; }
#acheter { scroll-margin-top: 80px; }
#acheter:target { box-shadow: 0 0 0 2px var(--gold), 0 10px 30px rgba(0,0,0,.25); }
.facts { margin: 6px 0 16px; display: grid; gap: 1px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 12px; background: rgba(255,255,255,.04); }
.facts dt { font-weight: 700; color: var(--gold); font-size: .88rem; }
.facts dd { margin: 0; font-size: .92rem; }
.reviews, .faq { margin-top: 18px; padding: 18px; }
.rating-big { font-size: 1.05rem; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.review { padding: 12px 0; border-top: 1px solid var(--line); }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 4px; }
.verified { display: inline-flex; align-items: center; gap: 3px; font-size: .78rem; color: #b49cff; font-weight: 700; }
.review-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-box h3 { font-size: 1rem; }
.stars-input { border: 0; padding: 0; margin: 0; }
.stars-input legend { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.stars-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-row label { font-size: 2.1rem; line-height: 1; color: rgba(60,40,140,.22); cursor: pointer; padding: 2px; }
.stars-row input:checked ~ label, .stars-row label:hover, .stars-row label:hover ~ label { color: var(--gold); }
.stars-row input:focus-visible + label { outline: 2px solid var(--cyan); border-radius: 6px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 10px 0; font-weight: 700; list-style-position: outside; }
.faq details p { color: var(--muted); font-size: .95rem; }
.foot-promise { margin: 12px 0 0; font-weight: 600; color: #0b6b58; font-size: .9rem; }
.pill-ok { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #062a24; background: var(--teal); }
.keep { display: grid; gap: 6px; margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(255,197,77,.10); border: 1px solid rgba(255,197,77,.4); font-size: .92rem; }
.copy { width: 100%; min-height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--ink); font: .85rem ui-monospace, monospace; }
.dl-page .box { margin-top: 16px; }
.dl-page h2 { font-size: 1.15rem; }
.sticky-buy { display: none; }
@media (max-width: 899px) {
  .sticky-buy { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); border-top: 1px solid rgba(60,40,140,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,197,77,.35); box-shadow: 0 -8px 24px rgba(0,0,0,.35); }
  .sb-info { flex: 1; min-width: 0; display: grid; }
  .sb-info strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb-info span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { flex: none; min-height: 46px; padding: 0 22px; }
  body:has(.sticky-buy) .foot { padding-bottom: 90px; }
}
/* mode test Stripe : carte de test près du bouton Acheter */
.test-card { margin: 10px 0 0; padding: 9px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.4; text-align: center; color: #2a1700; background: linear-gradient(180deg, #fff1c4, #ffd76a); }
.test-card strong { font-weight: 800; }
.nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
/* renvoi du lien par email (page de téléchargement invité) */
.resend { margin: 14px 0 0; }
.resend form { margin: 0; }
.resend .pill-ok, .resend .notice-warn { display: block; margin: 0 0 10px; text-align: center; }
.notice-warn { padding: 9px 12px; border-radius: 12px; font-size: .88rem; color: #2a1700; background: linear-gradient(180deg, #fff1c4, #ffd76a); }

/* ===== Thème clair (demandé le 03/10/2026) ===== */
:root { --bg: #f6f1ff; --bg2: #ece4ff; --ink: #1f1d3a; --muted: #5d5a80; --line: rgba(60,40,140,.14);
  --glass: rgba(255,255,255,.7); --glass2: rgba(255,255,255,.85); --cyan: #3b5bdb; }
body { color: var(--ink); background: var(--bg); }
body::before { background:
  radial-gradient(60vmax 42vmax at 100% -5%, rgba(255,190,90,.35), transparent 60%),
  radial-gradient(55vmax 45vmax at -10% 22%, rgba(160,130,255,.25), transparent 60%),
  radial-gradient(50vmax 38vmax at 110% 70%, rgba(255,140,190,.18), transparent 60%),
  linear-gradient(180deg, #fffaf2 0%, #f7f2ff 50%, #f1ecff 100%) !important; }
.top { background: rgba(255,255,255,.82) !important; border-bottom: 1px solid var(--line); }
.glass, .card { background: rgba(255,255,255,.78) !important; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(60,40,140,.10) !important; }
.card, .card *, .glass, .icon-btn, .chip, .btn-ghost, .btn-outline { color: var(--ink); }
.card-img { background: #ece4ff !important; }
.chip, .icon-btn, .btn-ghost { background: rgba(255,255,255,.9) !important; border-color: var(--line) !important; }
.chip.is-on, .btn-gold, .price, .chip.is-on * { color: #2a1700 !important; }
.btn-outline { border-color: rgba(60,40,140,.3) !important; }
.search { background: #fff !important; border-color: var(--line) !important; box-shadow: 0 8px 24px rgba(60,40,140,.10) !important; }
.search input, input, textarea, select { color: var(--ink) !important; }
input, textarea, select { background: #fff !important; border-color: rgba(60,40,140,.2) !important; }
select option { background: #fff; }
.tag { color: #4b2fb0 !important; background: rgba(154,123,255,.15) !important; }
.flash { background: rgba(47,200,170,.12); }
.brand { background-image: linear-gradient(180deg, #3b2a9e 10%, #6a3fd0 60%, #ffd76a 100%) !important; }
.big-price, .desc h3, .li .extra-link, .stat.gold strong, .facts dt, .feat-price, .feat strong { color: #ffd76a !important; -webkit-text-fill-color: #ffd76a; }

/* ===== Applications (APK Android) — thème clair ===== */
.chip-applications { --c: 106,63,208; }
@media (max-width: 459px) { .hide-xs { display: none !important; } }
.card-platform { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 0; padding: 1px 8px 1px 6px; border-radius: 999px; font-size: .72rem; font-weight: 800; color: #3b2a9e !important; background: rgba(106,63,208,.12); }
.card-platform svg { width: 13px; height: 13px; }
.platform-badge { display: inline-flex; align-items: center; gap: 7px; margin: 2px 0 12px; padding: 7px 13px 7px 10px; border-radius: 12px; font-weight: 800; font-size: .92rem; line-height: 1.25; color: #3b2a9e; background: #141a44; border: 1px solid rgba(106,63,208,.35); }
.platform-badge svg { flex: none; color: #b49cff; }
.buy-platform { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 10px; font-size: .88rem; font-weight: 700; color: #3b2a9e; }
.buy-platform svg { color: #b49cff; }
.prod-main .notice-warn { margin: 0 0 12px; }
.install { margin: 18px 0; padding: 18px 18px 12px; }
.install h2 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.install h2 svg { color: #b49cff; width: 22px; height: 22px; }
.install-steps { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 10px; }
.install-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: .95rem; line-height: 1.45; }
.install-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .85rem; color: #fff; background: linear-gradient(180deg, #8a63e6, #4a2fb8); }
.box .install { margin: 16px 0 6px; box-shadow: none !important; background: #141a44 !important; }
.box .platform-badge { margin: 12px 0 0; }
.shots .pages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
@media (min-width: 600px) { .shots .pages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.buy-top .big-price { white-space: nowrap; }
.shots .page img { aspect-ratio: 412 / 915; object-fit: cover; object-position: top; border-radius: 18px; background: #f3efe8; border: 4px solid #1f1d3a; box-shadow: 0 10px 26px rgba(60,40,140,.18); }
@media (min-width: 900px) { .shots .pages-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.video { margin: 18px 0; padding: 18px; }
.video video { display: block; width: 100%; max-width: 340px; height: auto; margin: 6px auto 0; aspect-ratio: 9 / 16; border-radius: 16px; background: #1f1d3a; }
.apps-lead { margin: -4px 0 12px; }

/* ===== Navigation : onglets (mobile) + page Présentation — thème clair ===== */
.sub-nav { display: none; }
@media (max-width: 759px) {
  .nav-wide { display: none !important; }
  .sub-nav { display: block; border-top: 1px solid var(--line); }
  .sub-nav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-top: 5px; padding-bottom: 5px; }
  .sub-nav-in::-webkit-scrollbar { display: none; }
  .sub-nav a { flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--muted); text-decoration: none !important; }
  .sub-nav a.is-on { color: #3b2a9e; background: rgba(154,123,255,.16); }
}
.top-nav .icon-btn.is-on { border-color: rgba(106,63,208,.45) !important; color: #3b2a9e; }

.pr { max-width: 980px; padding-bottom: 28px; }
.pr h2 { font-size: 1.4rem; margin: 0 0 8px; }
.pr h3 { font-size: 1.02rem; margin: 0 0 4px; }
.pr p { margin: 0; }
.pr-hero { padding: 26px 0 8px; }
.pr-eyebrow { display: inline-block; margin: 0 0 10px !important; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: #3b2a9e; background: rgba(154,123,255,.16); }
.pr-hero h1 { margin: 0 0 12px; font: 800 clamp(1.9rem, 7vw, 2.9rem)/1.1 var(--round); letter-spacing: -.02em; }
.pr-hl { background: linear-gradient(180deg, #6a3fd0 20%, #ffd76a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr-lead { font-size: 1.08rem; line-height: 1.55; color: var(--muted); max-width: 640px; }
.pr-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pr-cta .btn { text-align: center; }
@media (max-width: 520px) { .pr-cta .btn { width: 100%; } }
.pr-sec { margin-top: 34px; }
.pr-text { color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 680px; }
.pr-text strong { color: var(--ink); }
.pr-kinds { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-kinds a, .pr-kinds span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: .93rem; color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid var(--line); text-decoration: none !important; }
.pr-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 680px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pr-card { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 18px; }
.pr-card p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.pr-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 1.35rem; background: linear-gradient(160deg, #f3edff, #ffeccc); }
.pr-feature { position: relative; margin: 16px 0 0; padding: 22px 20px 20px; border-radius: 22px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,190,90,.55), transparent 55%), linear-gradient(150deg, #4a2fb8 0%, #6a3fd0 55%, #8d4fd6 100%);
  box-shadow: 0 16px 36px rgba(74,47,184,.28); }
.pr-feature h3 { font: 800 1.35rem/1.2 var(--round); margin: 12px 0 8px; color: #fff; }
.pr-feature p { color: rgba(255,255,255,.92); font-size: 1rem; line-height: 1.55; }
.pr-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pr-feature-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem; background: rgba(255,255,255,.18); }
.pr-soon { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .85rem; letter-spacing: .02em; color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold)); box-shadow: 0 4px 14px rgba(255,170,40,.35); }
.pr-feature-note { margin-top: 10px !important; font-size: .88rem !important; color: rgba(255,255,255,.78) !important; }
.pr-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px !important; padding: 12px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; color: var(--ink); background: rgba(154,123,255,.10); border: 1px solid rgba(154,123,255,.25); }
.pr-note svg { flex: none; color: #6a3fd0; margin-top: 1px; }
.pr-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .pr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pr-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(60,40,140,.08); }
.pr-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 800 1.05rem var(--round); color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold)); }
.pr-steps p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.pr-final { margin-top: 34px; padding: 22px 20px; border-radius: 22px; text-align: center; }
.pr-final p { color: var(--muted); max-width: 520px; margin: 0 auto !important; }
.pr-final .pr-cta { justify-content: center; }

/* pied de page lisible en thème clair (l'ancien fond sombre translucide rendait le texte gris sur gris) */
.foot { background: rgba(255,255,255,.62) !important; border-top: 1px solid var(--line) !important; }
.foot-nav a { color: #3f3c66; }
.foot-note { color: #6b6890; }

/* produits à plusieurs fichiers séparés (ex. 3 PDF + 4 Word) : un bouton par fichier, rien à décompresser */
.files-head { margin: 0 0 8px; font-size: .95rem; }
.files-head .muted { display: block; font-size: .85rem; }
.file-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.desc .file-list { margin: 0 0 14px; padding: 0; }
.file-btn { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 10px 9px 10px; border-radius: 14px; color: var(--ink); text-decoration: none !important; background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(60,40,140,.07); }
a.file-btn:hover, a.file-btn:focus-visible { border-color: rgba(106,63,208,.45); }
.file-btn.is-static { min-height: 50px; box-shadow: none; background: rgba(255,255,255,.6); }
.file-ico { flex: none; display: grid; place-items: center; width: 40px; height: 46px; border-radius: 7px 14px 7px 7px; font: 800 .64rem/1 var(--round); letter-spacing: .03em; color: #fff; background: #b4432a; }
.file-word { background: #2f5aa8; }
.file-html { background: #6a3fd0; }
.file-apk { background: #b49cff; }
.file-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file-txt strong { font-size: .95rem; line-height: 1.25; }
.file-txt small { color: var(--muted); font-size: .82rem; }
.file-dl { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #2a1700; background: linear-gradient(180deg, #ffe08a, var(--gold)); box-shadow: 0 4px 12px rgba(255,170,40,.3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== AppiDream (/appidream) : page carte cadeau, style enfant (ciel du soir, étoiles, boutons « 3D ») ===== */
.em-page { padding-bottom: 28px; }
.em-hero { position: relative; overflow: hidden; margin: 0 0 -46px; padding: 22px 16px 70px; color: #fff;
  background: radial-gradient(70% 60% at 50% 18%, #5a3fd6 0%, #34238f 45%, #1f1660 100%); border-radius: 0 0 36px 36px; }
.em-hero-in { position: relative; max-width: 980px; margin: 0 auto; display: grid; gap: 10px; align-items: center; justify-items: center; text-align: center; }
.em-hero-img { width: min(330px, 78vw); height: auto; border-radius: 26px; box-shadow: 0 18px 40px rgba(10,5,50,.45); }
.em-hero-txt h1 { margin: 6px 0 6px; font: 900 clamp(2.3rem, 9vw, 3.4rem)/1 var(--round); letter-spacing: -.02em; color: #ffd76a !important; -webkit-text-fill-color: #ffd76a;
  text-shadow: 0 3px 0 #ffd76a, 0 8px 22px rgba(255,190,80,.45); }
.em-pill { display: inline-block; margin: 0 !important; padding: 5px 14px; border-radius: 999px; font: 800 .85rem/1.2 var(--round); color: #ffe6a3; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.em-sub { max-width: 520px; margin: 0 auto !important; font-size: 1.05rem; line-height: 1.45; color: #ece8ff; }
.em-sub strong { color: #fff; }
.em-stars i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff6cf; box-shadow: 0 0 10px 2px rgba(255,236,160,.7); opacity: .85; animation: em-tw 3.2s ease-in-out infinite; }
.em-stars i:nth-child(1) { left: 8%; top: 14%; } .em-stars i:nth-child(2) { left: 22%; top: 62%; animation-delay: .6s; width: 4px; height: 4px; }
.em-stars i:nth-child(3) { left: 86%; top: 12%; animation-delay: 1.2s; } .em-stars i:nth-child(4) { left: 92%; top: 55%; animation-delay: 1.8s; width: 4px; height: 4px; }
.em-stars i:nth-child(5) { left: 64%; top: 8%; animation-delay: .3s; width: 3px; height: 3px; } .em-stars i:nth-child(6) { left: 4%; top: 82%; animation-delay: 2.2s; width: 3px; height: 3px; }
.em-stars i:nth-child(7) { left: 74%; top: 80%; animation-delay: 1s; width: 4px; height: 4px; } .em-stars i:nth-child(8) { left: 40%; top: 4%; animation-delay: 2.6s; width: 3px; height: 3px; }
@keyframes em-tw { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(.4); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .em-stars i { animation: none; } }
@media (min-width: 760px) {
  .em-hero { padding: 34px 24px 84px; }
  .em-hero-in { grid-template-columns: 340px 1fr; text-align: left; justify-items: start; gap: 34px; }
  .em-sub { margin: 0 !important; }
}
.em-wrap { position: relative; max-width: 880px; margin: 0 auto; padding: 0 14px; display: grid; gap: 22px; }
.em-h2 { margin: 0 0 6px; font: 900 1.45rem/1.15 var(--round); color: #2a1d6e; }
.em-lead { margin: 0 0 14px; color: var(--muted); }
/* code */
.em-code { display: grid; gap: 10px; padding: 20px 18px; border-radius: 26px; background: #fffaf0; border: 3px solid #ffd76a; box-shadow: 0 8px 0 #f0b545, 0 18px 36px rgba(60,40,140,.16); }
.em-code.is-ok { background: #f2fffb; border-color: #4fd1b5; box-shadow: 0 8px 0 #25a88c, 0 18px 36px rgba(20,120,100,.16); text-align: center; }
.em-code-label { margin: 0; font: 800 1rem/1.2 var(--round); color: #2a1d6e; }
input.em-code-input, input.em-code-value { width: 100%; min-height: 62px; padding: 0 14px; border-radius: 18px; border: 3px dashed #e8b14a !important; background: #fff !important;
  font: 900 clamp(1.25rem, 6vw, 1.7rem)/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; text-align: center; color: #1f1660 !important; text-transform: uppercase; }
input.em-code-value { border-color: #4fd1b5 !important; border-style: solid !important; cursor: text; }
input.em-code-input:focus { outline: 4px solid rgba(154,123,255,.35); outline-offset: 2px; }
.em-found { margin: 0; font: 900 1.12rem/1.3 var(--round); color: #0b7a62; }
.em-test { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: .75rem; color: #5b3c00; background: #ffe6a3; vertical-align: middle; }
.em-code-help { margin: 0; color: var(--muted); font-size: .95rem; }
.em-code-other { margin: 0; font-size: .9rem; }
.em-err { margin: 0; padding: 11px 14px; border-radius: 16px; font-weight: 700; line-height: 1.4; color: #8f1236; background: #ffe8ee; border: 2px solid #ff9db5; }
/* boutons 3D */
.em-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 58px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font: 900 1.12rem/1.1 var(--round); text-decoration: none !important; transform: translateY(0); transition: transform .08s ease, box-shadow .08s ease, filter .12s; }
.em-btn:active { transform: translateY(5px); }
.em-btn-gold { color: #3a2000 !important; background: linear-gradient(180deg, #ffe48f 0%, #ffc54d 55%, #ffad2e 100%); box-shadow: 0 6px 0 #c97a12, 0 14px 26px rgba(255,160,40,.35); }
.em-btn-gold:active { box-shadow: 0 1px 0 #c97a12, 0 6px 14px rgba(255,160,40,.3); }
.em-btn-teal { color: #fff !important; background: linear-gradient(180deg, #8a63e6 0%, #8a63e6 60%, #b49cff 100%); box-shadow: 0 6px 0 #3b2a9e, 0 14px 26px rgba(106,63,208,.3); text-shadow: 0 1px 0 rgba(0,0,0,.18); }
.em-btn-teal:active { box-shadow: 0 1px 0 #3b2a9e, 0 6px 14px rgba(106,63,208,.3); }
.em-btn:hover { filter: brightness(1.05); }
/* cartes de téléchargement */
.em-cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .em-cards { grid-template-columns: 1fr 1fr; align-items: start; } }
.em-card { position: relative; display: grid; gap: 10px; padding: 20px 18px 18px; border-radius: 26px; background: #fff; border: 2px solid rgba(90,63,214,.16); box-shadow: 0 10px 0 rgba(90,63,214,.12), 0 18px 34px rgba(60,40,140,.12); }
.em-card h3 { margin: 0; font: 900 1.15rem/1.2 var(--round); color: #2a1d6e; }
.em-card-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 1.9rem; background: linear-gradient(180deg, #fff1c4, #ffd76a); box-shadow: 0 5px 0 #e8a93a; }
.em-card-android .em-card-ico { background: linear-gradient(180deg, #d9fbf5, #8de6d6); box-shadow: 0 5px 0 #3fb7a6; }
.em-meta { margin: 0; font-size: .86rem; color: var(--muted); }
.em-tip { margin-top: 4px; padding: 12px 14px; border-radius: 18px; background: #fff7e0; border: 1px dashed #f0b545; font-size: .93rem; }
.em-tip-teal { background: #effbf9; border-color: #6fd0c0; }
.em-tip p { margin: 0 0 6px; }
.em-tip ol { margin: 0; padding-left: 1.2em; display: grid; gap: 5px; }
.em-small { margin: 8px 0 0 !important; font-size: .82rem; color: var(--muted); }
/* comment ça marche */
.em-how { padding: 20px 18px; border-radius: 26px; background: linear-gradient(160deg, #f3edff, #fff5e6); border: 2px solid rgba(90,63,214,.12); }
.em-steps { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 12px; }
.em-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.em-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 900 1.1rem/1 var(--round); color: #fff; background: linear-gradient(180deg, #ff8fb1, #ff5f8f); box-shadow: 0 4px 0 #c93a68; }
.em-steps li:nth-child(2) b { background: linear-gradient(180deg, #9a7bff, #6a3fd0); box-shadow: 0 4px 0 #3b2a9e; }
.em-steps li:nth-child(3) b { background: linear-gradient(180deg, #8a63e6, #b49cff); box-shadow: 0 4px 0 #3b2a9e; }
.em-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.em-badges li { padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .88rem; color: #2a1d6e; background: #fff; border: 1px solid rgba(90,63,214,.18); }
.em-foot { margin: 0; text-align: center; font-size: .9rem; color: var(--muted); }
/* code cadeau sur la page de téléchargement d'une commande */
.em-order { margin: 16px 0 6px; padding: 16px; border-radius: 20px; background: #f2fffb; border: 2px solid #4fd1b5; text-align: center; display: grid; gap: 8px; }
.em-order p { margin: 0; }

/* ---- pages légales (lib/legal.js) ---- */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.legal-nav a { padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #3f3c66; background: rgba(255,255,255,.7); border: 1px solid var(--line); text-decoration: none; }
.legal-nav a.is-on { background: linear-gradient(180deg, #ffe08a, var(--gold)); color: #2a1700; border-color: transparent; }
.legal .prose section { scroll-margin-top: 90px; }
.legal .prose ul { padding-left: 1.2em; }
.legal .prose li { margin: .3em 0; }
.legal-meta { font-size: .85rem; color: var(--muted); margin-top: 0; }
.legal-toc { font-size: .9rem; columns: 2; column-gap: 24px; padding-left: 1.3em; margin: 10px 0 6px; }
.legal-toc a { color: #3f3c66; }
.legal-draft { padding: 10px 14px; border-radius: 12px; background: #fff6cc; border: 1px solid #f1d36b; color: #5a4300; font-size: .9rem; }
mark.blank { background: #ffe66b; color: #3a2a00; padding: 1px 5px; border-radius: 4px; font-weight: 700; }
span.blank { font-weight: 600; color: #7a5a00; }
.foot-legal { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); }
.foot-legal a { font-size: .85rem !important; }
.check-terms a { text-decoration: underline; }
@media (max-width: 560px) { .legal-toc { columns: 1; } }
ul.legal-toc { list-style: none; padding-left: 0; }

/* ===== Accueil v2 (08/10/2026) : promesse, réassurance, catégories, prix en F CFP — thème clair ===== */
.hero-v2 { padding-top: 22px; }
.brand-row { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.brand-row .brand { font-size: clamp(2.3rem, 10vw, 3.4rem); }
.brand-bulb { width: 26px; height: 44px; object-fit: contain; border-radius: 6px; filter: drop-shadow(0 0 10px rgba(255,180,60,.75)); }
.hero-title { margin: 0 0 10px; font: 800 clamp(1.6rem, 6.4vw, 2.6rem)/1.15 var(--round); letter-spacing: -.02em; color: var(--ink); }
.hero-title .hl { background: linear-gradient(180deg, #6a3fd0 15%, #ffd76a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 0 0 16px; font-size: 1.04rem; line-height: 1.5; color: var(--muted); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.hero-cta .btn-gold { box-shadow: 0 8px 26px rgba(255,160,30,.45), inset 0 1px 0 rgba(255,255,255,.6); }
@media (max-width: 520px) { .hero-cta .btn { flex: 1 1 100%; } .hero-cta .btn-ghost { min-height: 46px; font-size: 1rem; } }
.hero-v2 .hero-grid { grid-template-areas: "main" "feat"; }
.hero-v2 .hero-feat .feat { margin-top: 18px; }
.feat-prices { display: flex; flex-direction: column; line-height: 1.05; }
.feat-xpf { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 3px; white-space: nowrap; }
@media (min-width: 900px) {
  .hero-v2 { padding: 40px 0 6px; }
  .hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr) 470px; grid-template-areas: "main feat"; column-gap: 44px; align-items: center; }
  .hero-v2 .hero-feat .feat { margin-top: 0; }
  .hero-v2 .search { max-width: 560px; }
}

/* bandeau de réassurance */
.home-trust { margin-top: 22px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trust-list li { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; }
.trust-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #9a5a00; background: linear-gradient(160deg, #fff4d6, #ffe2a6); box-shadow: 0 0 16px rgba(255,190,80,.35); }
.trust-list strong { display: block; font: 800 .95rem/1.2 var(--round); }
.trust-list span { display: block; font-size: .82rem; line-height: 1.35; color: var(--muted); }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .trust-list li { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px 16px; }
  .trust-ico { flex: none; }
}

/* catégories */
.cats { margin-top: 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 92px; padding: 12px 6px; border-radius: 18px; text-align: center; color: var(--ink) !important; text-decoration: none !important;
  background: linear-gradient(160deg, rgba(var(--c, 255,197,77), .16), rgba(255,255,255,.85)); border: 1px solid rgba(var(--c, 255,197,77), .40); box-shadow: 0 6px 18px rgba(60,40,140,.08); transition: transform .15s ease, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(60,40,140,.14); }
.cat-ico { font-size: 1.6rem; line-height: 1; }
.cat-name { font: 800 .95rem/1.2 var(--round); margin-top: 4px; }
.cat-n { font-size: .76rem; color: var(--muted); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; } }

/* prix sur les cartes : euros + équivalent indicatif en F CFP */
.card-xpf { margin: 4px 0 0; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-xpf strong { color: #ffd76a !important; font: 800 .95rem var(--round); margin-right: 2px; }
.xpf-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); text-align: right; }
#catalogue, #comment { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.how { margin-top: 30px; }
.how-title { font-size: 1.3rem; }
.hero-v2 .feat-foot { flex-wrap: wrap; }
.hero-v2 .feat-foot .btn { white-space: nowrap; }
@media (max-width: 420px) { .hero-v2 .feat-foot .btn { padding: .45em .8em; font-size: .88rem; } .hero-v2 .feat .big-price { font-size: 1.45rem; } }
@media (max-width: 639px) {
  .cat-grid { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 108px; scroll-snap-align: start; }
}
@media (max-width: 899px) {
  .trust-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .trust-list li { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
  .trust-ico { flex: none; width: 36px; height: 36px; }
}
@media (min-width: 640px) and (max-width: 899px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* paiement intégré PayPal / carte */
.price-xpf { margin: 4px 0 10px; text-align: center; font-weight: 600; }
.pp-zone { margin: 6px 0 12px; }
.pp-title { margin: 0 0 8px; text-align: center; font-size: .95rem; }
.pp-btn { margin-bottom: 8px; background: #fff; border-radius: 6px; }
.pp-msg { color: #b3261e; text-align: center; font-size: .9rem; margin: 6px 0; }

/* Œil afficher/masquer le mot de passe */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 56px !important; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--gold); font-size: 1.25rem; line-height: 1; cursor: pointer; opacity: .75; }
.pw-eye:hover, .pw-eye.is-on { opacity: 1; background: rgba(255,197,77,.18); border-color: rgba(255,197,77,.6); box-shadow: 0 0 14px rgba(255,190,70,.35); }
.pw-eye:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* carte « bientôt » (produit pas encore en vente) */
.card-soon { cursor: default; }
.card-soon .card-img img { filter: saturate(.85); }
.soon-badge { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .02em; color: #2a1700; background: #ffc53d; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.tag-soon { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .03em; color: #2a1700; background: #ffe39a; }

/* ===== Palette nuit (23/10/2026) : bleu nuit, doré, un seul accent violet ===== */
:root { --bg: #0a0e2c; --bg2: #121848; --ink: #fff1c4; --muted: #d6cfb0; --line: rgba(255,241,196,.16);
  --glass: rgba(255,241,196,.05); --glass2: rgba(255,241,196,.09); --gold: #ffd76a; --gold2: #ffd76a;
  --violet: #6a3fd0; --accent: #b49cff; --cyan: #b49cff; --surface: #141a44; }
body { color: var(--ink) !important; background: var(--bg) !important; }
body::before { background: radial-gradient(60vmax 40vmax at 100% -5%, rgba(255,215,106,.10), transparent 60%), radial-gradient(50vmax 40vmax at -10% 25%, rgba(106,63,208,.22), transparent 60%), #0a0e2c !important; }
a, .link, .pr-note svg { color: var(--accent); }
.top { background: rgba(10,14,44,.92) !important; border-bottom: 1px solid var(--line) !important; }
.logo, .top .icon-btn, .hero-title, h1, h2, h3, .card-title, .card strong { color: var(--ink); }
.glass, .card, .pr-steps li, .file-btn, .pr-kinds a, .pr-kinds span, .legal-nav a, .foot, .em-badges li, .cat-tile { background: var(--surface) !important; border-color: var(--line) !important; box-shadow: 0 8px 24px rgba(0,0,0,.35) !important; color: var(--ink) !important; }
.card, .card *, .glass, .icon-btn, .chip, .btn-ghost, .btn-outline { color: var(--ink); }
.card-img { background: #1b2257 !important; }
.chip, .icon-btn, .btn-ghost, .search, .file-btn.is-static { background: #141a44 !important; border-color: var(--line) !important; color: var(--ink) !important; }
input, textarea, select, select option, .search input { background: #141a44 !important; color: var(--ink) !important; border-color: rgba(255,241,196,.28) !important; }
input::placeholder, textarea::placeholder { color: #b8b19a; }
.btn-outline { border-color: rgba(255,241,196,.4) !important; }
/* doré : boutons Acheter et prix */
.btn-gold, .chip.is-on, .file-dl, .pr-steps b, .legal-nav a.is-on, .pr-soon, .soon-badge, .tag-soon { color: #0a0e2c !important; background: #ffd76a !important; box-shadow: 0 6px 20px rgba(255,215,106,.25) !important; text-shadow: none !important; }
.chip.is-on * { color: #0a0e2c !important; }
.big-price, .card-xpf strong, .feat-price, .desc h3, .li .extra-link, .stat.gold strong, .facts dt, .feat strong, .sb-info strong { color: #ffd76a !important; -webkit-text-fill-color: #ffd76a; }
.brand { background-image: linear-gradient(180deg, #fff1c4 10%, #ffd76a 100%) !important; filter: none !important; }
.hero-title .hl, .pr-hl { background: none !important; color: #ffd76a !important; -webkit-text-fill-color: #ffd76a; }
.tagline { color: #ffd76a; }
/* violet : liens et badges */
.tag, .pr-eyebrow, .card-platform, .platform-badge, .verified, .em-badges li, .sub-nav a.is-on { color: #fff1c4 !important; background: #6a3fd0 !important; border-color: #6a3fd0 !important; }
.platform-badge svg, .card-platform svg, .buy-platform, .buy-platform svg, .install h2 svg, .trust svg, .promise svg, .badges svg, .ok, .trust-ico { color: var(--accent) !important; }
.trust-ico, .pr-ico { background: rgba(106,63,208,.25) !important; box-shadow: none !important; }
.top-nav .icon-btn.is-on { border-color: var(--accent) !important; color: var(--ink) !important; }
.muted, .pr-lead, .pr-text, .card-xpf, .feat-xpf, .cat-n, .trust-list span, .foot-note, .foot-nav a, .legal-toc a, .file-txt small, .sb-info span, .sub-nav a { color: var(--muted) !important; }
.sticky-buy { background: rgba(10,14,44,.96) !important; border-top: 1px solid rgba(255,215,106,.35) !important; }
.flash { background: rgba(106,63,208,.25) !important; border-color: #6a3fd0 !important; color: var(--ink); }
.test-card, .notice-warn, .legal-draft { color: #0a0e2c !important; background: #fff1c4 !important; }
.pr-note, .em-how, .em-tip, .em-order, .box .install { background: #141a44 !important; border-color: var(--line) !important; color: var(--ink) !important; }
.pp-msg { color: #ffb4a8; }
.price { color: #0a0e2c !important; -webkit-text-fill-color: #0a0e2c; background: #ffd76a !important; }
.pill-heart, .tag-new { color: #fff1c4 !important; background: #6a3fd0 !important; border-color: #6a3fd0 !important; }
.summary, .foot-promise { color: var(--muted) !important; }
.pr-feature p, .pr-feature-note { color: #fff1c4 !important; }
.pr-feature { background: linear-gradient(150deg, #3b2a9e, #6a3fd0) !important; }

/* Espace vendeurs en attente */
.is-soon{opacity:.55;cursor:not-allowed;pointer-events:none;filter:grayscale(.4)}
.pr-soon{display:inline-block;margin:0 auto .8rem;font-size:.9rem}

/* Contraste des cartes crème (prix + textes lisibles, 25/10) */
.em-code .em-code-help, .em-code label.em-code-help, .em-code .pp-title { color: #3d3866 !important; -webkit-text-fill-color: #3d3866; }
.em-code .em-price strong, .em-price strong { color: #1a1240 !important; -webkit-text-fill-color: #1a1240; font: 900 1.9rem/1.1 var(--round); }
.em-code .em-price .em-code-help { font-size: 1rem; }
.em-code a { color: #5a33c7 !important; -webkit-text-fill-color: #5a33c7; font-weight: 700; }
.em-code .pp-zone { display: grid; gap: 8px; } .em-code .pp-zone[hidden] { display: none; }
.em-code .buy-submit.btn-outline { min-height: 46px; background: transparent; color: #3d3866 !important; border: 2px solid #c9bfe8; box-shadow: none; font-size: .95rem; }
.em-soon .em-btn[disabled] { color: #6b6690 !important; -webkit-text-fill-color: #6b6690; background: #ece6f8; }

/* Champ e-mail : casse normale, police lisible (25/10) */
input.em-code-input[type=email] { text-transform: none; letter-spacing: 0; font: 600 1.1rem/1.2 var(--round); text-align: left; }
