:root {
  --bg: #0c0f16;
  --bg2: #10141d;
  --panel: #151a26;
  --panel2: #1b2232;
  --line: #242c3d;
  --text: #e9edf5;
  --muted: #98a2b6;
  --faint: #5d677c;
  --honey: #ffb547;
  --honey2: #f29d2e;
  --get: #5cc8ff;
  --win: #3ddc84;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font: 16px/1.55 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}
a { color: var(--honey); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }

/* en-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(12, 15, 22, .82); backdrop-filter: blur(10px); border-bottom: 1px solid #1a2030; }
.top-in { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); font-size: 15px; }
.top nav a:hover { color: var(--text); text-decoration: none; }

/* boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; font-weight: 700; color: #1a1307; background: linear-gradient(180deg, #ffc760, var(--honey2)); box-shadow: 0 10px 30px -10px rgba(255, 170, 60, .6); transition: transform .15s, filter .15s; }
.btn:hover { text-decoration: none; filter: brightness(1.07); transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn.small { padding: 8px 16px; font-size: 14px; box-shadow: none; }
.btn.big { padding: 16px 28px; font-size: 18px; }

/* haut de page */
.hero { background: radial-gradient(900px 500px at 75% 0%, rgba(92, 200, 255, .10), transparent 60%), radial-gradient(900px 600px at 10% 10%, rgba(255, 181, 71, .12), transparent 60%); padding: 70px 0 80px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 50px; align-items: center; }
.kicker { margin: 0 0 12px; color: var(--honey); font-weight: 700; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.5px; }
h1 .win { color: var(--win); }
.lead { color: var(--muted); font-size: 18px; margin: 18px 0 28px; max-width: 520px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.meta { margin: 0; color: var(--muted); font-size: 14px; }
.tiny { margin: 22px 0 0; color: var(--faint); font-size: 13.5px; }

/* aperçu de l'appli */
.mock { border-radius: 16px; border: 1px solid #2a3348; background: var(--bg2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-bottom: 1px solid #1d2433; font-size: 13px; }
.mock-bar img { width: 18px; height: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 2px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 11.5px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--win); box-shadow: 0 0 6px var(--win); }
.win-ctl { display: flex; gap: 6px; margin-left: 10px; }
.win-ctl i { width: 9px; height: 9px; border-radius: 50%; background: #2a3348; }
.mock-body { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 10px; padding: 12px; }
.side { border-radius: 11px; border: 1px solid var(--line); background: var(--panel); padding: 9px; position: relative; overflow: hidden; }
.side::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--honey); }
.side.get::before { background: var(--get); }
.side-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 700; margin: 2px 2px 8px; }
.side-h b { font-size: 19px; color: var(--honey); }
.side.get .side-h b { color: var(--get); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tile { position: relative; height: 92px; border-radius: 9px; border: 1px solid var(--line); background: #192030; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 6px 4px; text-align: center; }
.tile b { font-size: 10.5px; line-height: 1.15; margin-top: 4px; }
.tile small { font-size: 10px; color: var(--muted); }
.tile em { position: absolute; top: 5px; left: 5px; font-style: normal; font-size: 9.5px; font-weight: 800; color: #10131b; background: var(--honey); border-radius: 4px; padding: 0 4px; }
.side.get .tile em { background: var(--get); }
.tile.add { justify-content: center; border-style: dashed; background: transparent; color: var(--faint); font-size: 20px; }
.tile.faint { opacity: .45; }
.ic { width: 34px; height: 34px; margin-bottom: auto; margin-top: 8px; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.ic-a { background: linear-gradient(135deg, #7ee08a, #2f9a52); }
.ic-b { background: linear-gradient(135deg, #ff8f8f, #c43c4c); }
.ic-c { background: linear-gradient(135deg, #ffe08a, #e0a12e); }
.mid { display: flex; flex-direction: column; gap: 8px; }
.verdict { border-radius: 11px; border: 1px solid rgba(61, 220, 132, .45); background: linear-gradient(180deg, rgba(61, 220, 132, .16), var(--panel)); text-align: center; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 10px 30px -14px rgba(61, 220, 132, .6); }
.v-ic { width: 26px; height: 26px; border-radius: 50%; background: rgba(61, 220, 132, .18); color: var(--win); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.verdict small { color: var(--win); font-weight: 800; font-size: 9.5px; letter-spacing: 1px; }
.verdict strong { font-size: 22px; line-height: 1.1; }
.verdict strong em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.pct { font-size: 9.5px; font-weight: 700; color: var(--win); background: rgba(61, 220, 132, .14); border-radius: 99px; padding: 1px 7px; }
.scale { width: 100%; height: auto; }
.scale .post { stroke: #3a4660; stroke-width: 3; fill: none; }
.scale .base { fill: #2c364b; }
.scale .beam { fill: var(--honey); }
.scale .str { stroke: #4a5674; stroke-width: 1.2; fill: none; }
.scale .dish.g { fill: var(--honey); }
.scale .dish.r { fill: var(--get); }
.scale .piv { fill: #ffcf6b; stroke: var(--bg2); stroke-width: 2.5; }
.bar { display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: #222a3a; }
.bar i { background: var(--honey); }
.bar i.r { background: var(--get); }

/* sections */
.sec { padding: 80px 0; }
.sec.alt { background: var(--bg2); border-top: 1px solid #1a2030; border-bottom: 1px solid #1a2030; }
h2 { margin: 0 0 34px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.3px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.c-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: var(--honey); background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .3); }
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); padding: 22px; }
.steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1a1307; background: linear-gradient(180deg, #ffc760, var(--honey2)); }
.steps h3 { margin: 4px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.steps b { color: var(--text); }
details { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--honey); font-size: 22px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
details b { color: var(--text); }
.final { text-align: center; background: radial-gradient(700px 300px at 50% 100%, rgba(255, 181, 71, .12), transparent 70%); }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final h2 { margin-bottom: 10px; }
.foot { border-top: 1px solid #1a2030; padding: 26px 0 34px; color: var(--faint); font-size: 13.5px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding: 44px 0 56px; }
  .mock-body { grid-template-columns: 1fr; }
  .mid { order: -1; }
  .grid, .steps { grid-template-columns: 1fr; }
  .btn.big { width: 100%; justify-content: center; }
  .cta { align-items: stretch; }
  .sec { padding: 56px 0; }
}
.bar .w8 { width: 8%; }
.bar .w92 { width: 92%; }
.scale { max-width: 240px; margin: 0 auto; display: block; }
