/* Resell Manager · landing. Mise en page : sobre et technique, comme le site (mêmes couleurs que son mode sombre, Inter) ;
   une grille fine au fond du haut de page, des écrans de l'appli comme preuves, une seule couleur d'accent (l'ambre). */
:root {
  --bg: #080b1c;
  --panel: #0e1226;
  --panel-2: #121734;
  --line: #1c2240;
  --line-2: #262d52;
  --ink: #eceef5;
  --ink-2: #b7bccb;
  --muted: #7a8094;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, .12);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, .12);
  --red: #f87171;
  --blue: #8f98ff;
  --on-amber: #160f02;
  --grid: rgba(143, 152, 255, .07);
  --nav-bg: rgba(8, 11, 28, .85);
  --bar: #0b0f22;
  --photo-bg: #05070f;
  --chip-bg: rgba(8, 11, 28, .85);
  --amber-tint: #17140d;
  --shadow: rgba(0, 0, 0, .9);
  --accent: #f59e0b;
  --amber-ink: #f59e0b;
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
/* Le mode clair, choisi avec le bouton soleil / lune (ou par la page qui affiche la landing). */
:root[data-theme="light"] {
  --bg: #fafafa; --panel: #ffffff; --panel-2: #f1f2f6; --line: #ececef; --line-2: #dfe1ea;
  --ink: #0b0d17; --ink-2: #3f4352; --muted: #696e82;
  --amber-soft: rgba(245, 158, 11, .14); --green: #16a34a; --green-soft: rgba(22, 163, 74, .1); --red: #dc2626; --blue: #4f5bd5;
  --grid: rgba(79, 91, 213, .08); --nav-bg: rgba(250, 250, 250, .86); --bar: #f3f4f8; --photo-bg: #e9ebf0; --chip-bg: rgba(255, 255, 255, .92);
  --amber-tint: #fff6e5; --shadow: rgba(15, 20, 50, .16); --accent: #d97706; --amber-ink: #b45309;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--on-amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); }
.label { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label.amber { color: var(--amber-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 3.9vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.accent { color: var(--accent); }
.lead { margin: 0; font-size: clamp(16.5px, 1.35vw, 18.5px); color: var(--ink-2); max-width: 58ch; }
.sec { padding-block: 120px; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; font: 600 15.5px/1 var(--body); white-space: nowrap; transition: background .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--amber); color: var(--on-amber); }
.btn-main:hover { background: #fbb32e; }
.btn-line { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-line:hover { background: var(--panel); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

/* Barre du haut */
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.solid { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 16px/1 var(--display); letter-spacing: -.02em; }
.logo-img { width: 28px; height: 28px; display: block; transition: transform .6s var(--ease); }
.logo:hover .logo-img { transform: rotate(-180deg); }
.final-logo { width: 72px; height: 72px; display: block; filter: drop-shadow(0 12px 30px rgba(245, 158, 11, .35)); }
.js .final-logo[data-r] { transform: rotate(-200deg) scale(.6); transition: opacity .8s var(--ease), transform 1.1s cubic-bezier(.2, .9, .25, 1.15); }
.js .final-logo[data-r].in { transform: none; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme { width: 36px; height: 36px; border: 0; border-radius: 9px; display: grid; place-items: center; cursor: pointer; background: transparent; color: var(--ink-2); transition: background .2s, color .2s; }
.theme:hover { background: var(--panel); color: var(--ink); }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="light"] .theme .sun { display: block; }
:root[data-theme="light"] .theme .moon { display: none; }
.nav-end .login { text-decoration: none; font-size: 14.5px; color: var(--ink-2); padding: 0 8px; }

/* Héros */
.hero { position: relative; padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: 110px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 50%; top: 520px; width: 900px; height: 500px; margin-left: -450px; background: radial-gradient(closest-side, rgba(245, 158, 11, .12), transparent); pointer-events: none; }
.hero-top { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 24px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.pill b { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-amber); background: var(--amber); padding: 5px 7px; border-radius: 999px; }
.hero .lead { text-align: center; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.proof .ico { width: 15px; height: 15px; color: var(--green); }

/* L'écran de l'appli */
.app { position: relative; z-index: 1; margin: 72px auto 0; max-width: 1040px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -40px var(--shadow); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bar); }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app-url { font: 500 12.5px/1 var(--mono); color: var(--muted); padding: 6px 12px; border-radius: 6px; background: var(--bg); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--body); color: var(--green); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
.app-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.kpi { padding: 16px; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 6px; }
.kpi small { font-size: 12.5px; color: var(--muted); }
.kpi b { font: 600 26px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--green); }
.log { grid-column: 1 / -1; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
.log-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.log-head span { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.log ul { list-style: none; margin: 0; padding: 0; height: 296px; overflow: hidden; }
.log li { display: grid; grid-template-columns: 52px 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.log li.new { animation: logIn .7s var(--ease) both, glow 2.4s ease both; }
@keyframes logIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes glow { from { background: rgba(245, 158, 11, .1); } to { background: transparent; } }
.log time { font: 500 12.5px/1 var(--mono); color: var(--muted); }
.log .ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--panel-2); color: var(--ink-2); }
.log .ic .ico { width: 14px; height: 14px; }
.log .tx { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.log .tx b { color: var(--ink); font-weight: 500; }
.log .tag { font: 500 11.5px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.log .tag.ok { background: var(--green-soft); color: var(--green); }
.log .tag.am { background: var(--amber-soft); color: var(--amber-ink); }
.app-foot { padding: 0 16px 14px; font: 500 11.5px/1 var(--mono); color: var(--muted); text-align: right; }

/* Bandeau de preuves */
.strip { border-top: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-in > div { padding: 30px 24px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.strip-in > div:first-child { border-left: 0; padding-left: 0; }
.strip b { font: 600 21px/1.2 var(--display); letter-spacing: -.02em; }
.strip span { font-size: 14px; color: var(--muted); }

/* La vidéo */
.video { border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -40px var(--shadow); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video { position: relative; }
.sound { position: absolute; right: 14px; top: 14px; border: 0; cursor: pointer; padding: 8px 12px; border-radius: 8px; font: 500 13px/1 var(--body); color: var(--ink); background: var(--chip-bg); box-shadow: 0 0 0 1px var(--line-2) inset; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sound:hover { background: var(--panel); }

/* Douleurs */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.pain { background: var(--bg); padding: 28px; display: grid; gap: 10px; align-content: start; }
.pain .pq { font: 500 13px/1.3 var(--mono); color: var(--red); }
.pain h3 { font-size: 18px; }
.pain p { margin: 0; font-size: 15px; color: var(--muted); }
.pains-after { margin-top: 28px; display: flex; align-items: center; gap: 14px; font: 500 18px/1.4 var(--display); color: var(--ink); }
.pains-after::before { content: ''; width: 28px; height: 1px; background: var(--amber); flex: none; }

/* Fonctions (texte + écran) */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 72px; align-items: center; padding-block: 72px; }
.feat + .feat { border-top: 1px dashed var(--line); }
.feat.flip .feat-text { order: 2; }
.feat-text { display: grid; gap: 18px; min-width: 0; }
.feat-text h2 { font-size: clamp(28px, 3.2vw, 42px); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks .ico { width: 17px; height: 17px; color: var(--amber); margin-top: 4px; }
.card { position: relative; min-width: 0; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -40px var(--shadow); overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.thumb { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: var(--c, #e9ecf3); color: var(--g, #fbfaf6); flex: none; }
.thumb svg { width: 72%; height: 72%; }
.card-head > div { min-width: 0; }
.card-head b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-head span { font-size: 12.5px; color: var(--muted); }
.card-head .badge { margin-left: auto; }
.badge { font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 6px 8px; border-radius: 6px; white-space: nowrap; background: var(--amber-soft); color: var(--amber-ink); }
.badge.gray { background: var(--panel-2); color: var(--muted); }
.chat { display: grid; gap: 10px; padding: 18px 16px 20px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.msg.in { justify-self: start; background: var(--panel-2); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.out { justify-self: end; background: var(--amber); color: var(--on-amber); border-bottom-right-radius: 4px; }
.sys { justify-self: center; font: 500 12px/1.3 var(--mono); color: var(--muted); padding: 6px 10px; border-radius: 6px; background: var(--bg); text-align: center; }
.sys.ok { color: var(--green); background: var(--green-soft); }
.sys .h { color: var(--red); }
.offer { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 13px; box-shadow: 0 0 0 1px var(--line-2) inset; background: var(--bg); }
.offer.out { justify-self: end; box-shadow: 0 0 0 1px rgba(245, 158, 11, .45) inset; }
.offer.in { justify-self: start; }
.offer b { font: 600 14px/1 var(--mono); }
.offer s { color: var(--muted); font-size: 12px; }
.offer .no { font-size: 12px; font-weight: 600; color: var(--red); }
.lang { font: 600 10.5px/1 var(--mono); padding: 3px 5px; border-radius: 4px; background: rgba(143, 152, 255, .18); color: var(--blue); margin-right: 6px; vertical-align: 1px; }
.by { justify-self: end; font: 500 11.5px/1 var(--mono); color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 12px 16px; border-top: 1px solid var(--line); font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
.card-foot b { color: var(--green); font-weight: 500; }

/* Apparition des messages, un par un, quand la carte arrive */
.js .seq > * { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 420ms + 250ms); }
.js .seq.in > * { opacity: 1; transform: none; }

/* Photo portée */
.photo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
.photo-grid .chat { align-content: start; }
.photo { position: relative; border-left: 1px solid var(--line); background: var(--photo-bg); overflow: hidden; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2 / 3; }
.js .photo img { filter: blur(18px) saturate(.2) brightness(.5); transform: scale(1.06); transition: filter 1.6s var(--ease) 1.3s, transform 1.6s var(--ease) 1.3s; }
.js .in .photo img { filter: none; transform: none; }
.photo .badge { position: absolute; left: 12px; bottom: 12px; background: var(--chip-bg); color: var(--ink); }

/* Jauge du plancher */
.gauge { padding: 14px 14px 10px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 12px; }
.gauge-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.gauge-top b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.bar { position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(248, 113, 113, .5) 0 68.6%, rgba(52, 211, 153, .55) 68.6% 100%); margin-bottom: 22px; }
.mark { position: absolute; top: -4px; width: 1px; height: 14px; background: var(--ink-2); }
.mark span { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.needle { position: absolute; top: -6px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(236, 238, 245, .15); left: 74.3%; }
.js .needle { left: 51.4%; transition: left 1.2s var(--ease) 2.4s; }
.js .in .needle { left: 74.3%; }

/* File de republication */
.queue { padding: 4px 0; }
.q { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.q:last-child { border-bottom: 0; }
.q b { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q small { font: 500 12px/1 var(--mono); color: var(--muted); }
.q .st { font: 500 11.5px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--panel-2); color: var(--muted); white-space: nowrap; transition: background .4s, color .4s; }
.q.done .st { background: var(--green-soft); color: var(--green); }
.q.run .st { background: var(--amber-soft); color: var(--amber-ink); }

/* L'extension : le fil */
.flow { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.flow-line { position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--line-2); }
.flow-line i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease) .2s; }
.flow.in .flow-line i { transform: scaleX(1); }
.node { position: relative; display: grid; gap: 10px; align-content: start; }
.node-dot { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--muted); transition: box-shadow .4s, color .4s, background .4s; transition-delay: calc(var(--i, 0) * 400ms + 200ms); position: relative; z-index: 1; }
.node-dot .ico { width: 20px; height: 20px; }
.flow.in .node-dot { color: var(--amber); box-shadow: 0 0 0 1px rgba(245, 158, 11, .6) inset; background: var(--amber-tint); }
.node b { font: 600 15.5px/1.2 var(--display); }
.node span { font-size: 14px; color: var(--muted); }
.node .v { color: var(--green); }
.flow-notes { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; }

/* Tout le reste */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { min-width: 0; padding: 24px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 10px; align-content: start; transition: box-shadow .3s; }
.tile:hover { box-shadow: 0 0 0 1px var(--line-2) inset; }
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }
.tile h3 { font-size: 17px; }
.tile p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.mini { margin-top: 8px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; padding: 14px; }
.big { font: 600 40px/1 var(--display); letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 140px; display: block; margin-top: 12px; }
.chart .ln { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 900; stroke-dashoffset: 0; }
.js .chart .ln { stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.js .in .chart .ln { stroke-dashoffset: 0; }
.js .chart .ar { opacity: 0; transition: opacity 1.2s ease 1.6s; }
.js .in .chart .ar { opacity: 1; }
.rows { display: grid; gap: 1px; margin-top: 10px; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 14px; background: var(--bg); }
.rows span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .pos { font-family: var(--mono); font-size: 13px; color: var(--green); white-space: nowrap; }
.rows .warn { font-family: var(--mono); font-size: 13px; color: var(--amber); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips span { padding: 5px 9px; border-radius: 6px; font: 500 12px/1.2 var(--mono); color: var(--ink-2); background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; }
.kairo { display: grid; gap: 8px; }
.kairo .kq { justify-self: end; padding: 8px 11px; border-radius: 10px 10px 3px 10px; background: var(--panel-2); font-size: 13.5px; }
.kairo .ka { justify-self: start; min-height: 36px; padding: 8px 11px; border-radius: 10px 10px 10px 3px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; font-size: 13.5px; color: var(--ink-2); }
.kairo .ka b { color: var(--green); font-weight: 500; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; background: var(--amber); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Le Club */
.club { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.club-text { display: grid; gap: 18px; min-width: 0; }
.feed { display: grid; gap: 10px; padding: 16px; }
.challenge { padding: 14px; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 10px; }
.challenge b { font: 600 15px/1.3 var(--display); }
.pbar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--amber); border-radius: inherit; transform-origin: left; transform: scaleX(.75); }
.js .pbar i { transform: scaleX(.12); transition: transform 2s var(--ease) .4s; }
.js .in .pbar i { transform: scaleX(.75); }
.nums { display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); color: var(--muted); }
.post { padding: 14px; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 10px; }
.post-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--body); background: var(--panel-2); color: var(--ink-2); }
.post-h span { margin-left: auto; font-size: 12px; color: var(--muted); }
.post-b { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.post-b .thumb { width: 56px; height: 56px; }
.post-b b { display: block; font-size: 14.5px; font-weight: 500; }
.post-b small { font: 500 11px/1 var(--mono); color: var(--amber); letter-spacing: .04em; text-transform: uppercase; }
.price { font: 600 20px/1 var(--display); }
.reacts { display: flex; gap: 6px; font-size: 12.5px; color: var(--muted); }
.reacts span { padding: 4px 8px; border-radius: 6px; background: var(--panel-2); }
.top { display: grid; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.top div { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; padding: 10px 14px; font-size: 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.top div:last-child { border-bottom: 0; }
.top .r { font-family: var(--mono); color: var(--muted); }
.top .me { background: var(--amber-tint); }
.top .me .r { color: var(--amber-ink); }

/* Calcul */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.calc-text { display: grid; gap: 18px; min-width: 0; }
.steppers { display: grid; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin-top: 8px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 12px 12px 18px; background: var(--bg); }
.stepper label { font-size: 15px; color: var(--ink-2); min-width: 0; }
.ctl { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.ctl button { width: 36px; height: 36px; border-radius: 8px; border: 0; cursor: pointer; background: var(--panel-2); font-size: 18px; line-height: 1; transition: background .2s; }
.ctl button:hover { background: var(--line-2); }
.ctl output { min-width: 42px; text-align: center; font: 500 16px/1 var(--mono); }
.result { border-radius: 16px; padding: 36px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; display: grid; gap: 12px; }
.hours { font: 600 clamp(60px, 7.6vw, 100px)/1 var(--display); letter-spacing: -.045em; color: var(--amber); font-variant-numeric: tabular-nums; }
.result p { margin: 0; color: var(--ink-2); }
.result p b { color: var(--ink); font-weight: 600; }
.result .note { font-size: 13px; color: var(--muted); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.step { padding: 30px; background: var(--bg); display: grid; gap: 10px; align-content: start; }
.step .n { font: 500 13px/1 var(--mono); color: var(--amber-ink); }
.step b { font: 600 19px/1.25 var(--display); letter-spacing: -.015em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Avis */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quote { margin: 0; padding: 28px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 22px; align-content: space-between; }
.quote blockquote { margin: 0; font: 400 16.5px/1.6 var(--body); color: var(--ink); }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.stars { color: var(--amber-ink); letter-spacing: .12em; }

/* Tarifs */
.price-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.price-head .sec-head { margin-bottom: 0; }
.toggle { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; }
.toggle button { border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--panel-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.toggle em { font-style: normal; font: 500 11px/1 var(--mono); margin-left: 6px; color: var(--green); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.plan { position: relative; padding: 26px 22px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 14px; align-content: start; }
.plan.star { box-shadow: 0 0 0 1px rgba(245, 158, 11, .7) inset, 0 20px 60px -30px rgba(245, 158, 11, .35); }
.plan h3 { font-size: 20px; }
.plan .for { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.amount { display: flex; align-items: baseline; gap: 6px; min-height: 50px; }
.amount b { font: 600 40px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: opacity .18s; }
.amount b.fade { opacity: 0; }
.amount span { font-size: 14px; color: var(--muted); }
.yearly { margin: -8px 0 0; min-height: 20px; font-size: 13px; color: var(--green); }
.trial { margin: -6px 0 0; font-size: 13px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.plan li .ico { width: 16px; height: 16px; color: var(--amber); margin-top: 3px; }
.plan .btn { width: 100%; margin-top: 4px; }
.plan-tag { position: absolute; top: -11px; left: 22px; padding: 5px 9px; border-radius: 6px; font: 600 11px/1 var(--mono); letter-spacing: .04em; background: var(--amber); color: var(--on-amber); }
.price-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Questions */
.faq { display: grid; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 17px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 400 22px/1 var(--mono); color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--amber); }
.faq details p { margin: 0; padding: 0 0 24px; max-width: 70ch; color: var(--ink-2); }

/* Fin */
.final { position: relative; padding-block: 150px; text-align: center; border-top: 1px solid var(--line); overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 70%); pointer-events: none; }
.final .wrap { position: relative; display: grid; justify-items: center; gap: 26px; }
.final h2 { font-size: clamp(34px, 5.2vw, 68px); max-width: 900px; }
.final p { margin: 0; color: var(--muted); }
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }


/* Le cas de Hugo */
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.founder-text { display: grid; gap: 18px; min-width: 0; }
.who { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.who-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--bg), 0 0 0 5px rgba(245, 158, 11, .5); }
.who b { display: block; font-size: 16px; }
.who span { font-size: 14px; color: var(--muted); }
.month-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.month-grid > div { background: var(--panel); padding: 20px 18px; display: grid; gap: 6px; align-content: start; }
.month-grid small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.month-grid b { font: 600 28px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.month-grid .ok b { color: var(--green); }

/* Sécurité du compte : RM Shield (Hugo, 11/11/2026). Ambre pour la technologie, vert pour ce qui est mesuré et protégé. */
.lg-f { fill: var(--amber-soft); }
.lg-s { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sg-badge { position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; flex: none; color: var(--amber);
  background: radial-gradient(circle at 50% 35%, rgba(245, 158, 11, .2), transparent 70%), var(--panel);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, .45) inset, 0 0 0 6px var(--amber-soft), 0 18px 50px -18px rgba(245, 158, 11, .55); }
.sg-badge svg { width: 54px; height: 54px; overflow: visible; }
.sg-badge::after { content: ''; position: absolute; inset: -6px; border-radius: 30px; box-shadow: 0 0 0 1px rgba(245, 158, 11, .4); opacity: 0; pointer-events: none; }
.sg-badge.sm { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(245, 158, 11, .45) inset; }
.sg-badge.sm svg { width: 26px; height: 26px; }
.sg-badge.xs { width: 32px; height: 32px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(245, 158, 11, .45) inset; }
.sg-badge.xs svg { width: 21px; height: 21px; }
.sg-badge.sm::after, .sg-badge.xs::after { inset: -5px; border-radius: 15px; }
.sg-tech { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); }
.sg-honest { margin: 44px 0 0; font-size: 14.5px; color: var(--muted); max-width: 70ch; }
/* La scène « Le bouclier » (Hugo, 11/11/2026) : dans un cadre, jamais sur le fond de la page. Ambre = RM Shield,
   rouge éteint = signal de Vinted, vert = protégé. Dessinée par landing.js (canvas), seulement quand elle est à l'écran. */
.shx-head { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 860px; margin: 0 auto 44px; }
.shx-head h2 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.shx-head .lead { margin-inline: auto; }
.shx-head .nw { white-space: nowrap; }
.shx { position: relative; height: 540px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 70% at 50% 50%, rgba(245, 158, 11, .10), transparent 70%), linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px, var(--panel);
  box-shadow: 0 0 0 1px var(--line-2), 0 60px 140px -60px rgba(245, 158, 11, .35), 0 40px 100px -50px var(--shadow); }
.shx canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shx-hud { position: absolute; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.shx-hud.tl { top: 16px; left: 18px; } .shx-hud.tr { top: 16px; right: 18px; justify-content: flex-end; }
.shx-hud.bl { bottom: 16px; left: 18px; } .shx-hud.br { bottom: 16px; right: 18px; }
.shx-hud b { color: var(--amber-ink); font-weight: 600; }
.shx-hud .ok { color: var(--green); }
.shx-hud .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.shx-ev { padding: 6px 9px; border-radius: 7px; background: var(--chip-bg); box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.shx-ev b { color: var(--green); }
.shx-core { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 12px; pointer-events: none; }
.shx-core .sg-badge { width: 112px; height: 112px; border-radius: 32px; animation: shxGlow 2.4s ease-in-out infinite; }
.shx-core .sg-badge svg { width: 72px; height: 72px; }
.shx-core .sg-badge::after { border-radius: 40px; }
@keyframes shxGlow { 50% { box-shadow: 0 0 0 1px rgba(245, 158, 11, .7) inset, 0 0 0 8px var(--amber-soft), 0 0 70px 6px rgba(245, 158, 11, .45); } }
.shx-acc { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--chip-bg); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 13px; color: var(--ink); white-space: nowrap; }
.shx-acc i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.shx-acc span { color: var(--green); font-weight: 600; }
.shx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 28px; background: var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.shx-stats > div { background: var(--bg); padding: 22px 22px 20px; display: grid; gap: 6px; align-content: start; }
.shx-stats b { font: 600 clamp(36px, 4.4vw, 56px)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--ink); }
.shx-stats b.g { color: var(--green); }
.shx-stats span { font-size: 14px; color: var(--muted); }
.shx-meas { margin: 12px 0 0; text-align: center; font: 500 11.5px/1.4 var(--mono); color: var(--muted); }
.shx-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; margin-top: 40px; }
/* La console : les signaux de Vinted, du plus léger au plus grave, et la riposte de RM Shield */
.sh-head { display: grid; gap: 18px; max-width: 840px; margin: 120px 0 40px; }
.sh-console { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -50px var(--shadow);
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 28px 28px, var(--panel); }
.sh-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--bar); }
.sh-bar > b { font: 600 15px/1 var(--display); letter-spacing: -.01em; }
.sh-on { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); color: var(--green); }
.sh-on i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.sh-count { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.sh-count b { color: var(--amber-ink); font-weight: 600; }
.sh-list { list-style: none; margin: 0; padding: 0; }
.sh-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.sh-threat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.sh-threat b { flex-basis: 100%; font: 600 17px/1.25 var(--display); letter-spacing: -.01em; }
.sh-threat p, .sh-reply p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sh-reply p { color: var(--ink-2); }
.sh-lv { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sh-meter { display: inline-flex; gap: 3px; }
.sh-meter i { width: 14px; height: 6px; border-radius: 2px; background: var(--line-2); }
.sh-row:nth-child(1) .sh-meter i:nth-child(-n+1), .sh-row:nth-child(2) .sh-meter i:nth-child(-n+2), .sh-row:nth-child(3) .sh-meter i:nth-child(-n+3),
.sh-row:nth-child(4) .sh-meter i:nth-child(-n+4), .sh-row:nth-child(5) .sh-meter i { background: var(--amber); }
/* Le niveau 5 : ton compte en sécurité, tout en vert. */
.sh-row.safe { background: linear-gradient(90deg, var(--green-soft), transparent 70%); }
.sh-row.safe .sh-meter i { background: var(--green); }
.sh-row.safe .sh-threat b { color: var(--green); }
.sh-row.safe .sh-ray { background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 11px); }
.sh-hit { position: relative; height: 44px; display: grid; place-items: center; }
.sh-ray { position: absolute; left: 0; right: 50%; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 11px); opacity: .6; }
.sh-hit .sg-badge { z-index: 1; }
.sh-reply { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.sh-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.sh-tag::before { content: '✓'; font-weight: 600; }
.sh-end { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 26px 20px; background: repeating-linear-gradient(135deg, transparent 0 10px, var(--grid) 10px 11px); }
.sh-end .sh-lv { text-decoration: line-through; text-decoration-color: var(--amber); }
.sh-end p { margin: 0; font-size: 14px; color: var(--muted); }
/* Le journal en direct */
.sg-row2 { margin-top: 48px; }
.sg-lock { display: flex; align-items: center; gap: 12px; }
.sg-lock b { display: block; font: 600 18px/1.1 var(--display); letter-spacing: -.01em; }
.sg-lock small { display: block; margin-top: 3px; font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); }
.sg-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 14px 0; }
.sg-meter { padding: 12px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 7px; align-content: start; min-width: 0; }
.sg-meter small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.sg-meter b { font: 600 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.sg-meter b i { font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); }
.sg-meter .tr { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.sg-meter .tr i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--amber); transform-origin: left; }
.sg-state { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 0; }
.sg-state span { padding: 6px 10px; border-radius: 6px; font: 500 11.5px/1 var(--mono); background: var(--panel-2); color: var(--ink-2); }
.sg-state span.ok { background: var(--green-soft); color: var(--green); }
.sg-feed .log { margin: 14px; }
.sg-feed .log ul { height: 318px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.sg-feed .log li { grid-template-columns: 50px minmax(0, 1fr) auto; }
.sg-feed .log .tx { white-space: normal; }
.sg-feed .log li.stop { background: var(--amber-tint); }
/* Animations : le halo du logo ; dans la console, chaque signal arrive sur le bouclier, qui riposte (un par un). */
.js .shx-core .sg-badge::after { animation: sgRing 2.4s ease-out infinite; }
@keyframes sgRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.js .sg-feed .sg-meter .tr i { transform: scaleX(.08); transition: transform 1.4s var(--ease) .3s; }
.js .sg-feed .in .sg-meter .tr i { transform: none; }
.js .sh-ray { transform: scaleX(0); transform-origin: left; transition: transform .45s ease-out calc(var(--k) * .75s + .3s); }
.js .sh-hit .sg-badge, .js .sh-reply { opacity: .3; transform: scale(.94); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--k) * .75s + .7s); }
.js .sh-console.in .sh-ray { transform: none; }
.js .sh-console.in .sh-hit .sg-badge, .js .sh-console.in .sh-reply { opacity: 1; transform: none; }
.js .sh-console.in .sh-hit .sg-badge::after { animation: sgRing .9s ease-out 1 both; animation-delay: calc(var(--k) * .75s + .7s); }

/* Avant / avec */
.vs-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.vs { width: 100%; border-collapse: collapse; font-size: 15px; }
.vs th, .vs td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs thead th { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--panel); }
.vs thead th:last-child { color: var(--amber-ink); }
.vs tbody th { font-weight: 500; color: var(--ink); width: 28%; }
.vs tbody td { color: var(--muted); }
.vs tbody td:last-child { color: var(--ink); background: rgba(245, 158, 11, .04); }
.vs tbody td:last-child::before { content: '✓'; color: var(--amber-ink); margin-right: 8px; font-weight: 600; }

/* Calcul relié au prix */
.roi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin: 6px 0; }
.roi > div { background: var(--bg); padding: 14px 16px; display: grid; gap: 4px; }
.roi small { font-size: 12.5px; color: var(--muted); }
.roi b { font: 600 20px/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }

/* Barre « Commencer » en bas, sur téléphone */
.sticky { display: none; }
@media (max-width: 720px) {
  .sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; justify-content: space-between;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky.on { transform: none; }
  .sticky > div { min-width: 0; display: grid; }
  .sticky b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky span { font-size: 12px; color: var(--green); }
  .foot { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 1000px) {
  .founder { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .shx-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-row { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); padding: 22px 20px; }
}
@media (max-width: 720px) {
  .month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month-grid b { font-size: 22px; }
  .shx { height: 480px; border-radius: 18px; }
  .shx-hud.tr, .shx-hud.br { display: none; }
  .shx-hud.tl { top: 14px; left: 14px; } .shx-hud.bl { bottom: 14px; left: 14px; right: 14px; }
  .shx-core .sg-badge { width: 88px; height: 88px; border-radius: 26px; } .shx-core .sg-badge svg { width: 56px; height: 56px; }
  .shx-stats { grid-template-columns: minmax(0, 1fr); } .shx-stats > div { padding: 18px 16px; }
  .shx-checks { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .sh-head { margin: 84px 0 28px; }
  .sh-bar { padding: 12px 14px; }
  .sh-count { margin-left: 0; flex-basis: 100%; }
  /* Au téléphone : le signal en haut, puis le bouclier à gauche de la riposte, relié par un trait qui descend. */
  .sh-row { grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "t t" "h r"; column-gap: 14px; row-gap: 14px; padding: 20px 16px; }
  .sh-threat { grid-area: t; }
  .sh-hit { grid-area: h; height: auto; align-self: stretch; place-items: start center; }
  .sh-reply { grid-area: r; }
  .sh-ray { left: 50%; right: auto; top: -14px; height: 14px; width: 2px; margin: 0 0 0 -1px; background: repeating-linear-gradient(180deg, var(--amber) 0 4px, transparent 4px 7px); }
  .js .sh-ray { transform: scaleY(0); transform-origin: top; }
  .sh-row.safe .sh-ray { background: repeating-linear-gradient(180deg, var(--green) 0 4px, transparent 4px 7px); }
  .sh-end { padding: 16px; }
  .sg-row2 { margin-top: 28px; }
  .sg-meters { grid-template-columns: minmax(0, 1fr); }
  .sg-meter { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .sg-meter .tr { grid-column: 1 / -1; }
  .sg-feed .log ul { height: 360px; }
  .sg-feed .log li { grid-template-columns: 44px minmax(0, 1fr); }
  .sg-feed .log .tag { display: none; }
  .vs thead { display: none; }
  .vs tr { display: grid; gap: 6px; padding: 16px; border-bottom: 1px solid var(--line); }
  .vs tbody tr:last-child { border-bottom: 0; }
  .vs th, .vs td { display: block; padding: 0; border: 0; width: auto !important; background: none !important; font-size: 14.5px; }
  .vs tbody td:first-of-type::before { content: 'À la main : '; color: var(--muted); }
}

/* Apparition simple au défilement (posée seulement si le script tourne) */
.js [data-r] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }

/* Téléphone */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .feat, .club, .calc { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feat.flip .feat-text { order: 0; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .flow-line { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .sec { padding-block: 84px; }
  .sec-head { margin-bottom: 40px; }
  .hero { padding-top: calc(116px + env(safe-area-inset-top, 0px)); padding-bottom: 70px; }
  .nav-end .login { display: none; }
  .app { margin-top: 48px; border-radius: 14px; }
  .app-url { display: none; }
  .app-body { gap: 8px; padding: 10px; }
  .kpi { padding: 10px; gap: 3px; }
  .kpi small { font-size: 11px; line-height: 1.25; }
  .kpi b { font-size: 17px; }
  .kpi span { font-size: 11px; }
  .log ul { height: 318px; }
  .log li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 10px 12px; font-size: 13px; }
  .log .ic, .log .tag { display: none; }
  .log .tx { white-space: normal; }
  .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-in > div { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .strip-in > div:nth-child(-n+2) { border-top: 0; }
  .strip-in > div:nth-child(even) { border-left: 1px solid var(--line); }
  .strip-in > div:first-child { padding-left: 16px; }
  .strip b { font-size: 18px; }
  .pains, .steps, .quotes, .plans, .bento { grid-template-columns: minmax(0, 1fr); }
  .tile.w2 { grid-column: auto; } .tile.h2 { grid-row: auto; }
  .feat { padding-block: 52px; }
  .photo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .msg { font-size: 13px; }
  .chat { padding: 14px 12px 16px; gap: 8px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .node { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; }
  .node-dot { grid-row: span 2; }
  .result { padding: 26px; }
  .final { padding-block: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shx-core .sg-badge { animation: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r], .js .seq > * { opacity: 1 !important; transform: none !important; }
  .js .photo img { filter: none !important; transform: none !important; }
  .js .chart .ln { stroke-dashoffset: 0 !important; } .js .chart .ar { opacity: 1 !important; }
  .js .needle { left: 74.3% !important; } .js .pbar i { transform: scaleX(.75) !important; }
}

/* Jour J (préparé le 30/10/2026) : les guides du site en bas de page, sur leur propre ligne (liens utiles au référencement). */
.foot-guides { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
