/* Binks — interface de l'application (annuaire, studio, administration).
   Direction : « marché de nuit ». Encre profonde, néon citron, verre dépoli, grain léger, grands titres. */
:root {
  --bg: #07070b; --surface: #111119; --surface-2: #181822; --surface-3: #232331;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --text: #f5f5f8; --muted: #a1a1b8; --faint: #6c6c85;
  --accent: #c6ff3d; --accent-2: #e6ff96; --accent-ink: #0a0d00;
  --violet: #8b6cff; --pink: #ff4d8d; --orange: #ff9a3d; --cyan: #3de0ff;
  --ok: #3ddc97; --warn: #ffb84d; --err: #ff6b6b; --info: #6ea8ff;
  --r: 18px; --r-sm: 12px; --r-lg: 28px; --nav-h: 70px;
  --shadow: 0 24px 60px -12px rgba(0, 0, 0, .65);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --display: 'Unbounded', 'Space Grotesk', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
}
* { box-sizing: border-box; scrollbar-color: #2c2c3d transparent; scrollbar-width: thin; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ic { display: inline-block; width: var(--s, 18px); height: var(--s, 18px); flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: middle; }

/* fond : halos de couleur fixes + grain. Absents des pages vendeurs, qui ont leur propre thème. */
.app { position: relative; min-height: 100dvh; isolation: isolate; }
.app:not(.bare)::before { content: ""; position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(55vw 46vh at 88% -8%, rgba(139, 108, 255, .2), transparent 62%),
  radial-gradient(48vw 40vh at -4% 4%, rgba(198, 255, 61, .11), transparent 60%),
  radial-gradient(60vw 50vh at 50% 118%, rgba(255, 77, 141, .08), transparent 60%), var(--bg); }
.app:not(.bare)::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }

/* utilitaires */
.boot, .loading { display: grid; place-items: center; min-height: 40vh; color: var(--muted); }
.spinner { width: 20px; height: 20px; border: 2.5px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.top { align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: 12px; } .grow { flex: 1; min-width: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 460px; margin: 0 auto; padding: 32px 16px 60px; }
@media (max-width: 859px) { .hide-m { display: none !important; } }
@media (min-width: 860px) { .hide-d { display: none !important; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
/* Pas de maintien de l'animation après sa fin : sinon la page reste « transformée » et les fenêtres plein écran ouvertes depuis elle (stories, paiement) se placent par rapport à toute la page au lieu de l'écran. */
.page { animation: page-in .45s var(--ease); }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal[data-in] { opacity: 1; transform: none; }
.skel { border-radius: 24px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-3) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; min-height: 270px; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -300% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

/* boutons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass), var(--surface-2); color: var(--text); font-weight: 650; text-decoration: none; white-space: nowrap; overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s, border-color .2s, background .2s; }
.btn:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn.primary { background: linear-gradient(180deg, var(--accent-2), var(--accent) 45%); color: var(--accent-ink); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 24px -8px rgba(198, 255, 61, .55); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%); }
.btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 34px -8px rgba(198, 255, 61, .7); }
.btn.primary:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.btn.danger { color: var(--err); }
.btn.danger:hover { border-color: rgba(255, 107, 107, .5); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.approve { background: var(--ok); color: #04130c; border-color: transparent; }
.btn.snap { background: #fffc00; color: #000; border-color: transparent; }
.btn.snap:hover { background: #fff95c; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; border: 0; background: transparent; color: var(--muted); transition: background .15s, color .15s, transform .15s; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.icon-btn:active { transform: scale(.9); }
.icon-btn.on { color: var(--accent); }
.icon-btn.danger:hover { color: var(--err); }
.link { color: var(--accent); background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: rgba(198, 255, 61, .4); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--accent); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* formulaires */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; font-weight: 650; color: var(--muted); letter-spacing: .01em; }
.field-hint { font-size: 12.5px; color: var(--faint); }
.input { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--text); transition: border-color .15s, box-shadow .2s, background .2s; }
.input:hover { border-color: rgba(255, 255, 255, .26); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198, 255, 61, .14); background: rgba(0, 0, 0, .5); }
.input::placeholder { color: var(--faint); }
textarea.input { resize: vertical; line-height: 1.45; }
select.input { appearance: none; padding-right: 36px; background-image: url(/vendor/lucide/chevron-down.svg); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
select.input option { background: var(--surface-2); }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { width: 44px; height: 26px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); position: relative; flex: none; transition: background .2s, border-color .2s; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.toggle input:checked + .toggle-track { background: var(--accent); border-color: transparent; box-shadow: 0 0 18px -2px rgba(198, 255, 61, .6); }
.toggle input:checked + .toggle-track::after { transform: translateX(18px); background: var(--accent-ink); }
.toggle input:focus-visible + .toggle-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.toggle-text { display: flex; flex-direction: column; font-weight: 600; }
.toggle-text small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 650; font-size: 13px; white-space: nowrap; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--surface-3); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 8px rgba(0, 0, 0, .4); }
.color { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(0, 0, 0, .35); cursor: pointer; font-weight: 600; font-size: 13px; }
.color input { width: 32px; height: 32px; border: 0; padding: 0; background: none; border-radius: 9px; cursor: pointer; }
.color input::-webkit-color-swatch-wrapper { padding: 0; } .color input::-webkit-color-swatch { border: 1px solid var(--line-2); border-radius: 9px; }
.color span { flex: 1; } .color code { color: var(--faint); font-size: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
input[type=range] { width: 100%; accent-color: var(--accent); }

/* éléments */
.card { background: var(--glass), var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.card h3 { font-size: 16px; margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: rgba(61, 220, 151, .15); color: var(--ok); } .pill.warn { background: rgba(255, 184, 77, .15); color: var(--warn); }
.pill.err { background: rgba(255, 107, 107, .15); color: var(--err); } .pill.info { background: rgba(110, 168, 255, .15); color: var(--info); }
.pill.accent { background: var(--accent); color: var(--accent-ink); }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.banner.warn { border-color: rgba(255, 184, 77, .35); background: rgba(255, 184, 77, .07); } .banner.err { border-color: rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .07); }
.banner.ok { border-color: rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .07); } .banner.info { border-color: rgba(110, 168, 255, .3); background: rgba(110, 168, 255, .07); }
.banner .ic { margin-top: 2px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 16px; text-align: center; color: var(--muted); }
.empty > .ic { width: 46px; height: 46px; color: var(--accent); filter: drop-shadow(0 0 18px rgba(198, 255, 61, .55)); margin-bottom: 6px; }
.empty h3 { color: var(--text); font: 700 22px var(--display); letter-spacing: -.03em; } .empty p { max-width: 44ch; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs button, .tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; border: 0; background: none; color: var(--muted); font-weight: 650; white-space: nowrap; border-bottom: 2px solid transparent; text-decoration: none; margin-bottom: -1px; transition: color .15s; }
.tabs button:hover { color: var(--text); }
.tabs .on { color: var(--text); border-bottom-color: var(--accent); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass), var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 12px 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.click { cursor: pointer; } .table tr.click:hover td { background: rgba(255, 255, 255, .04); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--surface-3); font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* fenêtres, notifications */
.modal-back { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(4, 4, 8, .7); backdrop-filter: blur(8px); animation: fade .2s; }
.modal { width: 100%; max-width: 480px; max-height: 92dvh; display: flex; flex-direction: column; background: var(--glass), var(--surface); border: 1px solid var(--line-2); border-radius: 26px 26px 0 0; box-shadow: var(--shadow); animation: up .32s var(--ease); }
.modal.wide { max-width: 740px; }
@media (min-width: 640px) { .modal-back { align-items: center; padding: 20px; } .modal { border-radius: 26px; animation-name: pop; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 18px; }
.modal-body { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; color: #0b0b0f; font-weight: 650; font-size: 14px; box-shadow: var(--shadow); animation: pop .3s var(--ease); }
.toast .ic { color: #1a8f5c; }
.toast.err { background: var(--err); color: #fff; } .toast.err .ic { color: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(30px); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.cookie { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 22px; background: rgba(24, 24, 34, .86); backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13.5px; animation: up .4s var(--ease); }

/* envoi d'images */
.imgpick { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3; border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); background: rgba(0, 0, 0, .3); overflow: hidden; }
.imgpick.square { width: 96px; aspect-ratio: 1; border-radius: 50%; }
.imgpick > img, .imgpick > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgpick-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(11, 11, 15, .8); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 650; cursor: pointer; }
.imgpick.square .imgpick-btn span { display: none; }
.imgpick-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(11, 11, 15, .8); display: grid; place-items: center; }
.imgpick.square .imgpick-x { top: 0; right: 0; }
.imglist { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.imglist-item, .imglist-add { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.imglist-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imglist-tools { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; }
.imglist-tools button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(11, 11, 15, .8); display: grid; place-items: center; }
.imglist-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1.5px dashed var(--line-2); color: var(--muted); cursor: pointer; background: rgba(0, 0, 0, .3); }

/* graphiques */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-tick { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart-bar { fill: var(--accent); opacity: .88; transition: opacity .1s; }
.chart-bar.on { opacity: 1; fill: var(--accent-2); }
.chart-tip { position: absolute; top: 0; transform: translateX(-50%); padding: 7px 11px; border-radius: 10px; background: #fff; color: #0b0b0f; font-size: 12.5px; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow); text-align: center; }
.chart-tip small { display: block; color: #555; }
.chart-table { margin-top: 8px; font-size: 13px; color: var(--muted); }
.chart-table summary { cursor: pointer; width: max-content; }
.chart-table table { margin-top: 8px; border-collapse: collapse; }
.chart-table td, .chart-table th { padding: 2px 16px 2px 0; text-align: left; }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rank li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(40px, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.rank-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar { height: 8px; border-radius: 0 4px 4px 0; background: rgba(255, 255, 255, .07); overflow: hidden; }
.rank-bar i { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kpi { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r); background: var(--glass), var(--surface); border: 1px solid var(--line); overflow: hidden; }
.kpi::before { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 255, 61, .16), transparent 70%); }
.kpi span { font-size: 12.5px; color: var(--muted); font-weight: 650; display: flex; align-items: center; gap: 6px; }
.kpi b { font: 700 30px/1.1 var(--head); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpi small { font-size: 12px; color: var(--muted); } .kpi small.up { color: var(--ok); } .kpi small.down { color: var(--err); }
a.kpi { text-decoration: none; transition: border-color .2s, transform .2s var(--ease); } a.kpi:hover { border-color: var(--accent); transform: translateY(-2px); }

/* barre du haut : une pilule de verre flottante */
.nav { position: sticky; top: 0; z-index: 40; padding: 12px 14px 0; pointer-events: none; }
.nav-in { pointer-events: auto; display: flex; align-items: center; gap: 6px; height: 58px; max-width: 1200px; margin: 0 auto; padding: 0 10px 0 16px; border-radius: 999px; background: rgba(15, 15, 22, .72); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid var(--line-2); box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 17px var(--display); letter-spacing: -.03em; text-decoration: none; margin-right: 12px; }
.logo > i { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(140deg, var(--accent-2), var(--accent)); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 0 22px -4px rgba(198, 255, 61, .7); transition: transform .4s var(--ease); }
.logo:hover > i { transform: rotate(-10deg) scale(1.08); }
.nav-links { display: flex; gap: 2px; flex: 1; min-width: 0; }
.nav .btn { flex: none; }
.nav a.nl { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 650; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s; }
.nav a.nl:hover, .nav a.nl.on { color: var(--text); background: rgba(255, 255, 255, .07); }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 12px); min-width: 230px; padding: 6px; border-radius: 18px; background: rgba(24, 24, 34, .92); backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: flex; flex-direction: column; z-index: 50; animation: pop .22s var(--ease); }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-decoration: none; text-align: left; font-weight: 600; font-size: 14px; }
.menu-pop a:hover, .menu-pop button:hover { background: rgba(255, 255, 255, .07); }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
@media (max-width: 859px) { .nav { padding: 10px 10px 0; } .nav-in { height: 54px; } .logo { font-size: 16px; } }
/* barre d'onglets du bas, sur téléphone */
.tabbar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 64px 1fr 1fr; align-items: center; height: 64px; padding: 0 6px; border-radius: 999px; background: rgba(15, 15, 22, .82); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -8px rgba(0, 0, 0, .8); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; color: var(--faint); text-decoration: none; font-size: 10.5px; font-weight: 650; transition: color .2s; }
.tabbar a.on { color: var(--accent); }
.tabbar a.tab-plus { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; justify-content: center; background: linear-gradient(140deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 0 26px -2px rgba(198, 255, 61, .65); }
@media (max-width: 859px) { .tabbed { padding-bottom: 92px; } .tabbed .toasts, .tabbed .cookie { bottom: 90px; } }

/* accueil */
.hero { position: relative; padding: 46px 0 30px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 20%, transparent 75%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 64px 0 50px; } .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.live { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(198, 255, 61, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(198, 255, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0); } }
.hero h1 { font: 700 clamp(36px, 7.2vw, 82px)/.98 var(--display); letter-spacing: -.045em; }
.hero h1 > span { display: block; }
.rot { height: 1.2em; margin-bottom: -.12em; overflow: hidden; color: var(--accent); }
.rot b { display: inline-block; font-weight: 700; padding: 0 .12em .06em; margin-left: -.12em; background: linear-gradient(transparent 60%, rgba(198, 255, 61, .22) 60%); animation: rot-in .6s var(--ease) both; }
@keyframes rot-in { from { transform: translateY(105%) rotate(4deg); opacity: 0; } }
.hero-sub { max-width: 46ch; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.searchbar { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 640px; padding: 8px; border-radius: 26px; background: rgba(17, 17, 25, .78); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 6px rgba(255, 255, 255, .025); transition: border-color .2s, box-shadow .3s; }
.searchbar:focus-within { border-color: rgba(198, 255, 61, .55); box-shadow: var(--shadow), 0 0 0 6px rgba(198, 255, 61, .09); }
.searchbar .input { border: 0; background: rgba(255, 255, 255, .06); min-height: 52px; border-radius: 18px; flex: 1 1 170px; box-shadow: none; }
.searchbar .btn { min-height: 52px; border-radius: 18px; flex: 1 1 100%; }
@media (min-width: 640px) { .searchbar { flex-wrap: nowrap; border-radius: 999px; } .searchbar .input { border-radius: 999px; } .searchbar .btn { flex: none; border-radius: 999px; } .searchbar select.input { flex: 0 0 190px; } }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.quick a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text); font-weight: 600; transition: border-color .2s, background .2s; }
.quick a:hover { border-color: var(--accent); background: rgba(198, 255, 61, .08); }
.stats { display: flex; gap: 28px; margin-top: 6px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font: 700 clamp(26px, 4vw, 38px)/1 var(--display); letter-spacing: -.04em; }
.stats span { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
/* le téléphone du hero : une vraie page vendeur, qui défile toute seule */
.hero-phone { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 480px; }
.hero-phone::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(198, 255, 61, .3), rgba(139, 108, 255, .22) 45%, transparent 70%); filter: blur(40px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.hero-phone .phone { width: min(320px, 78vw); max-height: none; transform: rotateY(-16deg) rotateX(7deg) rotateZ(2.5deg); animation: float 8s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: rotateY(-12deg) rotateX(5deg) rotateZ(1.5deg) translateY(-14px); } }
.sticker { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 16px; background: rgba(20, 20, 30, .86); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 700; font-size: 13.5px; white-space: nowrap; rotate: var(--rt, 0deg); animation: bob 6s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.sticker.lime { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.sticker.snap { background: #fffc00; color: #000; border-color: transparent; }
@keyframes bob { 50% { translate: 0 -10px; } }
.sticker.s1 { top: 9%; left: 0; --rt: -5deg; } .sticker.s2 { top: 30%; right: -2%; --rt: 4deg; --dl: -2s; }
.sticker.s3 { bottom: 24%; left: -2%; --rt: 3deg; --dl: -3.5s; } .sticker.s4 { bottom: 7%; right: 4%; --rt: -4deg; --dl: -1s; }
@media (max-width: 979px) { .hero-phone { min-height: 440px; } .hero-phone .phone { width: min(270px, 70vw); } .sticker { font-size: 12px; padding: 7px 11px; } }
/* bandeau défilant */
.marquee { position: relative; margin: 26px 0 10px; padding: 14px 0; background: var(--accent); color: var(--accent-ink); transform: rotate(-1.4deg) scale(1.03); overflow: hidden; box-shadow: 0 20px 60px -20px rgba(198, 255, 61, .5); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; font: 700 clamp(15px, 2.2vw, 22px)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 34px; }
.marquee-track span::after { content: "✦"; font-size: .8em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.section { padding: 46px 0 10px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head h2 { font: 700 clamp(24px, 4vw, 40px)/1.02 var(--display); letter-spacing: -.04em; margin-top: 10px; }
.section-head > div { display: flex; flex-direction: column; align-items: flex-start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 18px; margin: 0 -18px; scrollbar-width: none; }
.rail > * { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; }
/* cartes des pages vendeurs */
.scard { --a: var(--accent); position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--glass), var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.scard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--a) 65%, transparent); box-shadow: 0 26px 60px -24px var(--a); }
.scard-top { height: 112px; position: relative; background-size: cover; background-position: center; overflow: hidden; }
.scard-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 25, .85)); }
.scard-top > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.scard:hover .scard-top > img { transform: scale(1.07); }
.scard-top .pill { position: absolute; z-index: 1; top: 12px; left: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.scard-lock { position: absolute; z-index: 1; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(11, 11, 15, .6); backdrop-filter: blur(6px); display: grid; place-items: center; }
.scard-av { width: 68px; height: 68px; border-radius: 22px; border: 3px solid var(--surface); margin: -36px 0 0 16px; position: relative; z-index: 1; background: var(--surface-3); overflow: hidden; display: grid; place-items: center; font: 700 26px var(--head); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); transition: transform .35s var(--ease); }
.scard:hover .scard-av { transform: rotate(-5deg) scale(1.05); }
.scard-av img { width: 100%; height: 100%; object-fit: cover; }
.scard-body { display: flex; flex-direction: column; gap: 7px; padding: 10px 16px 16px; flex: 1; }
.scard-name { display: flex; align-items: center; gap: 6px; font: 700 18px var(--head); letter-spacing: -.02em; }
.scard-name .ic { color: var(--accent); }
.scard-tag { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.scard-tags span { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.scard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted); }
.scard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.scard-meta .star { color: #ffc94a; font-weight: 700; margin-left: auto; }
.scard-go { position: absolute; right: 14px; top: 124px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: #000; opacity: 0; transform: translate(-8px, 8px) rotate(-45deg); transition: opacity .25s, transform .35s var(--ease); }
.scard:hover .scard-go { opacity: 1; transform: rotate(-45deg); }
/* catégories en mosaïque */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(4, 1fr); gap: 12px; } .bento a:nth-child(1), .bento a:nth-child(6) { grid-column: span 2; } }
.bento a { --h: 80; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 104px; padding: 14px 16px; border-radius: 22px; overflow: hidden; text-decoration: none; background: linear-gradient(140deg, hsl(var(--h) 72% 17%), hsl(calc(var(--h) + 45) 70% 8%)); border: 1px solid hsl(var(--h) 60% 30% / .5); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.bento a:hover { transform: translateY(-4px); border-color: hsl(var(--h) 90% 60%); box-shadow: 0 20px 44px -20px hsl(var(--h) 90% 55%); }
.bento a > i { position: absolute; right: 8px; top: 2px; font-style: normal; font-size: 56px; line-height: 1; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); transition: transform .45s var(--ease); }
.bento a:hover > i { transform: scale(1.22) rotate(-10deg); }
.bento b { font: 700 16px var(--head); letter-spacing: -.02em; max-width: 70%; }
.bento small { color: hsl(var(--h) 60% 80% / .8); font-size: 12px; }
@media (min-width: 720px) { .bento a { min-height: 132px; padding: 18px; } .bento a > i { font-size: 72px; right: 12px; top: 8px; } .bento b { font-size: 18px; } }
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities a { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font: 700 clamp(16px, 2.4vw, 24px) var(--display); letter-spacing: -.03em; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.cities a small { font: 600 12px var(--font); color: var(--muted); letter-spacing: 0; transition: color .25s; }
.cities a:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; transform: rotate(-2deg) scale(1.04); }
.cities a:hover small { color: var(--accent-ink); }
/* bloc vendeurs */
.pitch { position: relative; display: grid; gap: 30px; padding: clamp(24px, 5vw, 56px); border-radius: 36px; overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, rgba(198, 255, 61, .16), transparent 55%), radial-gradient(80% 100% at 0% 100%, rgba(139, 108, 255, .2), transparent 60%), var(--surface); border: 1px solid var(--line-2); }
@media (min-width: 900px) { .pitch { grid-template-columns: 1.05fr .95fr; align-items: center; } }
.pitch h2 { font: 700 clamp(28px, 4.6vw, 52px)/1 var(--display); letter-spacing: -.045em; }
.pitch h2 em { font-style: normal; color: var(--accent); }
.feats { display: flex; flex-direction: column; gap: 16px; margin: 6px 0; }
.feats > div { display: flex; gap: 14px; align-items: flex-start; }
.feats .fi { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(198, 255, 61, .12); color: var(--accent); border: 1px solid rgba(198, 255, 61, .25); }
.feats b { display: block; font: 700 16px var(--head); } .feats p { color: var(--muted); font-size: 14px; }
.stack { position: relative; height: 330px; }
.stack > div { position: absolute; left: 50%; display: flex; align-items: center; gap: 12px; width: min(100%, 330px); padding: 14px 16px; border-radius: 20px; background: rgba(24, 24, 34, .9); backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 700; rotate: var(--rt, 0deg); animation: bob 7s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.stack > div > .fi { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); }
.stack small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.stack .k1 { top: 0; margin-left: -190px; --rt: -5deg; }
.stack .k2 { top: 80px; margin-left: -130px; --rt: 3deg; --dl: -2s; background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.stack .k2 > .fi { background: rgba(0, 0, 0, .14); } .stack .k2 small { color: rgba(10, 13, 0, .7); }
.stack .k3 { top: 164px; margin-left: -186px; --rt: -2deg; --dl: -4s; }
.stack .k4 { top: 246px; margin-left: -140px; --rt: 4deg; --dl: -1s; }
@media (max-width: 899px) { .stack { height: 300px; } .stack > div { width: min(88%, 310px); } .stack .k1, .stack .k3 { margin-left: -46%; } .stack .k2, .stack .k4 { margin-left: -38%; } .stack .k2 { top: 74px; } .stack .k3 { top: 148px; } .stack .k4 { top: 222px; } }
.note { font: 700 24px/1 var(--hand); color: var(--accent); rotate: -4deg; display: inline-block; }
.footer { margin-top: 70px; padding: 44px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; overflow: hidden; }
.footer a { color: var(--muted); text-decoration: none; transition: color .15s; } .footer a:hover { color: var(--text); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; }
.foot-grid h4 { font: 700 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.wordmark { margin: 36px 0 -0.16em; font: 700 clamp(70px, 21vw, 300px)/.8 var(--display); letter-spacing: -.07em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); background: linear-gradient(180deg, rgba(198, 255, 61, .2), transparent 75%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.prose { max-width: 720px; margin: 0 auto; padding: 44px 18px 60px; display: flex; flex-direction: column; gap: 14px; }
.prose h1 { font: 700 clamp(30px, 5vw, 46px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 8px; } .prose h2 { font-size: 20px; margin-top: 14px; } .prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; } .prose p, .prose li { color: #cfcfdc; }

/* annuaire */
.page-title { font: 700 clamp(28px, 5.4vw, 56px)/1 var(--display); letter-spacing: -.045em; }
.page-title em { font-style: normal; color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; border-radius: 22px; background: rgba(17, 17, 25, .7); backdrop-filter: blur(14px); border: 1px solid var(--line-2); }
.filters .input { width: auto; flex: 1 1 150px; border: 0; background: rgba(255, 255, 255, .06); border-radius: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 18px; margin: 0 -18px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); }
.chips.wrapc { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); font-weight: 650; font-size: 14px; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.chip:hover { border-color: rgba(255, 255, 255, .35); transform: translateY(-1px); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 20px -6px rgba(198, 255, 61, .6); }
.chip small { color: var(--muted); font-weight: 500; } .chip.on small { color: inherit; opacity: .7; }

/* connexion */
.auth { display: grid; gap: 24px; max-width: 1080px; margin: 0 auto; padding: 30px 18px 60px; align-items: stretch; }
@media (min-width: 900px) { .auth { grid-template-columns: minmax(0, 440px) 1fr; padding-top: 50px; } }
.auth-form { padding: clamp(20px, 4vw, 34px); border-radius: 30px; background: var(--glass), var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); gap: 14px; align-self: start; }
.auth-form h1 { font: 700 clamp(26px, 4vw, 34px)/1.02 var(--display); letter-spacing: -.04em; margin-bottom: 4px; }
.auth-art { position: relative; display: none; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 40px; border-radius: 30px; overflow: hidden; min-height: 540px; background: radial-gradient(70% 60% at 80% 10%, rgba(198, 255, 61, .45), transparent 60%), radial-gradient(80% 70% at 10% 90%, rgba(139, 108, 255, .7), transparent 60%), radial-gradient(60% 60% at 90% 90%, rgba(255, 77, 141, .5), transparent 60%), #0d0d16; border: 1px solid var(--line-2); }
@media (min-width: 900px) { .auth-art { display: flex; } }
.auth-art h2 { font: 700 clamp(30px, 3.6vw, 50px)/.98 var(--display); letter-spacing: -.045em; }
.auth-art ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.auth-art li { display: flex; gap: 10px; align-items: center; }
.auth-art .sticker.s1 { top: 10%; left: 9%; } .auth-art .sticker.s2 { top: 24%; right: 8%; } .auth-art .sticker.s3 { top: 40%; bottom: auto; left: 20%; }

/* offres */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 28px; background: var(--glass), var(--surface); border: 1px solid var(--line-2); transition: transform .35s var(--ease), border-color .25s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan.best { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--ang), var(--accent), var(--violet), var(--pink), var(--accent)) border-box; box-shadow: 0 30px 80px -30px rgba(198, 255, 61, .45); animation: spin-border 6s linear infinite; }
@keyframes spin-border { to { --ang: 360deg; } }
.plan .pill.accent { position: absolute; top: -13px; right: 22px; rotate: 4deg; padding: 5px 12px; font-size: 12.5px; box-shadow: 0 8px 20px -6px rgba(198, 255, 61, .6); }
.plan-price { font: 700 44px/1 var(--display); letter-spacing: -.05em; } .plan-price small { font: 500 14px var(--font); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; } .plan li .ic { color: var(--accent); margin-top: 2px; }
.upsell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 40px 20px; border-radius: 26px; border: 1px dashed rgba(198, 255, 61, .4); background: radial-gradient(80% 100% at 50% 0%, rgba(198, 255, 61, .12), transparent 70%), var(--surface); overflow: hidden; }
.upsell h3 { font: 700 22px var(--display); letter-spacing: -.03em; } .upsell p { color: var(--muted); max-width: 46ch; }
.crown { color: var(--warn); }
.cta-band { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: 32px; overflow: hidden; background: linear-gradient(120deg, #1f3000, #101018 55%); border: 1px solid #3f5c0c; }
.cta-band h2 { font: 700 clamp(22px, 3.4vw, 34px)/1.05 var(--display); letter-spacing: -.04em; }

/* studio et administration */
.studio { display: flex; flex-direction: column; min-height: calc(100dvh - var(--nav-h)); }
.side { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 12px; margin-top: 10px; position: sticky; top: var(--nav-h); z-index: 30; background: rgba(7, 7, 11, .8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.side a { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 650; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
.side a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.side a.on { color: var(--accent-ink); background: var(--accent); box-shadow: 0 6px 22px -6px rgba(198, 255, 61, .6); }
.side .count { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--err); color: #fff; font-size: 11.5px; text-align: center; }
.side-title { display: none; }
.main { flex: 1; min-width: 0; padding: 20px 16px 110px; display: flex; flex-direction: column; gap: 18px; }
.main > h1 { font: 700 clamp(24px, 3.6vw, 32px)/1 var(--display); letter-spacing: -.04em; }
@media (min-width: 860px) {
  .studio { flex-direction: row; }
  .side { flex-direction: column; width: 236px; flex: none; overflow: visible; margin: 14px 0 14px 14px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 24px; background: var(--glass), rgba(17, 17, 25, .7); height: calc(100dvh - var(--nav-h) - 28px); top: calc(var(--nav-h) + 14px); }
  .side-title { display: block; padding: 6px 14px 12px; font: 700 13px var(--display); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .main { padding: 26px 30px 60px; }
}
.pagebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pagebar h1 { font: 700 clamp(22px, 3vw, 30px)/1 var(--display); letter-spacing: -.04em; }
@media (max-width: 859px) { .pagebar h1 { flex-basis: 100%; } .icon-btn { width: 34px; } }
.saved { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }

/* éditeur */
.editor { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1040px) { .editor { grid-template-columns: minmax(0, 1fr) 400px; } }
.panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.preview { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone { position: relative; width: 100%; max-width: 380px; aspect-ratio: 9 / 18.6; max-height: calc(100dvh - 160px); padding: 11px; border-radius: 50px; background: linear-gradient(145deg, #3a3a48, #0d0d12 30%, #0d0d12 70%, #2a2a36); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .85), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.phone::before { content: ""; position: absolute; z-index: 5; top: 20px; left: 50%; width: 86px; height: 24px; border-radius: 999px; background: #000; transform: translateX(-50%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; container-type: size; --vh: 100cqh; background: #000; }
.phone-scroll { height: 100%; overflow-y: auto; scrollbar-width: none; }
@media (max-width: 1039px) {
  .editor.show-preview .panel, .editor:not(.show-preview) .preview { display: none; }
  .preview { position: static; } .phone { max-height: none; }
}
.fab { position: fixed; right: 16px; bottom: 20px; z-index: 35; }
@media (min-width: 1040px) { .fab { display: none; } }
.blk { border: 1px solid var(--line); border-radius: 20px; background: var(--glass), var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .3s, transform .25s var(--ease); }
.blk:hover { border-color: var(--line-2); }
.blk.open { border-color: rgba(198, 255, 61, .45); box-shadow: 0 16px 44px -22px rgba(198, 255, 61, .5); }
.blk.dragging { opacity: .6; border-style: dashed; border-color: var(--accent); transform: scale(1.015); }
.blk.off .blk-name { opacity: .5; }
.blk-head { display: flex; align-items: center; gap: 4px; padding: 7px 8px 7px 2px; }
.blk-drag { display: grid; place-items: center; width: 28px; height: 40px; color: var(--faint); cursor: grab; touch-action: none; border: 0; background: none; }
.blk-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 6px 4px; border: 0; background: none; text-align: left; }
.blk-ico { width: 38px; height: 38px; border-radius: 12px; background: rgba(198, 255, 61, .1); color: var(--accent); border: 1px solid rgba(198, 255, 61, .2); display: grid; place-items: center; flex: none; }
.blk-name { display: block; min-width: 0; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blk-name small { display: block; font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blk-body { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .28); animation: fade .3s; }
.sub { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.sub-tools { display: flex; justify-content: flex-end; gap: 2px; margin: -4px -4px -4px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 10px; }
.addgrid button { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); text-align: left; position: relative; transition: border-color .2s, transform .25s var(--ease), background .2s; }
.addgrid button:hover { border-color: var(--accent); transform: translateY(-2px); background: rgba(198, 255, 61, .05); }
.addgrid b { display: block; font-size: 14px; } .addgrid small { color: var(--muted); font-size: 12.5px; line-height: 1.3; display: block; }
.addgrid .crown { position: absolute; top: 10px; right: 10px; }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.themes button { display: flex; flex-direction: column; gap: 7px; padding: 6px 6px 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); font-size: 12.5px; font-weight: 650; position: relative; transition: border-color .2s, transform .25s var(--ease); }
.themes button:hover { transform: translateY(-2px); border-color: var(--line-2); }
.themes button.on { border-color: var(--accent); }
.themes i { display: grid; place-items: center; height: 60px; border-radius: 11px; }
.themes i u { width: 60%; height: 13px; border-radius: 999px; }
.themes .crown { position: absolute; top: 10px; right: 10px; }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.prod { position: relative; display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line); background: var(--glass), var(--surface); overflow: hidden; text-align: left; padding: 0; transition: border-color .2s, transform .3s var(--ease); }
.prod:hover { border-color: var(--line-2); transform: translateY(-3px); }
.prod-img { aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.prod:hover .prod-img img { transform: scale(1.06); }
.prod-info { padding: 10px 12px 12px; display: flex; flex-direction: column; }
.prod-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .prod-info small { color: var(--muted); }
.prod-flags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.prod-flags span { width: 26px; height: 26px; border-radius: 50%; background: rgba(11, 11, 15, .75); backdrop-filter: blur(6px); display: grid; place-items: center; }
.prod.add { align-items: center; justify-content: center; gap: 6px; min-height: 190px; border-style: dashed; border-color: var(--line-2); color: var(--muted); font-weight: 650; background: rgba(0, 0, 0, .25); }
.prod.add:hover { color: var(--accent); border-color: var(--accent); }
.code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass), var(--surface); transition: border-color .2s, transform .25s var(--ease); }
a.code-row:hover { border-color: var(--accent); transform: translateX(4px); }
.code-val { font: 700 16px ui-monospace, monospace; letter-spacing: .08em; padding: 5px 12px; border-radius: 10px; background: rgba(198, 255, 61, .1); color: var(--accent); border: 1px dashed rgba(198, 255, 61, .4); }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.timeline li { position: relative; padding-left: 18px; border-left: 2px solid var(--line-2); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--surface); }
.timeline small { color: var(--muted); display: block; }
.review { display: grid; gap: 22px; align-items: start; }
.review .preview { position: static; }
@media (min-width: 1040px) { .review { grid-template-columns: 400px minmax(0, 1fr); } .review .preview { position: sticky; top: calc(var(--nav-h) + 16px); } }
.sheet-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.sheet-imgs a { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: block; }
.sheet-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); } .sheet-imgs a:hover img { transform: scale(1.1); }
.urls { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.urls li { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); overflow-wrap: anywhere; }
.urls code { color: var(--info); font-size: 12.5px; }
.decide { position: sticky; bottom: 12px; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 24px; background: rgba(24, 24, 34, .9); backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.funnel { display: flex; flex-direction: column; gap: 6px; }
.funnel div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(198, 255, 61, .22) var(--w), rgba(255, 255, 255, .04) var(--w)); font-weight: 650; }
.two-col { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* page vendeur vue par son propriétaire, retour à l'annuaire */
.ownerbar { position: sticky; top: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: rgba(15, 15, 22, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); font-size: 13px; }
.ownerbar span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.sp-home { position: absolute; z-index: 5; margin: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 11, 15, .5); color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); transition: transform .3s var(--ease); }
.sp-home:hover { transform: scale(1.1) rotate(-12deg); }

/* sur téléphone, les rangées de l'accueil se feuillettent du doigt au lieu de s'empiler */
@media (max-width: 719px) {
  .grid.swipe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 4px 18px 18px; scrollbar-width: none; }
  .grid.swipe > * { flex: 0 0 80vw; scroll-snap-align: start; }
  .section { padding-top: 34px; }
  .stats { gap: 20px; }
}

/* ================= v3 : stories, carte des villes, lueurs au pointeur, recherche instantanée, confettis ================= */
/* lueur qui suit le pointeur sur les cartes */
.auth-form { position: relative; }
.scard::after, .plan::after, .pitch::after, .bento a::after, .auth-form::after, .upsell::after, .kpi::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--a, var(--accent)) 20%, transparent), transparent 70%); }
.scard:hover::after, .plan:hover::after, .pitch:hover::after, .bento a:hover::after, .auth-form:hover::after, .upsell:hover::after, .kpi:hover::after { opacity: 1; }
/* le hero réagit au pointeur : un halo le suit et le téléphone change d’inclinaison */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--hx, 72%) var(--hy, 34%), rgba(198, 255, 61, .1), transparent 70%); }
.hero-phone .phone { transform: rotateY(calc(-16deg + var(--px, 0) * 16deg)) rotateX(calc(7deg - var(--py, 0) * 12deg)) rotateZ(2.5deg); animation: float2 8s ease-in-out infinite; transition: transform .6s var(--ease); }
@keyframes float2 { 50% { translate: 0 -14px; } }
.hero-phone .sticker { transition: margin .6s var(--ease); margin-left: calc(var(--px, 0) * -18px); margin-top: calc(var(--py, 0) * -14px); }

/* stories */
.stories { display: flex; gap: 16px; overflow-x: auto; padding: 8px 18px 12px; margin: 0 -18px; scrollbar-width: none; }
.story { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; flex: none; border: 0; background: none; padding: 0; }
.story small { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--muted); transition: color .2s; }
.story:hover small { color: var(--text); }
.story-ring { padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, var(--accent), var(--cyan), var(--violet), var(--pink), var(--orange), var(--accent)); transition: transform .45s var(--ease); }
.story:hover .story-ring { transform: scale(1.09) rotate(14deg); }
.story:hover .story-av { transform: rotate(-14deg); }
.story-av { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); font: 700 24px var(--head); transition: transform .45s var(--ease); }
.story-av img { width: 100%; height: 100%; object-fit: cover; }
.sv-back { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(4, 4, 8, .88); backdrop-filter: blur(16px); animation: fade .25s; }
.sv { position: relative; display: flex; flex-direction: column; width: min(100vw, 420px); height: 100dvh; overflow: hidden; box-shadow: var(--shadow); animation: pop .4s var(--ease); }
@media (min-width: 480px) { .sv { border-radius: 34px; height: min(92dvh, 760px); } }
.sv-bars { position: relative; z-index: 3; display: flex; gap: 4px; padding: 12px 12px 0; }
.sv-bars i { flex: 1; height: 3px; border-radius: 99px; background: color-mix(in srgb, currentColor 28%, transparent); overflow: hidden; }
.sv-bars i.done { background: currentColor; }
.sv-bars b { display: block; height: 100%; background: currentColor; transform-origin: left; animation: sv-fill 5s linear forwards; }
@keyframes sv-fill { from { transform: scaleX(0); } }
.sv:hover .sv-bars b { animation-play-state: paused; }
.sv-top { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.sv-top .story-av { width: 42px; height: 42px; border-width: 0; font-size: 17px; }
.sv-top b { display: flex; align-items: center; gap: 5px; } .sv-top small { display: block; opacity: .82; font-size: 12.5px; }
.sv-x { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in srgb, currentColor 16%, transparent); color: inherit; }
.sv-zone { position: absolute; top: 74px; bottom: 220px; width: 36%; border: 0; background: none; z-index: 2; } .sv-zone.l { left: 0; } .sv-zone.r { right: 0; width: 64%; }
.sv-art { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sv-art span { display: grid; place-items: center; width: min(58vw, 230px); aspect-ratio: 1; border-radius: 36%; overflow: hidden; rotate: -6deg; font: 700 90px var(--display); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 8px color-mix(in srgb, currentColor 16%, transparent); animation: sv-art 5s var(--ease) both; margin-bottom: 120px; }
.sv-art img { width: 100%; height: 100%; object-fit: cover; }
@keyframes sv-art { from { scale: .8; rotate: 6deg; opacity: 0; } 12% { opacity: 1; } to { scale: 1.04; rotate: -6deg; } }
.sv-body { position: relative; z-index: 3; margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 60px 20px 26px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .34)); animation: up .5s var(--ease); }
.sv-body h3 { font: 700 clamp(30px, 8vw, 40px)/1 var(--display); letter-spacing: -.045em; }
.sv-body p { font-size: 16px; opacity: .92; }
.sv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, currentColor 15%, transparent); font-size: 12.5px; font-weight: 650; backdrop-filter: blur(6px); }

/* carte « constellation » */
.mapgrid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .mapgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.citymap { width: 100%; max-width: 540px; margin: 0 auto; padding: 8px; border-radius: 36px; background: radial-gradient(circle at 50% 50%, rgba(198, 255, 61, .09), transparent 66%); }
.citymap svg { width: 100%; height: auto; display: block; overflow: visible; }
.cm-ring { fill: none; stroke: var(--line-2); stroke-width: .25; stroke-dasharray: .8 1.6; }
.cm-link { fill: none; stroke: rgba(198, 255, 61, .42); stroke-width: .3; stroke-dasharray: 1.4 1.4; animation: cm-dash 24s linear infinite; }
@keyframes cm-dash { to { stroke-dashoffset: -56; } }
.cm-off { fill: rgba(255, 255, 255, .2); }
.cm-on { cursor: pointer; outline: none; }
.cm-dot { fill: var(--accent); }
.cm-halo { fill: rgba(198, 255, 61, .2); transform-box: fill-box; transform-origin: center; animation: cm-pulse 3.2s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes cm-pulse { 50% { transform: scale(1.55); opacity: .3; } }
.cm-on text { fill: var(--text); font: 700 3.2px var(--display); letter-spacing: -.08px; paint-order: stroke; stroke: var(--bg); stroke-width: .9px; transition: fill .2s; }
.cm-on:hover text, .cm-on:focus-visible text { fill: var(--accent); }

/* recherche instantanée (Ctrl+K ou /) */
.pal-back { position: fixed; inset: 0; z-index: 150; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 14px 0; background: rgba(4, 4, 8, .72); backdrop-filter: blur(10px); animation: fade .15s; }
.pal { width: min(100%, 600px); border-radius: 26px; overflow: hidden; background: rgba(20, 20, 30, .95); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 6px rgba(198, 255, 61, .06); animation: pop .25s var(--ease); }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pal-in input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; color: var(--text); }
.pal-in kbd { font: 600 11px var(--font); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--faint); }
.pal-list { display: flex; flex-direction: column; gap: 2px; padding: 10px; max-height: 56vh; overflow-y: auto; }
.pal-list .eyebrow { padding: 6px 10px 8px; color: var(--faint); }
.pal-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; transition: background .15s; }
.pal-list a:hover, .pal-list a:focus-visible { background: rgba(255, 255, 255, .07); }
.pal-list a > i { font-style: normal; font-size: 22px; width: 40px; text-align: center; }
.pal-list a > span:not(.avatar) { display: flex; flex-direction: column; flex: 1; min-width: 0; } .pal-list small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-list a > .ic { color: var(--faint); }
.pal-list p { padding: 14px 10px; }

/* confettis */
.confetti { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -24px; border-radius: 2px; animation: confetti-fall linear forwards; }
@keyframes confetti-fall { to { transform: translate(var(--x), 108vh) rotate(var(--r)); } }

/* avancement de la page dans le studio */
.progress { display: flex; gap: 18px; align-items: center; border-color: rgba(198, 255, 61, .3); }
.ring { --p: 0; position: relative; display: grid; place-items: center; flex: none; width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); box-shadow: 0 0 30px -8px rgba(198, 255, 61, .55); }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; font: 700 19px var(--display); letter-spacing: -.04em; } .ring small { font-size: 11px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .sv-bars b { animation: none !important; } }

/* rien ne doit provoquer de défilement horizontal (bandeau incliné, rangées à feuilleter) */
.app { overflow-x: clip; }

/* ================= v4 : création de page en plein écran, écran de démarrage ================= */
#app > .boot { min-height: 100dvh; }
.boot i { width: 58px; height: 58px; border-radius: 19px; background: linear-gradient(140deg, var(--accent-2), var(--accent)); box-shadow: 0 0 60px rgba(198, 255, 61, .6); animation: boot 1s ease-in-out infinite alternate; }
@keyframes boot { to { transform: scale(.8) rotate(14deg); opacity: .65; } }
.wiz { position: fixed; inset: 0; z-index: 110; display: grid; overflow-y: auto; background: radial-gradient(60vw 50vh at 0% 0%, rgba(198, 255, 61, .12), transparent 60%), radial-gradient(60vw 60vh at 100% 100%, rgba(139, 108, 255, .2), transparent 60%), var(--bg); animation: fade .25s; }
@media (min-width: 900px) { .wiz { grid-template-columns: minmax(0, 540px) 1fr; } }
.wiz-form { display: flex; flex-direction: column; gap: 18px; min-height: 100dvh; padding: clamp(20px, 5vw, 52px); }
.wiz-form h1 { font: 700 clamp(28px, 5vw, 46px)/1.02 var(--display); letter-spacing: -.045em; animation: up .45s var(--ease); }
.wiz-step { gap: 14px; animation: up .5s var(--ease) both; animation-delay: .06s; }
.wiz-dots { display: flex; gap: 6px; }
.wiz-dots i { width: 38px; height: 5px; border-radius: 99px; background: var(--line-2); transition: background .3s, box-shadow .3s; }
.wiz-dots i.on { background: var(--accent); box-shadow: 0 0 14px rgba(198, 255, 61, .65); }
.wiz-nav { margin-top: auto; padding-top: 10px; }
.wiz .addgrid button.on { border-color: var(--accent); background: rgba(198, 255, 61, .08); box-shadow: 0 0 0 3px rgba(198, 255, 61, .12); }
.wiz-preview { display: none; position: sticky; top: 0; height: 100dvh; place-items: center; align-content: center; gap: 18px; padding: 30px; border-left: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, rgba(198, 255, 61, .12), transparent 60%); }
@media (min-width: 900px) { .wiz-preview { display: grid; } }
.wiz-preview .phone { width: min(340px, 100%); max-height: 80dvh; rotate: 2deg; }
/* annuaire : la barre de filtres reste à portée sur grand écran */
@media (min-width: 860px) { .filters { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 20; } }

/* ================= v5 : tableau de bord du studio, graphiques, comparatif des offres, transitions, page introuvable ================= */
/* passage d'une page à l'autre : fondu enchaîné plutôt qu'une coupure nette */
@supports (view-transition-name: none) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
}

/* tableau de bord du studio */
.dash { display: flex; flex-direction: column; gap: 22px; padding-top: 30px; padding-bottom: 70px; }
.dash-hero { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding: clamp(22px, 4vw, 40px); border-radius: 32px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(60% 130% at 100% 0%, rgba(198, 255, 61, .17), transparent 60%), radial-gradient(50% 130% at 0% 100%, rgba(139, 108, 255, .22), transparent 60%), var(--surface); }
.dash-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px; -webkit-mask: radial-gradient(70% 100% at 100% 0%, #000, transparent 70%); mask: radial-gradient(70% 100% at 100% 0%, #000, transparent 70%); }
.dash-hero > * { position: relative; z-index: 1; }
.dash-hero h1 { font: 700 clamp(26px, 4.6vw, 46px)/1.04 var(--display); letter-spacing: -.045em; margin-top: 12px; }
.dash-hero h1 em { font-style: normal; color: var(--accent); }
.dash-hero p { color: var(--muted); max-width: 52ch; margin-top: 10px; }
.wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.6s ease-in-out 1; }
@keyframes wave { 10%, 30% { rotate: 16deg; } 20%, 40% { rotate: -8deg; } 50% { rotate: 0deg; } }
.dash h2 { font: 700 20px var(--display); letter-spacing: -.035em; margin-top: 6px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.dcard { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 26px; background: var(--glass), var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s, opacity .7s var(--ease); }
.dcard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.dcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 4px 4px 2px 0; }
.dcard-main { max-width: 100%; text-decoration: none; font: 700 17px/1.2 var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcard-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.dcard .pill { white-space: normal; text-align: left; }
.dcard-stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding-top: 6px; }
.dcard-stat b { display: block; font: 700 24px/1 var(--head); font-variant-numeric: tabular-nums; }
.dcard-stat small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; white-space: nowrap; }
.dcard-stat .spark { flex: 1; min-width: 36px; max-width: 120px; }
.dcard-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dcard-actions a { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 12.5px; font-weight: 650; text-decoration: none; transition: background .2s, color .2s; }
.dcard-actions a:hover { background: var(--accent); color: var(--accent-ink); }
.dcard.new { grid-template-columns: 1fr; place-items: center; align-content: center; gap: 10px; min-height: 212px; border: 1.5px dashed rgba(198, 255, 61, .4); background: radial-gradient(80% 100% at 50% 0%, rgba(198, 255, 61, .09), transparent 70%); color: var(--muted); font: inherit; text-align: center; }
.dcard.new b { color: var(--text); font: 700 16px var(--head); }
.dcard.new > i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -8px rgba(198, 255, 61, .7); transition: transform .4s var(--ease); }
.dcard.new:hover > i { transform: rotate(90deg) scale(1.08); }
/* la page en miniature, dans ses vraies couleurs */
.mini { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 104px; aspect-ratio: 9 / 16; padding: 14px 9px 9px; border-radius: 18px; overflow: hidden; background: var(--p-bg); color: var(--p-text); border: 3px solid #000; box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px -12px rgba(0, 0, 0, .8); }
.mini-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex: none; background: var(--p-accent); color: var(--p-on-accent); font: 700 13px var(--p-head); }
.mini-av img { width: 100%; height: 100%; object-fit: cover; }
.mini b { max-width: 100%; font: 700 9px/1.2 var(--p-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 2px; }
.mini u { display: block; width: 100%; height: 12px; flex: none; border-radius: 999px; background: var(--p-card); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-text) 14%, transparent); text-decoration: none; }
.mini u.acc { background: var(--p-accent); box-shadow: none; }
.mini u.tall { height: 38px; border-radius: 8px; }

/* studio : identité de la page dans la colonne, étapes de publication */
.side-id { display: none; }
@media (min-width: 860px) {
  .side-id { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px 8px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
  .side-id > div { min-width: 0; }
  .side-id b { display: block; font: 700 13px var(--display); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-id small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.pubrail { display: flex; align-items: center; padding: 14px 18px; border-radius: var(--r); background: var(--glass), var(--surface); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pub-step { display: flex; align-items: center; gap: 10px; flex: none; color: var(--faint); font-weight: 650; font-size: 13.5px; }
.pub-step .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); }
.pub-step.done { color: var(--text); } .pub-step.done .dot { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.pub-step.now { color: var(--text); } .pub-step.now .dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 0 rgba(198, 255, 61, .5); animation: pulse 1.8s infinite; }
.pub-step.bad { color: var(--err); } .pub-step.bad .dot { border-color: var(--err); color: var(--err); }
.pub-line { flex: 1; min-width: 22px; height: 2px; margin: 0 12px; border-radius: 2px; background: var(--line-2); }
.pub-line.done { background: linear-gradient(90deg, var(--accent), rgba(198, 255, 61, .3)); }

/* graphiques : courbe pleine, mini-courbes, anneau, répartition */
.chart-area { animation: fade .9s var(--ease) both; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; filter: drop-shadow(0 6px 10px rgba(198, 255, 61, .35)); animation: draw 1.3s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.chart-dot { fill: var(--bg); stroke: var(--accent); stroke-width: 2.6; }
.chart-cross { stroke: var(--line-2); stroke-dasharray: 3 4; }
.spark { display: block; width: 100%; height: 34px; overflow: visible; color: var(--c, var(--accent)); }
.spark .l { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark .a { fill: currentColor; opacity: .14; }
.spark.flat .l { stroke: var(--line-2); stroke-dasharray: 3 5; } .spark.flat .a { display: none; }
button.kpi, a.kpi { text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
button.kpi:hover, a.kpi:hover { transform: translateY(-2px); border-color: var(--line-2); }
.kpi.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 44px -24px rgba(198, 255, 61, .7); }
.kpi b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.kpi .spark { margin-top: 6px; }
.kpi .of { font: 500 15px var(--font); color: var(--muted); }
.trend { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font: 700 12px var(--font); font-style: normal; letter-spacing: 0; }
.trend.up { background: rgba(61, 220, 151, .15); color: var(--ok); } .trend.down { background: rgba(255, 107, 107, .15); color: var(--err); }
.donut { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.donut-ring { position: relative; width: 132px; height: 132px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; stroke-linecap: butt; }
.donut .track { stroke: rgba(255, 255, 255, .07); }
.donut-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-ring b { font: 700 22px/1 var(--head); font-variant-numeric: tabular-nums; } .donut-ring small { color: var(--muted); font-size: 12px; }
.donut ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 150px; font-size: 14px; }
.donut li { display: flex; align-items: center; gap: 9px; } .donut li i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .donut li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.per100 { display: flex; flex-direction: column; gap: 14px; }
.per-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; font-size: 14px; }
.per-row b { font: 700 16px var(--head); font-variant-numeric: tabular-nums; } .per-row small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.per-row .bar { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.per-row .bar i { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, var(--c, var(--accent)), color-mix(in srgb, var(--c, var(--accent)) 50%, transparent)); transform-origin: left; animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.week div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.week i { width: 100%; aspect-ratio: 1; max-height: 58px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) calc(var(--k) * 100%), rgba(255, 255, 255, .06)); font: 700 13px var(--head); font-variant-numeric: tabular-nums; color: var(--text); }
.week i.hi { color: var(--accent-ink); box-shadow: 0 10px 26px -12px rgba(198, 255, 61, .8); }
.themes i { background: var(--p-bg); }

/* offres : comparatif et questions */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 28px; background: var(--glass), var(--surface); }
.cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.cmp thead th { padding-top: 22px; font: 700 16px var(--display); letter-spacing: -.03em; }
.cmp thead small { display: block; margin-top: 5px; font: 500 12.5px var(--font); color: var(--muted); letter-spacing: 0; }
.cmp .best { background: rgba(198, 255, 61, .055); }
.cmp thead .best { color: var(--accent); }
.cmp tbody tr:hover td:not(.best) { background: rgba(255, 255, 255, .025); }
.cmp tr:last-child td { border-bottom: 0; padding: 18px; }
.cmp td b { font-family: var(--head); font-size: 15px; }
.cmp .yes { color: var(--accent); filter: drop-shadow(0 0 8px rgba(198, 255, 61, .5)); } .cmp .no { color: var(--faint); }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 840px; }
.faq details { padding: 0 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass), var(--surface); transition: border-color .25s; }
.faq details[open] { border-color: rgba(198, 255, 61, .4); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; font: 650 16px var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); font: 500 20px/1 var(--font); transition: transform .35s var(--ease), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq p { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.cta-band p { color: var(--muted); margin-top: 8px; max-width: 48ch; }

/* page introuvable */
.nf { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: clamp(36px, 8vw, 80px) 0 60px; }
.nf-num { position: relative; font: 700 clamp(110px, 30vw, 290px)/.9 var(--display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .22); user-select: none; }
.nf-num::before, .nf-num::after { content: "404"; position: absolute; inset: 0; -webkit-text-stroke: 0; animation: glitch 3.4s steps(1) infinite; }
.nf-num::before { color: var(--accent); clip-path: inset(0 0 60% 0); text-shadow: 0 0 60px rgba(198, 255, 61, .45); }
.nf-num::after { color: var(--violet); clip-path: inset(64% 0 0 0); animation-direction: reverse; }
@keyframes glitch { 0%, 84%, 100% { transform: none; } 86% { transform: translate(-9px, 2px); } 89% { transform: translate(8px, -3px); } 92% { transform: translate(-4px, 1px); } 95% { transform: translate(3px, 0); } }
.nf h1 { font: 700 clamp(22px, 4vw, 36px)/1.08 var(--display); letter-spacing: -.04em; }
.nf p { color: var(--muted); max-width: 44ch; margin-bottom: 8px; }
@media (max-width: 859px) { .dcard { grid-template-columns: 88px minmax(0, 1fr); } .mini { width: 88px; }
  .pubrail { padding: 11px 12px; } .pub-step { gap: 6px; font-size: 12.5px; } .pub-step .dot { width: 24px; height: 24px; } .pub-line { min-width: 8px; margin: 0 6px; } }
.kpi b > span:not(.of) { font: inherit; color: inherit; display: inline; }
.plan.reveal { transition: opacity .7s var(--ease), transform .5s var(--ease), border-color .25s; transition-delay: var(--d, 0ms); }
.faq details.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .25s; }

/* ================= v6 : espace admin (salle de contrôle, file de validation, relecture, journal) ================= */
.main .h1 { font: 700 clamp(24px, 3.6vw, 32px)/1 var(--display); letter-spacing: -.04em; }
.avatar.adm { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px -8px rgba(198, 255, 61, .7); }
.admin .dash-hero { background: radial-gradient(60% 130% at 100% 0%, rgba(139, 108, 255, .26), transparent 60%), radial-gradient(50% 130% at 0% 100%, rgba(198, 255, 61, .13), transparent 60%), var(--surface); }

/* ce qui attend une décision */
.todos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.todo { --c: var(--warn); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 18px 20px; border-radius: 24px; text-decoration: none; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 17%, transparent), transparent 62%), var(--surface); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform .35s var(--ease), box-shadow .35s; }
.todo.err { --c: var(--err); } .todo.info { --c: var(--info); }
.todo.calm { --c: var(--ok); border-color: var(--line); background: var(--glass), var(--surface); }
.todo:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -28px var(--c); }
.todo-ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
.todo:not(.calm) .todo-ic { animation: pulse-c 2.2s infinite; }
@keyframes pulse-c { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.todo b { font: 700 34px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.todo.calm b { color: var(--faint); }
.todo > span:not(.todo-ic) { grid-column: 2; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.todo .go { grid-row: 1 / span 2; grid-column: 3; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.todo:hover .go { transform: translateX(4px); color: var(--text); }

/* file de validation : une carte par page, avec sa miniature */
.queue { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.qcard { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 26px; text-decoration: none; background: var(--glass), var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.qcard:hover { transform: translateY(-4px); border-color: rgba(198, 255, 61, .5); box-shadow: var(--shadow); }
.qcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; padding: 4px 4px 2px 0; }
.qcard-name { max-width: 100%; margin-top: 4px; font: 700 17px/1.2 var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-line { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcard-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; width: 100%; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted); }
.qcard-foot span { display: inline-flex; align-items: center; gap: 5px; }
.wait.warn { color: var(--warn); } .wait.err { color: var(--err); font-weight: 700; }

/* relecture d'une page */
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rv-head h1 { font: 700 clamp(20px, 2.6vw, 26px)/1.1 var(--display); letter-spacing: -.035em; }
.rv-head .avatar { width: 46px; height: 46px; font-size: 18px; }
.rv-pos { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font: 700 12.5px var(--head); font-variant-numeric: tabular-nums; color: var(--muted); }
.flags { display: flex; flex-wrap: wrap; gap: 6px; }
.flags .pill { padding: 5px 11px; font-size: 12.5px; }
.rv-seg { width: 100%; max-width: 380px; }
.diff { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.diff li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; background: rgba(255, 184, 77, .07); border: 1px solid rgba(255, 184, 77, .2); }
.diff .ic { color: var(--warn); margin-top: 4px; }
.urls li.link-row { flex-direction: row; align-items: center; gap: 12px; }
.link-ic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.link-row > div { display: flex; flex-direction: column; min-width: 0; }
.review .decide { border-color: rgba(198, 255, 61, .35); }
.decide .btn.approve { min-width: max-content; }
/* sur petit écran, la colonne ne doit jamais s'élargir au-delà de l'écran (les motifs prêts à l'emploi défilent dans leur rangée) */
@media (max-width: 1039px) { .review { grid-template-columns: minmax(0, 1fr); } .review .preview .phone { margin: 0 auto; } }

/* journal des décisions */
.log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.log li { --c: var(--muted); display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 0; font-size: 14px; }
.log li + li { border-top: 1px solid var(--line); }
.log li.ok { --c: var(--ok); } .log li.err { --c: var(--err); } .log li.warn { --c: var(--warn); } .log li.info { --c: var(--info); }
.log-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.log p { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.log small { padding-top: 4px; color: var(--faint); font-size: 12px; white-space: nowrap; }
.log-day { padding: 16px 20px 8px; border-radius: var(--r); background: var(--glass), var(--surface); border: 1px solid var(--line); }
.log-day h3 { display: block; margin-bottom: 6px; font: 700 14px var(--display); letter-spacing: -.02em; }
.log-day h3::first-letter { text-transform: uppercase; }
.log-day h3 span { float: right; font: 500 12.5px var(--font); color: var(--muted); letter-spacing: 0; }

/* signalements, tableaux, réglages */
.rep { gap: 10px; border-left: 3px solid var(--err); }
.rep.done { border-left-color: var(--line-2); opacity: .6; }
.rep-text { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 14px; }
.admin .table td.muted { white-space: nowrap; }
.cell-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cell-id .avatar { width: 34px; height: 34px; font-size: 14px; }
.search-in { position: relative; min-width: 200px; }
.search-in > .ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--faint); pointer-events: none; }
.search-in .input { padding-left: 40px; }
.set-h { display: flex; align-items: center; gap: 10px; }
.set-h span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(198, 255, 61, .12); color: var(--accent); }
@media (max-width: 859px) { .qcard { grid-template-columns: 88px minmax(0, 1fr); } .log li { grid-template-columns: 30px minmax(0, 1fr); } .log small { grid-column: 2; padding-top: 0; } }

/* ================= v7 : annuaire (barre de recherche, filtres retirables, vue liste, carte, aucun résultat) ================= */
.ex-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ex-head p { max-width: 56ch; }
.ex-bar { gap: 6px; padding: 7px; border-radius: 24px; box-shadow: 0 22px 50px -32px #000; transition: border-color .25s, box-shadow .3s; }
.ex-bar:focus-within { border-color: rgba(198, 255, 61, .5); box-shadow: 0 0 0 4px rgba(198, 255, 61, .1), 0 22px 50px -32px #000; }
.ex-field { position: relative; display: flex; align-items: center; flex: 1 1 180px; min-width: 0; }
.ex-field.q { flex: 3 1 260px; }
.ex-field > .ic { position: absolute; left: 14px; color: var(--accent); pointer-events: none; }
.filters .ex-field .input { width: 100%; flex: none; min-height: 50px; padding-left: 42px; }
.filters .ex-field .input:focus { box-shadow: none; background: rgba(255, 255, 255, .11); }
.ex-field.q .input { padding-right: 46px; }
.ex-clear { position: absolute; right: 9px; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--text); transition: background .2s; }
.ex-clear:hover { background: rgba(255, 255, 255, .22); }
.chip.dim { opacity: .38; }
.ex-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ex-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-toggles .chip { padding: 7px 13px; font-size: 13px; }
.ex-view { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.ex-view button { width: 38px; height: 32px; border: 0; border-radius: 9px; display: grid; place-items: center; background: transparent; color: var(--muted); transition: background .2s, color .2s; }
.ex-view button:hover { color: var(--text); }
.ex-view button.on { background: var(--surface-3); color: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.ex-map { padding: 14px 14px 18px; border-radius: 28px; border: 1px solid var(--line); background: var(--glass), var(--surface); animation: pop .4s var(--ease) both; }
.ex-map p { text-align: center; }
.ex-map .citymap { opacity: 1; transform: none; }
.ex-count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.ex-count > b { font: 700 24px/1 var(--display); letter-spacing: -.035em; color: var(--text); font-variant-numeric: tabular-nums; }
.ex-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 12px; border-radius: 999px; border: 1px solid rgba(198, 255, 61, .4); background: rgba(198, 255, 61, .08); color: var(--text); font-size: 12.5px; font-weight: 650; transition: background .2s; }
.ex-pill:hover { background: rgba(198, 255, 61, .2); }
.ex-pill .ic:last-child { opacity: .6; }
.ex-reset { padding: 4px; border: 0; background: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; }
.ex-reset:hover { color: var(--text); }
/* la première page sponsorisée prend deux colonnes */
@media (min-width: 900px) { .scard.wide { grid-column: span 2; } .scard.wide .scard-top { height: 176px; } .scard.wide .scard-go { top: 188px; } .scard.wide .scard-name { font-size: 22px; } }
.scard-top .pill.new { background: #fff; color: #0b0b0f; }
/* vue en liste */
.slist { display: flex; flex-direction: column; gap: 8px; }
.srow { --a: var(--accent); display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; text-decoration: none; background: var(--glass), var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .2s; }
.srow:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--a) 60%, transparent); }
.srow-av { width: 52px; height: 52px; flex: none; border-radius: 17px; overflow: hidden; display: grid; place-items: center; font: 700 20px var(--head); }
.srow-av img { width: 100%; height: 100%; object-fit: cover; }
.srow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.srow-main b { display: flex; align-items: center; gap: 6px; min-width: 0; font: 700 16px var(--head); }
.srow-main b > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow-main b .ic { flex: none; color: var(--accent); }
.srow-main b .pill { flex: none; padding: 2px 8px; font-size: 11px; }
.srow-main small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow-meta { display: flex; gap: 14px; flex: none; color: var(--muted); font-size: 12.5px; }
.srow-meta span { display: inline-flex; align-items: center; gap: 4px; }
.srow-star { flex: none; color: #ffc94a; font-weight: 700; font-size: 13px; }
.srow-lock { flex: none; color: var(--muted); }
.srow-go { flex: none; color: var(--faint); transition: transform .3s var(--ease), color .2s; }
.srow:hover .srow-go { transform: translateX(3px); color: var(--a); }
.skel.line { min-height: 78px; border-radius: 20px; }
/* aucun résultat */
.ex-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 50px 16px; border-radius: 32px; border: 1px dashed var(--line-2); background: radial-gradient(60% 90% at 50% 0%, rgba(139, 108, 255, .13), transparent 70%); }
.ex-empty-art { width: 84px; height: 84px; margin-bottom: 6px; border-radius: 28px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); border: 1px solid var(--line-2); rotate: -6deg; box-shadow: 0 22px 40px -18px rgba(198, 255, 61, .55); }
.ex-empty h3 { font: 700 24px var(--display); letter-spacing: -.035em; }
.ex-empty p { color: var(--muted); max-width: 48ch; }
@media (max-width: 859px) { .ex-field { flex-basis: 140px; } .ex-field.q { flex-basis: 100%; order: -1; } .srow { gap: 12px; padding: 10px 12px 10px 10px; } }

/* ================= v8 : page Compte et pages d'information ================= */
.acct-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: clamp(20px, 3.6vw, 34px); border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(60% 140% at 0% 0%, rgba(198, 255, 61, .16), transparent 60%), radial-gradient(50% 140% at 100% 100%, rgba(139, 108, 255, .22), transparent 60%), var(--surface); }
.acct-av { width: 84px; height: 84px; flex: none; border-radius: 28px; display: grid; place-items: center; rotate: -4deg; font: 700 36px var(--display); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent-2), var(--accent) 60%, #7be000); box-shadow: 0 18px 40px -14px rgba(198, 255, 61, .7); }
.acct-hero h1 { margin: 10px 0; font: 700 clamp(24px, 4vw, 38px)/1.05 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; }
.acct-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.acct-tags .pill { padding: 5px 11px; font-size: 12.5px; overflow-wrap: anywhere; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-snap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 252, 0, .06); border: 1px solid rgba(255, 252, 0, .2); }
.acct-n { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; vertical-align: middle; background: var(--accent); color: var(--accent-ink); font: 700 14px var(--head); letter-spacing: 0; }

/* pages d'information */
.ipage { max-width: 860px; margin: 0 auto; padding: 40px 18px 70px; display: flex; flex-direction: column; gap: 16px; }
.info-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 8px; }
.info-head h1 { font: 700 clamp(30px, 5.4vw, 52px)/1 var(--display); letter-spacing: -.045em; }
.info-head p { color: var(--muted); font-size: 16px; max-width: 62ch; }
.info-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.info-nav .chip { padding: 8px 14px; font-size: 13.5px; }
.info-sec { --c: var(--accent); display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 26px; background: var(--glass), var(--surface); border: 1px solid var(--line); }
.info-sec.err { --c: var(--err); }
.info-sec h2 { display: flex; align-items: center; gap: 12px; font: 700 20px var(--display); letter-spacing: -.03em; }
.info-sec h2 span { width: 38px; height: 38px; flex: none; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.info-sec p { color: var(--muted); max-width: 70ch; }
.info-no, .info-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.info-no { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.info-no li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 107, 107, .06); border: 1px solid rgba(255, 107, 107, .18); font-size: 14px; }
.info-no .ic { margin-top: 4px; color: var(--err); }
.info-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.info-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.info-steps li:last-child { padding-bottom: 0; }
.info-steps li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line-2); }
.info-steps b { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 13px var(--head); }
.info-steps span { padding-top: 4px; color: var(--muted); }
.info-rows li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.info-rows li.ok { align-items: center; background: rgba(61, 220, 151, .07); border: 1px solid rgba(61, 220, 151, .25); }
.info-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--accent); }
.info-rows li.ok .info-ic { color: var(--ok); }
.info-rows b { display: block; margin-bottom: 2px; }
.info-rows p { font-size: 14px; }
.info-dl { margin: 0; display: flex; flex-direction: column; }
.info-dl div { display: grid; grid-template-columns: minmax(140px, 240px) minmax(0, 1fr); gap: 6px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.info-dl div:first-child { border-top: 0; padding-top: 0; }
.info-dl dt { color: var(--muted); font-size: 14px; }
.info-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 600px) { .info-dl div { grid-template-columns: minmax(0, 1fr); } .info-sec { padding: 18px 16px; } .acct-av { width: 64px; height: 64px; border-radius: 22px; font-size: 28px; } }
