/* Site Skyox : portfolio + commandes. Style « carnet de dev » : traits dessinés à la main, notes manuscrites,
   fiches techniques, sur la palette lilas → violet d'Oparia. Toutes les animations respectent prefers-reduced-motion. */

:root {
  --violet: #2f4bff;
  --violet-2: #2740e6;
  --violet-3: #1b2fb8;
  --lilac: #c8ff3a;
  --grad: linear-gradient(135deg, #c8ff3a, #5dffb0);
  --ink: #090a10;
  --ink-2: #10121b;
  --ink-3: #181b28;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --text: #f2f4fb;
  --muted: #a6adc4;
  --dim: #6f7691;
  --paper: #f3f0e6;
  --paper-ink: #10121b;
  --mint: #5ed39a;
  --orange: #ff9a4d;
  --pink: #e879c6;
  --yellow: #ffd166;
  --blue: #6cb8ff;
  --red: #f87171;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r: 8px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --hand: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lilac); color: #090a10; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hand { font-family: var(--hand); font-weight: 700; }

/* ---------- Barre du haut ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.bar.solid { background: rgba(9, 10, 16, 0.92); box-shadow: 0 1px 0 var(--line); }
.bar.hide { transform: translateY(-100%); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: -0.02em; }
.brand .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); font-size: 18px; }
.brand .av img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; gap: 10px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav a { display: block; white-space: nowrap; padding: 10px 18px; border-radius: 6px; text-decoration: none; color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 17px; transition: background 0.2s, color 0.2s; }
.nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.who { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 6px; background: #fff; color: #10121b; text-decoration: none; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 20, 0.25); transition: transform 0.25s var(--spring); }
.who:hover { transform: translateY(-2px) rotate(-1deg); }
.who img, .who .dc { width: 32px; height: 32px; border-radius: 50%; }
.who .dc { display: grid; place-items: center; background: #5865f2; color: #fff; }
.who .dc svg { width: 18px; height: 18px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, 0.14); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 12px auto; flex-direction: column; padding: 14px; border-radius: 8px; background: var(--ink-2); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none; transition: 0.3s var(--ease); }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 18px; }
  .bar .who > span:not(.dc):not(.badge-dot) { display: none; }
  .bar .who { padding: 6px; }
}

/* ---------- Boutons ---------- */
.btn {
  --bg: #fff; --fg: #10121b;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--bg); color: var(--fg); font: 700 17px/1 var(--body); text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22), 0 14px 30px rgba(0, 0, 20, 0.25);
  transition: transform 0.2s var(--spring), box-shadow 0.2s var(--ease), filter 0.2s;
}
.btn:hover { transform: translateY(-3px) rotate(-0.6deg); box-shadow: 0 8px 0 rgba(0, 0, 0, 0.22), 0 20px 36px rgba(0, 0, 20, 0.3); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.violet { --bg: var(--violet); --fg: #fff; }
.btn.grad { --bg: var(--grad); --fg: #090a10; background: var(--grad); }
.btn.ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn.discord { --bg: #5865f2; --fg: #fff; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.link { position: relative; font-weight: 700; text-decoration: none; padding-bottom: 6px; }
.link svg { position: absolute; left: 0; bottom: -4px; width: 100%; height: 10px; overflow: visible; }
.link svg path { fill: none; stroke: var(--lilac); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--ease); }
.link:hover svg path { stroke-dashoffset: 1; animation: redraw 0.6s var(--ease) 0.15s forwards; }
@keyframes redraw { from { stroke-dashoffset: -1; } to { stroke-dashoffset: 0; } }

/* Contour tracé à la main (SVG injecté par site.js derrière les éléments .sk) */
.sk { position: relative; isolation: isolate; }
.sk > .sk-line { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); z-index: -1; pointer-events: none; overflow: visible; }
.sk > .sk-line path { fill: var(--sk-fill, none); stroke: var(--sk-stroke, currentColor); stroke-width: var(--sk-w, 2.4); stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, #6f8cff 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, #c070e0 0%, transparent 55%), var(--violet);
  padding: 150px 0 210px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; z-index: 2; }
.hero .hello { display: inline-flex; align-items: center; gap: 10px; font: 700 28px/1 var(--hand); color: #e6ff8a; transform: rotate(-3deg); margin: 0 0 14px; }
.hero .hello .wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out 1s 1; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
.hero h1 { margin: 0; font: 800 clamp(2.6rem, 6vw, 4.6rem)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 .rot { position: relative; isolation: isolate; text-align: left; display: inline-block; color: #090a10; padding: 0 0.18em; margin: 0.06em 0; white-space: nowrap; }
.hero h1 .rot::before { content: ''; position: absolute; inset: 0.08em -0.02em 0.02em; background: #e6ff8a; border-radius: 0.22em; transform: rotate(-1.5deg); z-index: -1; box-shadow: 0.08em 0.1em 0 #090a10; }
.hero h1 .rot b { font-weight: 800; }
.hero h1 .caret { display: inline-block; width: 0.07em; height: 0.85em; background: #090a10; margin-left: 0.04em; vertical-align: -0.06em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero .sub { margin: 26px 0 32px; max-width: 560px; font-size: 1.18rem; color: rgba(255, 255, 255, 0.9); }
.hero .sub strong { color: #fff; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.invite { margin-top: 34px; display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; color: #fff; text-decoration: none; cursor: pointer; background: none; border: 0; --sk-stroke: rgba(255, 255, 255, 0.85); --sk-fill: rgba(4, 8, 40, 0.28); transition: transform 0.25s var(--spring); }
.invite:hover { transform: rotate(-1.5deg) scale(1.02); }
.invite .ic { width: 44px; height: 44px; border-radius: 5px; background: #5865f2; display: grid; place-items: center; }
.invite .ic svg { width: 24px; height: 24px; color: #fff; }
.invite small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.invite b { font: 800 20px/1.2 var(--display); }
.invite .cp { margin-left: 10px; padding-left: 14px; border-left: 2px dashed rgba(255, 255, 255, 0.4); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; padding: 7px 14px; border-radius: 6px; background: rgba(4, 8, 40, 0.3); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(94, 211, 154, 0.2); flex: none; }
.dot.off { background: var(--dim); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(94, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 211, 154, 0); } }

/* Carte de profil façon Discord */
.stack { position: relative; height: 560px; }
.profile {
  position: absolute; right: 0; top: 10px; width: 360px; border-radius: 9px; overflow: hidden;
  background: #232129; box-shadow: 0 40px 80px rgba(0, 0, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(3deg); transition: transform 0.6s var(--spring);
}
.profile:hover { transform: rotate(0deg) scale(1.02); }
@keyframes float { 50% { translate: 0 -10px; } }
.profile .cover { height: 110px; background: var(--grad); position: relative; overflow: hidden; }
.profile .cover::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.12) 0 10px, transparent 10px 22px); }
.profile .pic { position: absolute; left: 22px; top: 62px; width: 92px; height: 92px; border-radius: 50%; border: 6px solid #232129; background: var(--ink-3); overflow: hidden; display: grid; place-items: center; font: 800 36px var(--display); z-index: 2; }
.profile .pic img { width: 100%; height: 100%; object-fit: cover; }
.profile .pic + .st { position: absolute; left: 90px; top: 128px; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); border: 5px solid #232129; z-index: 3; }
.profile .body { padding: 58px 22px 22px; }
.profile h3 { margin: 0; font: 800 24px/1.1 var(--display); display: flex; align-items: center; gap: 8px; }
.profile .tagline { margin: 4px 0 14px; color: var(--muted); font-size: 14px; }
.profile .box { background: #1a1820; border-radius: 6px; padding: 14px; font-size: 14px; color: #d7d2e2; }
.profile .box h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font-size: 13px; font-weight: 600; }
.profile .bots { display: grid; gap: 8px; margin-top: 12px; }
.profile .bots div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.profile .bots em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 12px; }
.msg { position: absolute; left: 0; bottom: 0; width: 300px; padding: 14px 16px; border-radius: 7px; background: #fff; color: #10121b; transform: rotate(-4deg); box-shadow: 0 25px 50px rgba(0, 0, 20, 0.35); display: flex; gap: 12px; }
.msg .pic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 20px; }
.msg b { display: block; font-size: 14px; }
.msg b i { font-style: normal; font-size: 10px; font-weight: 800; padding: 2px 5px; border-radius: 4px; background: #5865f2; color: #fff; margin-left: 4px; vertical-align: 1px; }
.msg p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; }
.note { position: absolute; font: 700 26px/1.1 var(--hand); color: #e6ff8a; white-space: nowrap; pointer-events: none; }
.note svg { position: absolute; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.note svg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.rv.in .note svg path, .note.in svg path { animation: draw 0.9s var(--ease) 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .note.me { left: -10px; top: 110px; transform: rotate(-8deg); }
.hero .note.me svg { left: 50px; top: 34px; width: 90px; height: 60px; }

/* Gribouillis flottants */
.doodles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.doodles svg { position: absolute; fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(var(--r, 8deg)); } }

/* Vague de séparation */
.wave-sep { position: absolute; left: 0; right: 0; bottom: -3px; height: clamp(70px, 9vw, 150px); z-index: 3; }
.wave-sep svg { width: 100%; height: 100%; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.sec { padding: 90px 0; position: relative; }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font: 700 24px/1 var(--hand); color: var(--lilac); transform: rotate(-2deg); margin-bottom: 8px; }
.head h2 { position: relative; display: inline-block; margin: 0; font: 800 clamp(2rem, 4.4vw, 3.3rem)/1.05 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.head h2 .ul { position: absolute; left: -2%; bottom: -14px; width: 104%; height: 18px; overflow: visible; }
.head h2 .ul path { fill: none; stroke: var(--lilac); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.head.in h2 .ul path { animation: draw 0.9s var(--ease) 0.3s forwards; }
.head p { margin: 26px 0 0; color: var(--muted); font-size: 1.12rem; }

/* Apparitions au défilement (une seule fois) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease) calc(var(--i, 0) * 80ms), transform 0.7s var(--ease) calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Réalisations : fiches techniques ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px 40px; }
.fiche { position: relative; padding: 26px 0 30px; }
.fiche .ruler { position: absolute; left: 0; right: 0; top: 0; height: 14px; display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.fiche .ruler::before, .fiche .ruler::after { content: ''; flex: 1; height: 1px; background: var(--line-2); transform: scaleX(0); transition: transform 0.9s var(--ease) 0.2s; }
.fiche .ruler::before { transform-origin: right; margin-right: 12px; }
.fiche .ruler::after { transform-origin: left; margin-left: 12px; }
.fiche.in .ruler::before, .fiche.in .ruler::after { transform: scaleX(1); }
.fiche .ruler i { position: absolute; top: 0; width: 1px; height: 14px; background: var(--line-2); }
.fiche .ruler i:first-child { left: 0; } .fiche .ruler i:last-child { right: 0; }
.fiche .cap { margin-top: 12px; display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.card {
  --c: var(--violet);
  position: relative; display: block; width: 100%; text-align: left; padding: 0; border: 0; cursor: pointer;
  border-radius: 10px; background: var(--c); overflow: hidden; color: var(--text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--spring), box-shadow 0.4s var(--ease);
}
.js .fiche:not(.in) .card { opacity: 0; transform: translateY(26px) scale(0.98); }
.fiche.in .card { animation: unveil 0.8s var(--ease) 0.2s backwards; }
@keyframes unveil { from { opacity: 0; transform: translateY(26px) scale(0.98); } }
.card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px rgba(0, 0, 0, 0.45); }
.card .top { position: relative; height: 270px; display: grid; place-items: center; padding: 26px; overflow: hidden; }
.card .top .tag { z-index: 2; position: absolute; left: 22px; top: 18px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.card .top .no { z-index: 2; position: absolute; right: 22px; top: 18px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.75); }
.card .top img.shot { width: auto; max-width: 92%; max-height: 220px; border-radius: 6px; box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4); transform: rotate(-2.5deg) translateY(16px); transition: transform 0.6s var(--spring); }
.card:hover .top img.shot { transform: rotate(0deg) translateY(6px) scale(1.03); }
.card .top .duo { position: absolute; width: 58%; max-height: 190px; object-fit: cover; object-position: top; right: 3%; bottom: -8%; transform: rotate(5deg); border-radius: 5px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); transition: transform 0.6s var(--spring); }
.card:hover .top .duo { transform: rotate(2deg) translate(-8px, -10px); }
.card .top .creas { position: relative; width: 100%; height: 100%; }
.card .top .trio { display: flex; align-items: flex-end; justify-content: center; gap: 0; width: 100%; height: 100%; padding-top: 28px; }
.card .top .trio img { width: 36%; border-radius: 6px; box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4); transition: transform 0.5s var(--spring); }
.card .top .trio img:nth-child(1) { transform: rotate(-6deg) translate(12px, 8px); }
.card .top .trio img:nth-child(2) { width: 40%; z-index: 1; }
.card .top .trio img:nth-child(3) { transform: rotate(6deg) translate(-12px, 8px); }
.card:hover .top .trio img:nth-child(1) { transform: rotate(-9deg) translate(0, 0); }
.card:hover .top .trio img:nth-child(3) { transform: rotate(9deg) translate(0, 0); }
.modal .vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.modal .vids video { border-radius: 6px; }
@media (max-width: 640px) { .modal .vids { grid-template-columns: 1fr; } }
.card .top .creas img { position: absolute; width: 46%; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.45)); transition: transform 0.6s var(--spring); }
.card .top .creas img:nth-child(1) { left: 0; bottom: -6%; }
.card .top .creas img:nth-child(2) { left: 30%; top: -4%; width: 40%; }
.card .top .creas img:nth-child(3) { right: 0; bottom: -2%; width: 44%; }
.card:hover .top .creas img:nth-child(1) { transform: translate(-6px, -8px) rotate(-4deg); }
.card:hover .top .creas img:nth-child(2) { transform: translateY(-10px) scale(1.05); }
.card:hover .top .creas img:nth-child(3) { transform: translate(6px, -8px) rotate(4deg); }
.card .bottom { margin: 0 10px 10px; padding: 24px 24px 22px; border-radius: 8px; background: var(--ink-2); }
.card h3 { margin: 0 0 4px; font: 800 26px/1.1 var(--display); letter-spacing: -0.02em; }
.card .role { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #dfe3f0; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--lilac); }
.card .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lilac); }
.card .more svg { width: 18px; height: 18px; transition: transform 0.3s var(--spring); }
.card:hover .more svg { transform: translateX(5px); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { position: relative; padding: 24px 22px 22px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--spring), background 0.3s, box-shadow 0.3s; }
.svc:hover { transform: translateY(-5px) rotate(var(--tilt, -0.8deg)); background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px rgba(0, 0, 0, 0.3); }
.svc .ico { width: 54px; height: 54px; border-radius: 6px; display: grid; place-items: center; background: var(--c, var(--violet)); color: #090a10; margin-bottom: 16px; transform: rotate(-4deg); transition: transform 0.4s var(--spring); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.svc:hover .ico { transform: rotate(4deg) scale(1.08); }
.svc .ico svg { width: 28px; height: 28px; }
.svc h3 { margin: 0 0 6px; font: 700 19px/1.2 var(--display); }
.svc p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.svc .ex { margin-top: 12px; font: 700 19px/1.1 var(--hand); color: var(--c, var(--lilac)); }
.svc.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; background: var(--grad); color: #090a10; box-shadow: none; }
.svc.wide p { color: rgba(26, 16, 38, 0.8); }
.svc.wide .ico { background: #090a10; color: #e6ff8a; margin: 0; flex: none; }
.svc.wide .btn { margin-left: auto; flex: none; --bg: #090a10; --fg: #fff; }

/* ---------- En direct ---------- */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
/* Usine pixel (factory.js) */
.factory { position: relative; max-width: 1180px; margin: 0 auto 30px; padding: 16px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.fx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin: 2px 4px 12px; }
.fx-tier { font: 800 1.2rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-sum { color: var(--muted); font-size: 14px; }
.fx-stage { position: relative; display: flex; justify-content: center; padding: 12px; border-radius: 6px; background: #0e1116; overflow: hidden; }
.fx-cv { display: block; max-width: 100%; height: auto !important; image-rendering: pixelated; image-rendering: crisp-edges; }
.fx-toast { position: absolute; top: 14px; left: 50%; transform: translate(-50%, -16px); opacity: 0; padding: 8px 16px; border-radius: 10px; background: var(--grad); color: #12091a; font-weight: 700; font-size: 14px; pointer-events: none; transition: 0.35s; text-align: center; max-width: 90%; }
.fx-toast.on { opacity: 1; transform: translate(-50%, 0); }
.fx-tip { position: absolute; display: none; pointer-events: none; z-index: 3; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.82); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12.5px; line-height: 1.45; white-space: nowrap; }
.fx-tip i { color: var(--muted); font-style: normal; }
.fx-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 14px; }
.fx-chip { display: flex; gap: 10px; padding: 10px 12px; border-radius: 5px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.fx-chip.off { opacity: 0.55; }
.fx-chip > i { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 3px; }
.fx-chip b { display: block; font-size: 14px; }
.fx-chip em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); }
.fx-chip small { display: block; margin-top: 4px; font-size: 12px; color: var(--dim); }
.fx-bar { display: block; height: 4px; margin-top: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.fx-bar u { display: block; height: 100%; border-radius: 3px; }
.fx-note { margin: 12px 4px 0; font-size: 13.5px; color: var(--muted); }
.factory.grow .fx-stage { animation: fxgrow 1.2s var(--ease); }
@keyframes fxgrow { 0% { box-shadow: inset 0 0 0 0 #c8ff3a; } 30% { box-shadow: inset 0 0 0 6px #c8ff3a; } 100% { box-shadow: inset 0 0 0 0 #c8ff3a; } }
.num { position: relative; padding: 52px 14px 10px; }
.num + .num::before { content: ''; position: absolute; left: 0; top: 50px; bottom: 6px; width: 2px; background: var(--line-2); border-radius: 2px; transform: rotate(2deg); }
.num dd { margin: 0; font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--display); letter-spacing: -0.04em; }
.num dd sup { font-size: 0.5em; color: var(--c); vertical-align: 0.6em; margin-left: 2px; }
.num dt { margin-top: 10px; color: var(--muted); font-size: 15px; }
.num .note { left: 50%; top: 4px; color: var(--c); font-size: 23px; transform: translateX(-10%) rotate(-4deg); opacity: 0; transition: opacity 0.5s 0.6s; }
.num.in .note { opacity: 1; }
.num .note svg { left: -32px; top: 12px; width: 30px; height: 26px; }
.num.in .note svg path { animation: draw 0.6s var(--ease) 0.9s forwards; }
.botlist { margin: 50px auto 0; max-width: 760px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.botlist div { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 6px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.botlist em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--dim); }
.updated { margin-top: 18px; text-align: center; color: var(--dim); font-size: 14px; }

/* ---------- Toujours inclus : page de carnet ---------- */
.notebook { position: relative; max-width: 980px; margin: 0 auto; padding: 46px 50px 40px 92px; border-radius: 10px 10px 10px 10px; background: var(--paper); color: var(--paper-ink); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); transform: rotate(-0.8deg); background-image: linear-gradient(transparent 39px, rgba(90, 120, 200, 0.18) 40px); background-size: 100% 40px; }
.notebook::before { content: ''; position: absolute; left: 62px; top: 0; bottom: 0; width: 2px; background: rgba(232, 121, 198, 0.55); }
.notebook .holes { position: absolute; left: 20px; top: 30px; bottom: 30px; display: flex; flex-direction: column; justify-content: space-around; }
.notebook .holes i { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6); }
.notebook h3 { margin: 0 0 22px; font: 700 40px/1 var(--hand); color: var(--violet-3); }
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 40px; list-style: none; padding: 0; margin: 0; }
.included li { display: flex; gap: 14px; }
.included .tick { width: 30px; height: 30px; flex: none; color: var(--violet-2); }
.included .tick path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.notebook.in .included .tick path { animation: draw 0.5s var(--ease) calc(0.4s + var(--i, 0) * 0.15s) forwards; }
.included b { display: block; font: 700 19px/1.2 var(--display); }
.included span { font-size: 15px; color: #44506e; line-height: 1.45; }
.notebook .sign { position: absolute; right: 40px; bottom: -26px; font: 700 34px/1 var(--hand); color: var(--violet-2); transform: rotate(-6deg); }

/* ---------- Méthode : chemin dessiné au défilement ---------- */
.path-wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.path-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.path-svg path { fill: none; stroke: var(--lilac); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; }
.path-svg .mask-line { stroke: #fff; stroke-dasharray: none; stroke-width: 8; }
.steps { position: relative; display: grid; gap: 70px; list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: center; width: min(520px, 100%); }
.step:nth-child(even) { margin-left: auto; }
.step .n { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); font: 800 34px var(--display); color: var(--c); box-shadow: inset 0 0 0 3px var(--c), 0 0 0 8px var(--ink); transform: scale(0.6); opacity: 0; transition: transform 0.6s var(--spring), opacity 0.4s; }
.step.in .n { transform: none; opacity: 1; }
.step h3 { margin: 0 0 4px; font: 700 22px/1.2 var(--display); }
.step p { margin: 0; color: var(--muted); }
.step .hand { color: var(--c); font-size: 21px; display: block; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 7px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s; }
.faq details[open] { background: var(--ink-3); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font: 700 18px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--lilac); border-bottom: 3px solid var(--lilac); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--spring); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 24px 22px; color: var(--muted); }
.faq .a p { margin: 0; }

/* ---------- Commander : le colis s'ouvre ---------- */
.deliver { padding: 40px 0 120px; overflow: hidden; }
.parcel-stage { position: relative; width: min(620px, 100%); margin: 0 auto; padding-top: var(--rise, 300px); }
.parcel { position: relative; aspect-ratio: 1.55; perspective: 1200px; }
.parcel .back { position: absolute; inset: 0; border-radius: 6px; background: #9a6b43; box-shadow: inset 0 0 0 3px #3b2414; }
.parcel .front { position: absolute; inset: 0; z-index: 4; border-radius: 6px; background: linear-gradient(180deg, #c48a55, #b47a46); box-shadow: inset 0 0 0 3px #3b2414, 0 40px 70px rgba(0, 0, 0, 0.5); clip-path: polygon(0 18%, 100% 18%, 100% 100%, 0 100%); }
.parcel .front::before { content: ''; position: absolute; left: 50%; top: 18%; bottom: 0; width: 60px; transform: translateX(-50%); background: rgba(255, 236, 200, 0.35); }
.parcel .label { position: absolute; z-index: 5; left: 9%; bottom: 14%; width: 38%; padding: 10px 12px; background: #f6f3e8; color: #3b2414; border-radius: 4px; transform: rotate(-3deg); font-size: 13px; line-height: 1.3; box-shadow: 0 0 0 2px #3b2414; }
.parcel .label b { display: block; font: 700 22px/1 var(--hand); }
.parcel .stamp { position: absolute; z-index: 5; right: 9%; bottom: 16%; padding: 6px 12px; border: 3px solid #b3261e; color: #b3261e; border-radius: 8px; font: 800 15px/1 var(--display); letter-spacing: 0.12em; transform: rotate(8deg); opacity: 0.85; }
.flap { position: absolute; top: 18%; height: 38%; width: 50%; z-index: 6; background: linear-gradient(180deg, #d39963, #c48a55); box-shadow: inset 0 0 0 3px #3b2414; transform-origin: 50% 0; backface-visibility: visible; transition: transform 0.1s linear; }
.flap.l { left: 0; border-radius: 4px 0 0 4px; transform: rotateX(calc(var(--fa, 0) * 1deg)) rotateY(calc(var(--fa, 0) * -0.12deg)); }
.flap.r { right: 0; border-radius: 0 4px 4px 0; transform: rotateX(calc(var(--fa, 0) * 1deg)) rotateY(calc(var(--fa, 0) * 0.12deg)); }
.parcel.open .flap { z-index: 1; }
.letter { position: absolute; z-index: 3; left: 6%; right: 6%; bottom: 22%; padding: 34px 34px 30px; border-radius: 5px; background: var(--paper); color: var(--paper-ink); text-align: center; transform: translateY(var(--ly, 0px)); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.letter .hand { display: block; font-size: 27px; color: var(--violet-2); transform: rotate(-2deg); }
.letter h2 { margin: 6px 0 10px; font: 800 clamp(1.6rem, 3.6vw, 2.3rem)/1.1 var(--display); letter-spacing: -0.02em; }
.letter p { margin: 0 0 22px; color: #44506e; }
.letter .row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.letter .link { color: var(--paper-ink); }
.letter .stampimg { position: absolute; right: 18px; top: -18px; width: 66px; height: 66px; border-radius: 10px; background: var(--grad); transform: rotate(8deg); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(0, 0, 0, 0.15); overflow: hidden; }
.letter .stampimg img { width: 82%; }

/* ---------- Pied de page ---------- */
.foot { position: relative; background: #06070b; padding: 80px 0 30px; margin-top: 60px; }
.foot .wave-top { position: absolute; left: 0; right: 0; top: -60px; height: 62px; }
.foot .wave-top svg { width: 100%; height: 100%; }
.ftop { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.ftop .hand { color: var(--lilac); font-size: 25px; display: block; transform: rotate(-3deg); margin-bottom: 8px; }
.ftop p { color: var(--muted); max-width: 340px; }
.ftop h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.ftop h4::after { content: ''; display: block; width: 26px; height: 6px; margin-top: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 6'%3E%3Cpath d='M1 3c3-3 5 3 8 0s5 3 8 0 5 3 8 0' fill='none' stroke='%23d38ae6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.ftop ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftop ul a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.ftop ul a:hover { color: #fff; }
.fbot { margin-top: 50px; padding-top: 22px; border-top: 2px dashed var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.fbot a { color: var(--muted); }

/* ---------- Fenêtre de projet ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(8, 5, 14, 0.7); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.modal.on { opacity: 1; pointer-events: auto; }
.modal .sheet { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 11px; background: var(--ink-2); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6); transform: translateY(30px) scale(0.97); transition: transform 0.45s var(--spring); overscroll-behavior: contain; }
.modal.on .sheet { transform: none; }
.modal .x { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); cursor: pointer; display: grid; place-items: center; }
.modal .x svg { width: 20px; height: 20px; }
.modal .mh { padding: 36px 40px 10px; background: var(--c); }
.modal .mh h3 { margin: 6px 0 4px; font: 800 36px/1.05 var(--display); letter-spacing: -0.02em; }
.modal .mh p { margin: 0 0 20px; color: rgba(255, 255, 255, 0.86); max-width: 640px; }
.modal .media { margin: 0 -40px; padding: 0 40px 30px; }
.modal .media video, .modal .media img { width: 100%; border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); background: #000; }
.modal .mb { padding: 30px 40px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; }
.modal h4 { margin: 0 0 12px; font: 700 13px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.modal .gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.modal .gal img { border-radius: 5px; cursor: zoom-in; transition: transform 0.3s var(--spring); }
.modal .gal img:hover { transform: scale(1.03); }
.modal .skill { padding: 18px 20px; border-radius: 7px; background: var(--ink-3); }
.modal .skill p { margin: 0; color: var(--muted); font-size: 15px; }
.modal .skill .hand { font-size: 24px; color: var(--lilac); }
.zoom { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.85); cursor: zoom-out; }
.zoom img { max-height: 92vh; border-radius: 6px; }

/* Petit message flottant */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 26px; z-index: 100; padding: 14px 20px; border-radius: 6px; background: #fff; color: #10121b; font-weight: 700; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); transform: translate(-50%, 140%); transition: transform 0.45s var(--spring); }
.toast.on { visibility: visible; transform: translate(-50%, 0); }
.toast.err { background: #ffe3e3; color: #7a1414; }


/* ---------- Démo interactive (fausse fenêtre Discord) ---------- */
.demo { max-width: 1040px; margin: 0 auto; }
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.demo-tabs button { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border: 0; border-radius: 6px; background: var(--ink-2); cursor: pointer; font-weight: 700; box-shadow: inset 0 0 0 2px var(--line); transition: transform 0.25s var(--spring), background 0.2s, box-shadow 0.2s; }
.demo-tabs button:hover { transform: translateY(-2px); }
.demo-tabs button[disabled] { opacity: 0.55; cursor: wait; transform: none; }
.demo-tabs button .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #090a10; }
.demo-tabs button .ico svg { width: 18px; height: 18px; }
.demo-tabs button[aria-selected='true'] { background: var(--ink-3); box-shadow: inset 0 0 0 2px var(--c); }
.dc-win { display: grid; grid-template-columns: 230px 1fr; height: 560px; border-radius: 9px; overflow: hidden; background: #313338; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06); font-size: 15px; }
.dc-side { display: grid; grid-template-columns: 64px 1fr; background: #2b2d31; }
.dc-guilds { background: #1e1f22; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 12px; }
.dc-guilds i { width: 44px; height: 44px; border-radius: 50%; background: #313338; display: grid; place-items: center; font: 800 18px var(--display); font-style: normal; }
.dc-guilds i.on { border-radius: 6px; background: var(--grad); color: #090a10; }
.dc-chans { padding: 16px 10px; color: #949ba4; }
.dc-chans b { display: block; color: #f2f3f5; margin: 0 6px 14px; }
.dc-chans span { display: grid; gap: 2px; }
.dc-chans em { font-style: normal; padding: 6px 10px; border-radius: 6px; }
.dc-chans em.on { background: #404249; color: #fff; }
.dc-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dc-head { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-bottom: 1px solid #26272b; flex: none; }
.dc-head .hash { color: #80848e; font-size: 22px; }
.dc-head small { color: #949ba4; margin-left: 10px; padding-left: 12px; border-left: 1px solid #3f4147; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.dc-log .empty-log { margin: auto; text-align: center; color: #949ba4; }
.dc-log .empty-log .hand { display: block; color: var(--lilac); font-size: 24px; }
.m { display: flex; gap: 14px; animation: msgIn 0.35s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.m .av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--c, #5865f2); }
.m .who-line { display: flex; align-items: baseline; gap: 8px; }
.m .who-line b { color: var(--c, #fff); }
.m .who-line i { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; }
.m .who-line small { color: #949ba4; font-size: 12px; }
.m .txt { color: #dbdee1; line-height: 1.4; }
.m .slash { color: #cfd8ff; background: rgba(88, 101, 242, 0.25); padding: 1px 6px; border-radius: 4px; font-family: ui-monospace, monospace; font-size: 14px; }
.m .sys { color: #949ba4; font-size: 14px; }
.m .sys b { color: var(--mint); }
.emb { margin-top: 6px; max-width: 460px; padding: 14px 16px; border-radius: 8px; background: #2b2d31; border-left: 4px solid var(--c, var(--lilac)); }
.emb h5 { margin: 0 0 6px; font-size: 15px; color: #fff; }
.emb p { margin: 0; color: #dbdee1; font-size: 14px; line-height: 1.45; }
.emb .row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.emb .row span { padding: 6px 12px; border-radius: 4px; background: #4e5058; font-size: 13px; font-weight: 600; }
.emb .row span.primary { background: #5865f2; }
.emb .row span.success { background: #248046; }
.emb ol { margin: 4px 0 0; padding-left: 20px; color: #dbdee1; font-size: 14px; }
.emb .bar { height: 6px; border-radius: 6px; background: #4e5058; margin: 10px 0 4px; overflow: hidden; }
.emb .bar i { display: block; height: 100%; width: var(--w, 30%); background: var(--c, var(--lilac)); }
.emb .times { display: flex; justify-content: space-between; color: #949ba4; font-size: 12px; }
.emb .img { float: right; width: 92px; margin: -4px -6px 0 10px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.4)); }
.wheel { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-right: 10px; font: 800 20px var(--display); color: #fff; vertical-align: middle; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.25); }
.wheel.rouge { background: #d83c3e; } .wheel.noir { background: #1e1f22; } .wheel.vert { background: #248046; }
.typing { color: #949ba4; font-size: 13px; padding: 0 18px 4px; height: 20px; }
.dc-cmds { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px 0; }
.dc-cmds button { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 8px; background: #2b2d31; color: #dbdee1; cursor: pointer; font: 600 14px var(--body); box-shadow: inset 0 0 0 1px #3f4147; transition: background 0.2s, transform 0.2s var(--spring); }
.dc-cmds button:hover { background: #404249; transform: translateY(-2px); }
.dc-cmds button b { color: #cfd8ff; font-family: ui-monospace, monospace; }
.dc-cmds button[disabled] { opacity: 0.5; cursor: wait; transform: none; }
.dc-input { margin: 10px 18px 18px; padding: 13px 16px; border-radius: 10px; background: #383a40; color: #6d6f78; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-input.on { color: #dbdee1; }
.demo-note { margin: 22px 0 0; text-align: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.demo-note .hand { color: var(--lilac); font-size: 24px; }

/* ---------- Journal de bord ---------- */
.journal { max-width: 760px; margin: 60px auto 0; }
.journal h3 { margin: 0 0 22px; font: 800 26px/1.1 var(--display); text-align: center; }
.journal h3 .hand { display: block; color: var(--lilac); font-size: 22px; transform: rotate(-2deg); }
.journal ol { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 16px; }
.journal ol::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 2px dashed var(--line-2); }
.journal li { position: relative; padding: 16px 20px; border-radius: 6px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.journal li::before { content: ''; position: absolute; left: -25px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 3px var(--lilac); }
.journal li:first-child::before { background: var(--lilac); }
.journal .top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.journal .v { padding: 2px 9px; border-radius: 6px; background: rgba(211, 138, 230, 0.15); color: var(--lilac); font-size: 13px; font-weight: 800; }
.journal .top b { font: 700 17px var(--display); }
.journal .top small { margin-left: auto; color: var(--dim); }
.journal p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { padding: 24px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.review:nth-child(odd) { transform: rotate(-0.6deg); } .review:nth-child(even) { transform: rotate(0.6deg); }
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 18px; }
.review p { margin: 0; color: #dfe3f0; flex: 1; }
.review .by { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.review .by img, .review .by span.ph { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #090a10; font-weight: 800; }

@media (max-width: 900px) {
  .dc-win { grid-template-columns: 1fr; height: 600px; }
  .dc-side { display: none; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dc-win { height: 560px; border-radius: 7px; }
  .dc-head small { display: none; }
  .dc-log { padding: 12px; }
  .dc-cmds { padding: 8px 12px 0; }
  .dc-input { margin: 8px 12px 12px; }
  .demo-tabs button { padding: 8px 14px 8px 8px; font-size: 14px; }
  .journal .top small { margin-left: 0; width: 100%; }
}


/* =================== V2 =================== */
/* ---------- Aperçu de style (palette + direction artistique) ---------- */
.pv { --p: #4d7bff; --s: #c8ff3a; --a: #ffd166; border-radius: 8px; overflow: hidden; background: #313338; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.pv-banner { position: relative; height: 150px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 22px; color: #fff; overflow: hidden; transition: background 0.4s; }
.pv-banner b { font: 800 30px/1 var(--display); letter-spacing: -0.02em; position: relative; z-index: 1; }
.pv-banner small { position: relative; z-index: 1; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; opacity: 0.9; }
.pv-banner .deco { position: absolute; inset: 0; pointer-events: none; }
.pv-body { padding: 16px 18px 18px; display: flex; gap: 14px; }
.pv-av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--s)); display: grid; place-items: center; font: 800 18px var(--display); color: #fff; }
.pv-msg { flex: 1; min-width: 0; }
.pv-msg .who-line { display: flex; gap: 8px; align-items: baseline; font-size: 15px; }
.pv-msg .who-line b { color: var(--p); }
.pv-msg .who-line .pv-name { color: var(--p); }
.pv-msg .who-line i { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; }
.pv-emb { margin-top: 6px; padding: 14px 16px; border-radius: 8px; background: #2b2d31; border-left: 4px solid var(--p); color: #dbdee1; font-size: 14px; }
.pv-emb h5 { margin: 0 0 6px; color: #fff; font-size: 15px; }
.pv-emb .stat { display: inline-block; margin: 8px 8px 0 0; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.pv-emb .stat b { color: var(--a); }
.pv-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pv-btns span { padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #fff; background: #4e5058; }
.pv-btns span.p { background: var(--p); }
.pv-btns span.s { background: var(--s); color: #090a10; }
/* Directions artistiques */
.pv[data-style='pro'] .pv-banner { background: linear-gradient(135deg, var(--p), var(--s)); }
.pv[data-style='gaming'] .pv-banner { background: linear-gradient(115deg, var(--p) 0 55%, var(--s) 55% 100%); }
.pv[data-style='gaming'] .pv-banner b { font-style: italic; text-transform: uppercase; text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45); }
.pv[data-style='gaming'] .deco { background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.1) 18px 22px); }
.pv[data-style='futuriste'] .pv-banner { background: radial-gradient(400px 120px at 80% 0%, color-mix(in srgb, var(--p) 55%, transparent), transparent), #06070f; }
.pv[data-style='futuriste'] .deco { background-image: linear-gradient(color-mix(in srgb, var(--p) 35%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--p) 35%, transparent) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(transparent, #000); }
.pv[data-style='futuriste'] .pv-banner b { color: var(--a); font-family: ui-monospace, monospace; letter-spacing: 0.06em; text-shadow: 0 0 14px var(--p), 0 0 30px var(--p); }
.pv[data-style='kawaii'] .pv-banner { background: color-mix(in srgb, var(--p) 35%, #fff); color: #4a2a4f; }
.pv[data-style='kawaii'] .deco { background-image: radial-gradient(color-mix(in srgb, var(--s) 60%, #fff) 3px, transparent 4px); background-size: 20px 20px; }
.pv[data-style='kawaii'] .pv-banner b { font-family: var(--hand); font-size: 40px; color: color-mix(in srgb, var(--p) 70%, #3b1f40); }
.pv[data-style='kawaii'] .pv-banner b::after { content: ' ♡'; color: var(--s); }
.pv[data-style='fantasy'] .pv-banner { background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--p) 40%, transparent), transparent 70%), #f1e2c2; color: #3b2a14; box-shadow: inset 0 0 50px rgba(90, 60, 20, 0.45); }
.pv[data-style='fantasy'] .pv-banner b { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: color-mix(in srgb, var(--p) 60%, #2b1c0a); }
.pv[data-style='fantasy'] .deco { border: 4px double color-mix(in srgb, var(--s) 70%, #7a5a2a); margin: 8px; border-radius: 6px; }
.pv[data-style='minimal'] .pv-banner { background: #f6f6f4; color: #111; }
.pv[data-style='minimal'] .deco { border-bottom: 4px solid var(--p); }
.pv[data-style='minimal'] .pv-banner b { font-weight: 600; letter-spacing: -0.03em; }
.pv[data-style='retro'] .pv-banner { background: conic-gradient(var(--p) 25%, var(--s) 0 50%, var(--p) 0 75%, var(--s) 0) 0 0 / 24px 24px; image-rendering: pixelated; }
.pv[data-style='retro'] .pv-banner b { font-family: ui-monospace, 'Courier New', monospace; text-transform: uppercase; background: #111; padding: 6px 10px; width: max-content; box-shadow: 4px 4px 0 var(--a); }
.pv[data-style='luxe'] .pv-banner { background: radial-gradient(500px 140px at 50% 0%, #222, #050505); color: var(--p); }
.pv[data-style='luxe'] .pv-banner b { font-family: Georgia, serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.22em; font-size: 24px; color: var(--p); }
.pv[data-style='luxe'] .deco { border: 1px solid color-mix(in srgb, var(--p) 60%, transparent); margin: 10px; }

.mini-title { margin: 0 0 12px; font: 700 18px var(--display); }
/* Choix de palette */
.palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pal { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 0; border-radius: 6px; background: var(--ink-3); cursor: pointer; text-align: left; font-weight: 700; box-shadow: inset 0 0 0 2px transparent; transition: transform 0.25s var(--spring), box-shadow 0.2s; }
.pal:hover { transform: translateY(-2px); }
.pal[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--lilac); }
.pal .dots { display: flex; }
.pal .dots i { width: 28px; height: 28px; border-radius: 50%; margin-right: -6px; box-shadow: 0 0 0 3px var(--ink-3); }
.custom-colors { display: none; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding: 16px; border-radius: 6px; background: var(--ink); }
.custom-colors.on { display: flex; }
.custom-colors label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.custom-colors input[type='color'] { width: 44px; height: 44px; border: 0; border-radius: 5px; padding: 0; background: none; cursor: pointer; }
.custom-colors input[type='color']::-webkit-color-swatch-wrapper { padding: 0; }
.custom-colors input[type='color']::-webkit-color-swatch { border: 2px solid var(--line-2); border-radius: 5px; }
.custom-colors code { font-size: 13px; color: var(--muted); }
/* Choix de direction artistique */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sty { padding: 0; border: 0; border-radius: 6px; background: var(--ink-3); cursor: pointer; text-align: left; overflow: hidden; box-shadow: inset 0 0 0 2px transparent; transition: transform 0.25s var(--spring), box-shadow 0.2s; }
.sty:hover { transform: translateY(-2px); }
.sty[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--lilac), 0 0 0 2px var(--lilac); }
.sty .pv { border-radius: 0; box-shadow: none; pointer-events: none; }
.sty .pv-body { display: none; }
.sty .pv-banner { height: 64px; padding: 10px 12px; }
.sty .pv-banner b { font-size: 16px; }
.sty[data-id='kawaii'] .pv-banner b { font-size: 22px; }
.sty .pv-banner small { display: none; }
.sty .txt { padding: 10px 12px 12px; }
.sty .txt b { display: block; font: 700 15px var(--display); }
.sty .txt span { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.style-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.style-grid .sticky { position: sticky; top: 100px; }
.style-grid .sticky .hand { display: block; color: var(--lilac); font-size: 22px; margin-bottom: 8px; }

/* Images du client */
.drop { position: relative; display: grid; place-items: center; gap: 6px; padding: 26px; border-radius: 7px; border: 2px dashed var(--line-2); background: var(--ink); text-align: center; color: var(--muted); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.drop:hover, .drop.over { border-color: var(--lilac); background: rgba(211, 138, 230, 0.06); }
.drop svg { width: 34px; height: 34px; color: var(--lilac); }
.drop b { color: var(--text); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { position: relative; width: 92px; height: 92px; border-radius: 6px; overflow: hidden; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.7); color: #fff; cursor: pointer; display: grid; place-items: center; }
.thumb button svg { width: 14px; height: 14px; }
.thumb.loading::after { content: ''; position: absolute; inset: 0; background: rgba(9, 10, 16, 0.6) linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) 0 0 / 200% 100%; animation: shimmer 1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Non lus et suivi */
.unread-banner { display: none; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding: 16px 18px; border-radius: 7px; background: linear-gradient(135deg, rgba(143, 124, 247, 0.22), rgba(211, 138, 230, 0.18)); box-shadow: inset 0 0 0 1px rgba(211, 138, 230, 0.45); }
.unread-banner.on { display: flex; }
.unread-banner .ic { width: 42px; height: 42px; border-radius: 5px; display: grid; place-items: center; background: var(--lilac); color: #090a10; flex: none; }
.unread-banner .ic svg { width: 22px; height: 22px; }
.unread-banner p { margin: 0; flex: 1; min-width: 200px; }
.tabs .count.alert { background: #f23f43; }
.new-pill { padding: 4px 10px; border-radius: 6px; background: #f23f43; color: #fff; font-size: 12px; font-weight: 800; }
.order.has-new { box-shadow: inset 0 0 0 2px #f23f43; }
.bubble.skyox.fresh { box-shadow: inset 0 0 0 2px var(--lilac); }
.who .badge-dot, .brand .badge-dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #f23f43; box-shadow: 0 0 0 2px #fff; }
.who { position: relative; }
.quote-box { margin: 0 0 18px; padding: 18px; border-radius: 7px; background: rgba(255, 209, 102, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.4); }
.quote-box h4 { margin: 0 0 6px; font: 700 18px var(--display); }
.quote-box p { margin: 0 0 14px; white-space: pre-wrap; }
.quote-box .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quote-box textarea { width: 100%; margin-top: 10px; min-height: 70px; padding: 12px 14px; border-radius: 5px; border: 0; background: var(--ink-2); color: var(--text); font: inherit; box-shadow: inset 0 0 0 2px var(--line-2); }
.quote-box.ok { background: rgba(94, 211, 154, 0.1); box-shadow: inset 0 0 0 1px rgba(94, 211, 154, 0.4); }
.order .specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.order .specs span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; background: var(--ink-2); font-size: 13px; }
.order .specs i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.order .imgs { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; }
.order .imgs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.join-hint { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 6px; background: rgba(88, 101, 242, 0.14); margin-bottom: 18px; }
.join-hint p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }

/* Compte */
.account { display: grid; gap: 14px; max-width: 720px; }
.account .row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 7px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.account .row div { flex: 1; min-width: 220px; }
.account .row b { display: block; font: 700 17px var(--display); }
.account .row span { color: var(--muted); font-size: 14px; }
.account .danger { box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.4); }
.account .danger input { padding: 10px 12px; border-radius: 10px; border: 0; background: var(--ink-2); color: var(--text); font: inherit; box-shadow: inset 0 0 0 2px var(--line-2); width: 150px; }
.btn.red { --bg: #da373c; --fg: #fff; }
.blocked-note { padding: 16px 18px; border-radius: 6px; background: rgba(248, 113, 113, 0.12); color: #ffb3b3; margin-bottom: 20px; }
.gate .join { display: flex; align-items: flex-start; gap: 10px; max-width: 420px; margin: 18px auto 0; text-align: left; font-size: 14px; color: var(--muted); cursor: pointer; }
.gate .join input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--lilac); flex: none; }

/* Disponibilité + barre d'appel à l'action */
.avail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 6px; background: rgba(4, 8, 40, 0.3); font-size: 14px; }
.avail .dot.busy { background: var(--orange); box-shadow: 0 0 0 3px rgba(255, 154, 77, 0.2); }
.avail .dot.closed { background: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2); }
.cta-bar { position: fixed; left: 50%; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 6px; background: rgba(16, 18, 27, 0.96); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--line-2); transform: translate(-50%, 150%); transition: transform 0.45s var(--spring); max-width: calc(100% - 24px); }
.cta-bar.on { transform: translate(-50%, 0); }
.cta-bar span { font-weight: 600; white-space: nowrap; }
.cta-bar .btn { padding: 11px 18px; font-size: 15px; white-space: nowrap; }
.cta-bar .x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); cursor: pointer; display: grid; place-items: center; flex: none; }
.cta-bar .x svg { width: 14px; height: 14px; }
.demo-order { display: flex; justify-content: center; margin-top: 14px; }

@media (max-width: 900px) {
  .style-grid { grid-template-columns: 1fr; }
  .style-grid .sticky { position: static; order: -1; }
  .styles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cta-bar span { display: none; }
  .cta-bar { padding: 8px; }
  .palettes { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- Formules ---------- */
.offer-tabs { display: flex; justify-content: center; gap: 8px; margin: -24px 0 30px; }
.offer-tabs button { padding: 11px 20px; border: 0; border-radius: 6px; background: var(--ink-2); color: var(--muted); font: 700 16px var(--body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: 0.2s var(--ease); }
.offer-tabs button[aria-pressed='true'] { background: var(--lilac); color: #090a10; box-shadow: none; }
.offers.two { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.offers[hidden] { display: none; }
.offers.show { animation: popIn 0.4s var(--ease); }
.offer-note { grid-column: 1 / -1; max-width: 760px; margin: 6px auto 0; text-align: center; color: var(--muted); }
.offer-note b { color: var(--text); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.offer { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: 10px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.offer.best { background: linear-gradient(180deg, rgba(143, 124, 247, 0.16), var(--ink-2) 55%); box-shadow: inset 0 0 0 2px var(--lilac), 0 30px 60px rgba(0, 0, 0, 0.35); transform: translateY(-8px); }
.offer .tag { align-self: flex-start; padding: 4px 12px; border-radius: 6px; background: var(--ink-3); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.offer.best .tag { background: var(--lilac); color: #090a10; }
.offer h3 { margin: 0; font: 800 24px/1.1 var(--display); }
.offer .price { margin: 0; font: 800 28px/1.1 var(--display); color: var(--yellow); }
.offer .checks { flex: 1; }
.offer .btn { justify-content: center; }
.tokens-note { display: flex; gap: 18px; align-items: flex-start; max-width: 860px; margin: 34px auto 0; padding: 20px 24px; border-radius: 8px; background: rgba(255, 209, 102, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.3); }

.tokens-note b { color: var(--text); }
.tokens-note p { margin: 4px 0 0; color: var(--muted); }
/* Fiche de suivi : mes bots et jetons */
.plans { display: grid; gap: 16px; }
.plan { padding: 22px; border-radius: 9px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.plan .top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.plan h3 { margin: 0; font: 700 21px var(--display); }
.plan .top small { color: var(--dim); display: block; }
.plan .due { margin-left: auto; padding: 6px 13px; border-radius: 6px; font-size: 13px; font-weight: 800; }
.plan .due.ok { background: rgba(94, 211, 154, 0.15); color: var(--mint); }
.plan .due.soon { background: rgba(255, 154, 77, 0.15); color: var(--orange); }
.plan .due.late { background: rgba(248, 113, 113, 0.15); color: var(--red); }
.plan .due.off { background: var(--ink-3); color: var(--dim); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px; border-radius: 6px; font: 700 12px var(--body); vertical-align: middle; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.live-dot.on { color: var(--mint); background: rgba(94, 211, 154, 0.12); }
.live-dot.off { color: var(--red); background: rgba(248, 113, 113, 0.12); }
.plan-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.plan-actions span { color: var(--dim); font-size: 13px; }
.btn.small { padding: 9px 14px; font-size: 14px; }
.coins { display: flex; align-items: center; gap: 10px; margin: 16px 0; font-weight: 700; }
.coin-i { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; font: 800 15px/1 var(--display); color: #7a4b00; background: radial-gradient(circle at 35% 30%, #f0ffa0, #ffd166 45%, #e0a526 100%); box-shadow: inset 0 -3px 0 rgba(122, 75, 0, 0.35), 0 0 0 2px #b9851a, 0 4px 10px rgba(255, 209, 102, 0.25); }
.coin-i.off { background: var(--ink-3); color: var(--dim); box-shadow: inset 0 0 0 2px var(--line-2); }
.coin-i.big { width: 46px; height: 46px; font-size: 22px; }
.tabs .count.gold, .count.gold { background: #ffd166; color: #5a3a00; }
.token-form { display: grid; gap: 10px; padding: 16px; border-radius: 6px; background: var(--ink-2); }
.token-form textarea { min-height: 80px; padding: 12px 14px; border-radius: 5px; border: 0; background: var(--ink); color: var(--text); font: inherit; box-shadow: inset 0 0 0 2px var(--line-2); resize: vertical; }
.pack-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; padding: 14px 16px; border-radius: 6px; background: rgba(94, 211, 154, 0.08); box-shadow: inset 0 0 0 1px rgba(94, 211, 154, 0.3); }
.pack-row div { flex: 1; min-width: 220px; }
.pack-row b { display: block; }
.pack-row span { color: var(--muted); font-size: 14px; }
.pack-row .st { margin-left: auto; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--ink-3); color: var(--text); }
.reqs { display: grid; gap: 8px; margin-top: 14px; }
.req { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 6px; background: var(--ink-2); font-size: 14px; }
.req b { display: block; }
.req p { margin: 2px 0 0; color: var(--muted); white-space: pre-wrap; word-break: break-word; }
.req .st { margin-left: auto; white-space: nowrap; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--ink-3); }
.formulas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formula { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 0; border-radius: 7px; background: var(--ink-3); cursor: pointer; text-align: left; box-shadow: inset 0 0 0 2px transparent; transition: 0.2s var(--ease); }
.formula b { font: 700 17px var(--display); }
.formula span { color: var(--muted); font-size: 14px; }
.formula[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--lilac); background: #1d2336; }
@media (max-width: 900px) { .offers, .offers.two { grid-template-columns: 1fr; } .offer.best { transform: none; } .formulas { grid-template-columns: 1fr; } }


/* ---------- Filtres des réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px 0 36px; }
.filters button { padding: 9px 16px; border: 0; border-radius: 6px; background: var(--ink-2); cursor: pointer; font-weight: 700; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: 0.2s var(--ease); }
.filters button span { margin-left: 4px; padding: 1px 7px; border-radius: 6px; background: var(--ink-3); font-size: 12px; }
.filters button[aria-pressed='true'] { background: var(--lilac); color: #090a10; box-shadow: none; }
.filters button[aria-pressed='true'] span { background: rgba(26, 16, 38, 0.15); }
.fiche.hidden { display: none; }
.fiche.pop { animation: popIn 0.45s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
/* ---------- Calculateur ---------- */
.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; max-width: 980px; margin: 40px auto 0; }
.calc-in, .calc-out { padding: 24px; border-radius: 9px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.calc h3 { margin: 0 0 16px; font: 800 24px/1.15 var(--display); }
.calc h3 .hand { display: block; color: var(--lilac); font-size: 22px; transform: rotate(-2deg); }
.stepper { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line-2); }
.stepper div { flex: 1; }
.stepper b { display: block; }
.stepper span { color: var(--dim); font-size: 13px; }
.stepper button { width: 38px; height: 38px; border: 0; border-radius: 5px; background: var(--ink-3); color: var(--text); font: 800 20px var(--body); cursor: pointer; transition: transform 0.2s var(--spring), background 0.2s; }
.stepper button:hover { background: #1d2336; transform: scale(1.08); }
.stepper output { min-width: 28px; text-align: center; font: 800 20px var(--display); }
.calc-out { display: grid; align-content: center; gap: 2px; background: linear-gradient(160deg, rgba(143, 124, 247, 0.18), var(--ink-2) 70%); }
.calc-out span { color: var(--muted); font-size: 14px; margin-top: 10px; }
.calc-out b { font: 800 34px/1.1 var(--display); color: var(--yellow); }
.calc-out b small { font-size: 16px; color: var(--muted); }
.calc-out p { margin: 14px 0 0; color: var(--dim); font-size: 13px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nums { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .num:nth-child(3)::before { display: none; }
  .ftop { grid-template-columns: repeat(2, 1fr); }
  .ftop > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero { padding: 120px 0 170px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stack { height: 440px; max-width: 420px; margin: 20px auto 0; width: 100%; }
  .profile { width: min(340px, 90%); }
  .msg { width: min(290px, 80%); }
  .projects { grid-template-columns: 1fr; }
  .modal .mb { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .notebook { padding: 36px 24px 40px 70px; }
  .notebook::before { left: 50px; }
  .notebook .holes { left: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 70px 0; }
  .services { grid-template-columns: 1fr; }
  .svc.wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .svc.wide .btn { margin-left: 0; }
  .nums { grid-template-columns: 1fr 1fr; }
  .num + .num::before { display: none; }
  .botlist { grid-template-columns: 1fr; }
  .hero .note.me { display: none; }
  .invite .cp { display: none; }
  .live { margin: 14px 0 0; }
  .card .top { height: 220px; }
  .modal .mh, .modal .mb { padding-left: 22px; padding-right: 22px; }
  .modal .media { margin: 0 -22px; padding: 0 22px 22px; }
  .modal .mh h3 { font-size: 28px; }
  .letter { padding: 26px 18px 22px; left: 3%; right: 3%; }
  .parcel .label, .parcel .stamp { display: none; }
  .ftop { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; gap: 16px; }
  .step .n { width: 64px; height: 64px; font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .card { clip-path: none; }
  .doodles { display: none; }
}

/* =================== Espace client =================== */
.space-head { position: relative; padding: 130px 0 120px; background: radial-gradient(900px 400px at 90% 0%, #6f8cff, transparent 60%), var(--violet); overflow: hidden; }
.space-head .wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.space-head .me { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 800 34px var(--display); overflow: hidden; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25); flex: none; }
.space-head .me img { width: 100%; height: 100%; object-fit: cover; }
.space-head h1 { margin: 0; font: 800 clamp(2rem, 4.6vw, 3.2rem)/1.05 var(--display); letter-spacing: -0.03em; }
.space-head p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.85); }
.space-head .out { margin-left: auto; }
.space { position: relative; z-index: 4; margin-top: -60px; padding-bottom: 60px; }
.panel { border-radius: 11px; background: var(--ink-2); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), inset 0 0 0 1px var(--line); padding: 34px; }
.gate { max-width: 640px; margin: 0 auto; text-align: center; padding: 50px 34px; }
.gate .big { width: 86px; height: 86px; margin: 0 auto 20px; border-radius: 10px; background: #5865f2; display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); }
.gate .big svg { width: 48px; height: 48px; color: #fff; }
.gate h2 { margin: 0 0 10px; font: 800 32px/1.1 var(--display); }
.gate p { color: var(--muted); margin: 0 auto 26px; max-width: 460px; }
.gate .promise { display: grid; gap: 10px; text-align: left; max-width: 400px; margin: 30px auto 0; }
.gate .promise div { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; }
.gate .promise svg { width: 22px; height: 22px; color: var(--mint); flex: none; }

.tabs { display: flex; gap: 8px; margin-bottom: 28px; padding: 6px; border-radius: 7px; background: var(--ink); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; }
.tabs button { padding: 12px 20px; border: 0; border-radius: 5px; background: none; cursor: pointer; font-weight: 700; color: var(--muted); transition: background 0.25s, color 0.25s; display: flex; align-items: center; gap: 8px; }
.tabs button[aria-selected='true'] { background: var(--ink-3); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs .count { min-width: 22px; padding: 1px 7px; border-radius: 6px; background: var(--violet); color: #fff; font-size: 12px; }

/* Assistant de commande */
.wizard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.progress { position: relative; flex: 1; display: flex; justify-content: space-between; align-items: center; }
.progress::before, .progress .fill { content: ''; position: absolute; left: 16px; right: 16px; top: 50%; height: 3px; border-radius: 3px; background: var(--line-2); transform: translateY(-50%); }
.progress .fill { right: auto; width: calc((100% - 32px) * var(--p, 0)); background: var(--grad); transition: width 0.5s var(--ease); }
.progress span { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--dim); font-weight: 800; font-size: 14px; box-shadow: inset 0 0 0 2px var(--line-2); transition: 0.3s var(--ease); }
.progress span.done { background: var(--lilac); color: #090a10; box-shadow: none; }
.progress span.cur { background: #fff; color: #090a10; box-shadow: 0 0 0 5px rgba(211, 138, 230, 0.35); }
.step-pane { display: none; animation: paneIn 0.45s var(--ease); }
.step-pane.on { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateX(16px); } }
.step-pane h2 { margin: 0 0 6px; font: 800 28px/1.15 var(--display); }
.step-pane .help { margin: 0 0 24px; color: var(--muted); }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.type { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border: 0; border-radius: 7px; background: var(--ink-3); cursor: pointer; text-align: left; box-shadow: inset 0 0 0 2px transparent; transition: transform 0.3s var(--spring), box-shadow 0.25s, background 0.25s; }
.type:hover { transform: translateY(-3px); background: #1d2336; }
.type .ico { width: 44px; height: 44px; border-radius: 5px; display: grid; place-items: center; background: var(--c); color: #090a10; transform: rotate(-4deg); }
.type .ico svg { width: 24px; height: 24px; }
.type b { font: 700 16px/1.25 var(--display); }
.type[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--lilac); background: #1d2336; }
.type[aria-pressed='true']::after { content: '✓'; position: absolute; right: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--lilac); color: #090a10; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-weight: 700; }
.field label small { font-weight: 500; color: var(--dim); margin-left: 6px; }
.field input, .field textarea { width: 100%; padding: 15px 18px; border-radius: 6px; border: 0; background: var(--ink); color: var(--text); font: 400 16px/1.5 var(--body); box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow 0.2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lilac); }
.field textarea { min-height: 170px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.label-row .pill { padding: 6px 12px; font-size: 13px; }
.field .meta { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; }
.field .meta .hand { font-size: 19px; color: var(--lilac); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 10px 16px; border: 0; border-radius: 6px; background: var(--ink-3); cursor: pointer; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 2px transparent; transition: 0.2s var(--ease); }
.pill:hover { background: #1d2336; }
.pill[aria-pressed='true'] { background: var(--lilac); color: #090a10; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 2px dashed var(--line-2); }
.recap { display: grid; grid-template-columns: 200px 1fr; gap: 12px 22px; padding: 24px; border-radius: 8px; background: var(--ink); }
.recap dt { color: var(--dim); font-weight: 600; }
.recap dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.err-box { margin-top: 16px; padding: 14px 18px; border-radius: 6px; background: rgba(248, 113, 113, 0.12); color: #ffb3b3; display: none; }
.err-box.on { display: block; }
.sent { text-align: center; padding: 30px 10px; }
.sent .hand { font-size: 34px; color: var(--yellow); display: block; transform: rotate(-3deg); }
.sent h2 { font: 800 30px/1.15 var(--display); margin: 8px 0; }
.sent p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }

/* Mes commandes */
.orders { display: grid; gap: 18px; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty .hand { display: block; font-size: 30px; color: var(--lilac); margin-bottom: 6px; }
.order { border-radius: 9px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.order header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 22px; cursor: pointer; }
.order header .ico { width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; background: var(--c, var(--violet)); color: #090a10; flex: none; }
.order header .ico svg { width: 24px; height: 24px; }
.order h3 { margin: 0; font: 700 19px/1.2 var(--display); }
.order header small { color: var(--dim); }
.badge { margin-left: auto; padding: 6px 13px; border-radius: 6px; font-size: 13px; font-weight: 800; background: var(--ink-3); white-space: nowrap; }
.badge.recue { background: rgba(255, 209, 102, 0.16); color: var(--yellow); }
.badge.discussion, .badge.devis { background: rgba(211, 138, 230, 0.16); color: var(--lilac); }
.badge.en_cours { background: rgba(108, 184, 255, 0.16); color: var(--blue); }
.badge.livree { background: rgba(94, 211, 154, 0.16); color: var(--mint); }
.badge.refusee, .badge.annulee { background: rgba(248, 113, 113, 0.14); color: var(--red); }
.order .body { display: none; padding: 0 22px 22px; }
.order.open .body { display: block; animation: paneIn 0.35s var(--ease); }
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 4px 0 20px; }
.track div { position: relative; padding-top: 18px; font-size: 13px; color: var(--dim); text-align: center; }
.track div::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 6px; border-radius: 6px; background: var(--line-2); }
.track div.done { color: var(--text); }
.track div.done::before { background: var(--grad); }
.track div.cur::after { content: ''; position: absolute; left: 50%; top: -1px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(211, 138, 230, 0.4); }
.skynote { display: flex; gap: 12px; padding: 14px 16px; border-radius: 6px; background: rgba(211, 138, 230, 0.1); margin-bottom: 18px; }
.skynote .hand { color: var(--lilac); font-size: 21px; flex: none; }
.order details { margin-bottom: 18px; color: var(--muted); }
.order details summary { cursor: pointer; font-weight: 700; color: var(--text); }
.order details p { white-space: pre-wrap; word-break: break-word; }
.thread { display: grid; gap: 10px; max-height: 420px; overflow: auto; padding: 4px 2px 10px; }
.bubble { max-width: 82%; padding: 11px 15px; border-radius: 7px; background: var(--ink-3); font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.bubble small { display: block; font-size: 12px; color: var(--dim); margin-bottom: 2px; font-weight: 700; }
.bubble.client { justify-self: end; background: var(--violet-2); border-bottom-right-radius: 6px; }
.bubble.client small { color: rgba(255, 255, 255, 0.7); }
.bubble.skyox { border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px rgba(211, 138, 230, 0.35); }
.bubble.system { justify-self: center; background: none; color: var(--dim); font-size: 13px; padding: 2px; }
.reply { display: flex; gap: 10px; margin-top: 12px; }
.reply textarea { flex: 1; min-height: 52px; max-height: 160px; padding: 14px 16px; border-radius: 6px; border: 0; background: var(--ink-2); color: var(--text); font: 400 15px/1.4 var(--body); box-shadow: inset 0 0 0 2px var(--line-2); resize: vertical; }
.reply textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lilac); }
.reply .btn { padding: 0 20px; }
.order .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 16px; }
.order .actions .cancel { background: none; border: 0; color: var(--dim); text-decoration: underline; cursor: pointer; }
.order .actions .cancel:hover { color: var(--red); }

@media (max-width: 900px) { .types { grid-template-columns: repeat(2, 1fr); } .recap { grid-template-columns: 1fr; gap: 4px; } .recap dd { margin-bottom: 12px; } }
@media (max-width: 640px) {
  .panel { padding: 22px 18px; border-radius: 9px; }
  .space-head { padding: 110px 0 100px; }
  .space-head .out { margin-left: 0; }
  .types { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tabs button { padding: 10px 12px; font-size: 14px; gap: 6px; }
  .tabs button svg { display: none; }
  .type { padding: 14px; }
  .track div { font-size: 0; }
  .wizard-nav .btn { padding: 14px 18px; }
  .bubble { max-width: 92%; }
}

/* ---------- Sites imaginés (vitrine de navigateurs) ---------- */
.browsers { margin-top: 70px; }
.browsers-head { text-align: center; margin-bottom: 26px; }
.browsers-head h3 { margin: 4px 0 6px; font: 800 30px var(--display, inherit); }
.browsers-head p { margin: 0 auto; max-width: 560px; color: var(--muted); }
.browsers-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.browser { display: block; border-radius: 6px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; transition: transform 0.4s var(--spring), box-shadow 0.3s; }
.browser:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: inset 0 0 0 1px var(--c), 0 24px 40px -20px var(--c); }
.browser .bbar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--ink-3); }
.browser .bbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser .bbar i:first-child { background: var(--c); }
.browser .bbar em { margin-left: 6px; flex: 1; padding: 2px 8px; border-radius: 6px; background: var(--ink-2); color: var(--dim); font: 600 11px var(--body); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.browser b { display: block; padding: 12px 14px 0; }
.browser small { display: block; padding: 0 14px 14px; color: var(--muted); }
@media (max-width: 1000px) { .browsers-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .browser { scroll-snap-align: start; } }

/* ---------- Univers (sous l'accueil) ---------- */
.universe { padding: 10px 0 40px; }
.universe-t { text-align: center; margin: 0 0 16px; font-size: 26px; color: var(--lilac); }
.universe-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.uni { position: relative; display: block; overflow: hidden; border-radius: 7px; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: transform 0.4s var(--spring); }
.uni img, .uni video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: transform 0.6s var(--ease), opacity 0.3s; }
.uni::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, color-mix(in srgb, var(--c) 85%, #000) 92%); }
.uni .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 3px; }
.uni b { font: 800 19px/1.1 var(--display); }
.uni small { font-size: 13px; line-height: 1.3; opacity: 0.85; }
.uni:hover { transform: translateY(-6px) rotate(-1deg); }
.uni:hover img, .uni:hover video { transform: scale(1.06); opacity: 0.9; }
.svc-group { grid-column: 1 / -1; margin: 14px 0 -4px; font: 800 20px var(--display); color: var(--muted); }
.svc-group:first-child { margin-top: 0; }
@media (max-width: 1000px) { .universe-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .uni { scroll-snap-align: start; } }
@media (min-width: 1001px) { .svc.big { grid-column: span 2; } }
.calc-ex { display: inline-block; justify-self: start; margin-bottom: 6px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 209, 102, 0.15); color: var(--yellow, #ffd166); font: 700 12px var(--body); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
.paused { margin: 6px 0 14px; padding: 14px 16px; border-radius: 6px; background: rgba(248, 113, 113, 0.1); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.35); }
.paused p { margin: 4px 0 0; color: var(--muted); }
.help-line { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.help-line a, .empty a { color: var(--lilac); }

/* ---------- Appel final : la bande de créatures sur la carte ---------- */
.launch { padding: 150px 0 110px; }
.launch-card { position: relative; max-width: 980px; margin: 0 auto; padding: 70px 50px 46px; border-radius: 14px; text-align: center; background: linear-gradient(135deg, #4d7bff, #c8ff3a 55%, #ffb3d9); color: #090a10; box-shadow: 0 40px 90px -30px rgba(143, 124, 247, 0.7); }
.launch-card .hand { font-size: 30px; color: #3b1f6b; }
.launch-card h2 { margin: 4px 0 12px; font: 800 clamp(34px, 5vw, 58px)/1.05 var(--display); letter-spacing: -0.03em; }
.launch-card p { max-width: 600px; margin: 0 auto 26px; font-size: 19px; color: rgba(26, 16, 38, 0.8); }
.launch-card .row { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.launch-card .btn { --bg: #090a10; --fg: #fff; }
.launch-card .link { color: #090a10; }
.launch-steps { list-style: none; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; padding: 0; }
.launch-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.35); font-weight: 700; font-size: 15px; }
.launch-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #090a10; color: #fff; font-size: 13px; }
.launch-gang { position: absolute; left: 0; right: 0; top: 0; height: 0; }
.launch-gang img { position: absolute; left: var(--x); bottom: -26px; width: clamp(64px, 11vw, 118px); transform-origin: 50% 100%; animation: hop 2.4s var(--d) infinite cubic-bezier(.3, 0, .3, 1); filter: drop-shadow(0 10px 10px rgba(26, 16, 38, 0.25)); }
@keyframes hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 12% { transform: translateY(0) scale(1.1, 0.88); } 28% { transform: translateY(-26px) scale(0.94, 1.08) rotate(-4deg); } 44% { transform: translateY(0) scale(1.08, 0.9); } }
.launch-sparks i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: 0.6; animation: floaty 6s infinite ease-in-out; }
.launch-sparks i:nth-child(1) { left: 8%; top: 30%; } .launch-sparks i:nth-child(2) { left: 16%; top: 78%; animation-delay: -1s; width: 6px; height: 6px; }
.launch-sparks i:nth-child(3) { left: 30%; top: 18%; animation-delay: -2s; background: #ffd166; } .launch-sparks i:nth-child(4) { left: 72%; top: 22%; animation-delay: -3s; width: 14px; height: 14px; }
.launch-sparks i:nth-child(5) { left: 86%; top: 64%; animation-delay: -4s; background: #ffd166; } .launch-sparks i:nth-child(6) { left: 92%; top: 30%; animation-delay: -1.5s; width: 6px; height: 6px; }
.launch-sparks i:nth-child(7) { left: 52%; top: 88%; animation-delay: -2.5s; } .launch-sparks i:nth-child(8) { left: 4%; top: 56%; animation-delay: -3.5s; background: #6cb8ff; }
@keyframes floaty { 50% { transform: translateY(-14px) scale(1.3); opacity: 0.9; } }
@media (max-width: 700px) { .launch-card { padding: 60px 20px 34px; } .launch-gang img:nth-child(2), .launch-gang img:nth-child(4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .launch-gang img, .launch-sparks i { animation: none; } }

/* ---------- Bande démo ---------- */
.reel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; margin-top: 28px; padding: 18px; border-radius: 11px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.reel video { width: 100%; aspect-ratio: 16 / 9; border-radius: 7px; background: #000; display: block; }
.reel-txt .hand { font-size: 26px; color: var(--lilac); }
.reel-txt h3 { margin: 2px 0 10px; font: 800 30px/1.15 var(--display); letter-spacing: -0.02em; }
.reel-txt p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 900px) { .reel { grid-template-columns: 1fr; } }

/* ---------- Livraison : encart, guide du token, fête ---------- */
.delivered { margin: 4px 0 14px; padding: 16px 18px; border-radius: 6px; background: linear-gradient(135deg, rgba(94, 211, 154, 0.16), rgba(143, 124, 247, 0.12)); box-shadow: inset 0 0 0 1px rgba(94, 211, 154, 0.35); }
.delivered .hand { font-size: 26px; color: var(--mint, #5ed39a); }
.delivered p { margin: 2px 0 10px; }
.token-guide { margin: 0 0 14px; padding: 14px 16px; border-radius: 6px; background: var(--ink-3); }
.token-guide summary { cursor: pointer; font-weight: 700; }
.token-guide ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 6px; }
.token-guide a { color: var(--lilac); }
.token-guide img { width: 100%; border-radius: 5px; }
.token-guide .warn { margin: 10px 0 0; font-size: 14px; color: #ffb4b4; }
.party { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(10, 8, 18, 0.72); backdrop-filter: blur(6px); animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } }
.party-card { position: relative; width: min(440px, 100% - 32px); padding: 120px 28px 28px; border-radius: 11px; text-align: center; background: var(--ink-2); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px var(--line); animation: popIn 0.6s var(--spring, cubic-bezier(.3, 1.6, .5, 1)); }
.party-card .hand { font-size: 30px; color: var(--yellow, #ffd166); }
.party-card h3 { margin: 4px 0 8px; font: 800 26px/1.2 var(--display); }
.party-card p { color: var(--muted); margin: 0 0 18px; }
.gift { position: absolute; left: 50%; top: -60px; width: 150px; height: 150px; transform: translateX(-50%); }
.gift .box { position: absolute; left: 20px; right: 20px; bottom: 0; height: 80px; border-radius: 5px; background: linear-gradient(90deg, #4d7bff 0 42%, #ffd166 42% 58%, #4d7bff 58%); box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35); }
.gift .lid { position: absolute; left: 12px; right: 12px; bottom: 74px; height: 26px; border-radius: 8px; background: linear-gradient(90deg, #8ea4ff 0 42%, #ffe08a 42% 58%, #8ea4ff 58%); z-index: 2; animation: lid 0.9s 0.5s cubic-bezier(.3, 1.5, .5, 1) forwards; transform-origin: 10% 100%; }
@keyframes lid { to { transform: translate(-30px, -60px) rotate(-35deg); } }
.gift img { position: absolute; left: 50%; bottom: 30px; width: 110px; transform: translate(-50%, 40px) scale(0.3); opacity: 0; animation: jump 0.9s 0.75s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes jump { to { transform: translate(-50%, -40px) scale(1); opacity: 1; } }
.confetti i { position: fixed; top: -20px; left: var(--x); width: calc(10px * var(--s)); height: calc(16px * var(--s)); background: var(--c); border-radius: 3px; transform: rotate(var(--r)); animation: fall 2.8s var(--d) cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(calc(var(--r) + 540deg)); } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } .gift .lid, .gift img { animation-duration: 0.01s; } }
@media (max-width: 600px) {
  .offer-tabs { justify-content: flex-start; overflow-x: auto; margin: -24px -16px 24px; padding: 2px 16px; scrollbar-width: none; }
  .offer-tabs button { flex: none; white-space: nowrap; padding: 9px 14px; font-size: 15px; }
}

/* ---------- Aperçus selon le type de projet ---------- */
.pv[data-mode='site'] { background: #f6f5fb; color: #1a1630; }
.pv-browser { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e6e3f0; }
.pv-browser i { width: 9px; height: 9px; border-radius: 50%; background: #c9c4da; }
.pv-browser i:first-child { background: var(--p); }
.pv-browser em { margin-left: 8px; padding: 3px 12px; border-radius: 6px; background: #fff; color: #6f7691; font: 600 12px var(--body); font-style: normal; }
.pv-nav { display: flex; align-items: center; gap: 14px; padding: 10px 16px; font-size: 13px; color: #6f7691; }
.pv-nav b { margin-right: auto; color: var(--p); font: 800 16px var(--display); }
.pv[data-mode='site'] .pv-banner { height: 120px; }
.pv-site { padding: 14px 16px 18px; }
.pv-site .pv-btns span:not(.p):not(.s) { display: none; }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pv-cards div { padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(26, 22, 48, 0.08); font-size: 12px; font-weight: 700; }
.pv-cards i { display: block; height: 34px; margin-bottom: 6px; border-radius: 6px; background: linear-gradient(135deg, var(--p), var(--s)); opacity: 0.85; }
.pv[data-mode='logo'] { background: #1e1b26; padding: 22px; }
.pv-logo { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px; border-radius: 6px; background: #26222f; color: #fff; }
.pv-mark { width: 92px; height: 92px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--p), var(--s)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--a) 40%, transparent); transform: rotate(-6deg); }
.pv-mark span { font: 800 52px var(--display); color: #fff; transform: rotate(6deg); }
.pv-logo b { font: 800 26px var(--display); letter-spacing: -0.02em; }
.pv-logo small { color: var(--a); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.pv-variants { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pv-variants div { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; font: 800 26px var(--display); }
.pv-variants .dark { background: #0d0b14; color: var(--p); }
.pv-variants .light { background: #fff; color: var(--p); }
.pv-variants .round { background: #2b2d31; }
.pv-variants .round span { width: 70%; height: 70%; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--p), var(--s)); color: #fff; }
.pv-variants .mono { background: var(--p); color: #fff; }
.pv[data-mode='motion'] { background: #111; }
.pv-film { position: relative; }
.pv-film .pv-banner { height: 210px; }
.pv-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2); }
.pv-play::after { content: ''; position: absolute; left: 23px; top: 18px; border-left: 18px solid #111; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.pv-timeline { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #aaa; font-size: 12px; }
.pv-bar { flex: 1; height: 5px; border-radius: 3px; background: #333; }
.pv-bar i { display: block; width: 40%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--p), var(--s)); }
.pv-formats { display: flex; gap: 8px; padding: 0 16px 16px; }
.pv-formats span { padding: 4px 10px; border-radius: 6px; background: #222; color: #ddd; font-size: 12px; font-weight: 700; }
.link-btn { padding: 0; border: 0; background: none; color: var(--lilac); font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn.danger { color: #ff9b9b; }
.link-btn:disabled { opacity: 0.5; cursor: default; }
.card .top .duo-v { display: flex; gap: 14px; height: 100%; align-items: center; justify-content: center; padding-top: 24px; }
.card .top .duo-v img { height: 100%; max-height: 230px; border-radius: 5px; box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4); transition: transform 0.5s var(--spring); }
.card .top .duo-v img:first-child { transform: rotate(-4deg); }
.card .top .duo-v img:last-child { transform: rotate(4deg) translateY(10px); }
.card:hover .top .duo-v img { transform: none; }
#sheet .vids.vertical { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
#sheet .vids.vertical video { aspect-ratio: 9 / 16; }
.credit { margin-top: 10px; font-size: 13px; color: var(--dim); }

/* =====================================================================================================
   V2 · « plan technique » : fond quadrillé, bleu outremer + vert citron, angles francs, ombres dures,
   étiquettes en police mono. Même contenu et mêmes fonctions que la V1 (sauvegardée dans site/v1).
   ===================================================================================================== */
body {
  counter-reset: sec;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  letter-spacing: -0.005em;
}
::selection { background: var(--lilac); color: #090a10; }
:focus-visible { outline: 3px solid var(--lilac); border-radius: 4px; }
h1, h2, h3 { font-weight: 700; }

/* Étiquettes : plus de manuscrit, du mono en capitales */
.hand, .note, .svc .ex, .notebook h3, .notebook .sign, .parcel .label b, .hero .hello, .eyebrow, .universe-t .hand { font-family: var(--hand); font-weight: 700; }
.hero .hello { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; transform: none; color: var(--lilac); padding: 6px 10px; border: 2px solid var(--lilac); border-radius: 4px; }
.eyebrow { display: block; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; transform: none; color: var(--lilac); margin-bottom: 14px; }
.sec .head .eyebrow::before { content: counter(sec, decimal-leading-zero) ' // '; color: var(--dim); }
.sec .head { counter-increment: sec; }
.note { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; transform: none !important; color: var(--lilac); }
.note svg, .head h2 .ul, .doodles, .wave-sep, .sk > .sk-line, .link svg { display: none !important; }
.svc .ex { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.notebook h3 { font-size: 22px; letter-spacing: -0.01em; }
.notebook .sign { font-size: 16px; transform: none; }
.universe-t .hand { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }

/* Titres : alignés à gauche, serrés */
.head { text-align: left; max-width: none; margin: 0 0 52px; }
.head p { max-width: 680px; margin-inline: 0; }
.head h2 { display: block; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }

/* Barre du haut */
.bar.solid { background: rgba(9, 10, 16, 0.94); box-shadow: 0 2px 0 var(--line-2); }
.brand { font-weight: 700; letter-spacing: -0.04em; }
.brand .av { border-radius: 6px; background: var(--lilac); color: #090a10; box-shadow: 3px 3px 0 #000; font-weight: 700; }
.nav { gap: 4px; }
.nav a { border-radius: 4px; font: 700 12.5px/1 var(--hand); letter-spacing: 0.1em; text-transform: uppercase; padding: 11px 14px; }
.nav a:hover { background: var(--lilac); color: #090a10; }
.who { border-radius: 6px; background: var(--lilac); color: #090a10; border: 2px solid #000; box-shadow: 3px 3px 0 #000; }
.who:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #000; }
.burger { border-radius: 6px; border: 2px solid var(--line-2); background: transparent; }

/* Boutons : plats, bordés, ombre dure */
.btn { --bg: var(--lilac); --fg: #090a10; border: 2px solid #000; border-radius: 6px; box-shadow: 4px 4px 0 #000; font-weight: 700; letter-spacing: -0.01em; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }
.btn.violet { --bg: var(--violet); --fg: #fff; border-color: #000; }
.btn.grad { --bg: var(--lilac); --fg: #090a10; background: var(--lilac); }
.btn.ghost { --bg: transparent; --fg: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.25); }
.btn.ghost:hover { box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.35); }
.btn.discord { --bg: #5865f2; --fg: #fff; }
.link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--lilac); padding-bottom: 0; }
.link:hover { background: var(--lilac); color: #090a10; text-decoration: none; }

/* Héros : papier millimétré bleu */
.hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(900px 520px at 85% 0%, #5b78ff 0%, transparent 62%),
    var(--violet);
  padding: 140px 0 120px; border-bottom: 6px solid var(--lilac);
}
.hero h1 { font-weight: 700; letter-spacing: -0.05em; }
.hero h1 .rot { color: #090a10; }
.hero h1 .rot::before { background: var(--lilac); border-radius: 4px; transform: none; box-shadow: 6px 6px 0 #000; inset: 0.06em -0.02em 0; }
.hero .sub { color: rgba(255, 255, 255, 0.92); }
.invite { --sk-stroke: none; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 6px; background: rgba(4, 8, 40, 0.4); }
.invite:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #000; }
.invite .ic { border-radius: 4px; }
.invite small { font-family: var(--hand); }
.live { border-radius: 4px; background: rgba(4, 8, 40, 0.45); font-family: var(--hand); font-size: 12.5px; }
.profile { transform: none; border-radius: 8px; border: 2px solid #000; box-shadow: 10px 10px 0 #000; }
.profile:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 #000; }
.profile .cover { background: var(--lilac); }
.profile .cover::after { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 14px); }
.profile .pic { border-radius: 6px; }
.profile .pic + .st { border-radius: 50%; }
.msg { transform: none; border: 2px solid #000; border-radius: 6px; box-shadow: 6px 6px 0 #000; }
.msg .pic { border-radius: 6px; background: var(--lilac); }

/* Cartes : cadre franc + ombre dure qui se décolle au survol */
.svc, .fiche, .card, .uni, .offer, .plan, .review, .launch-card, .browser, .panel, .order, .num {
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 2px var(--line-2);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.svc:hover, .fiche:hover, .card:hover, .uni:hover, .offer:hover, .plan:hover, .review:hover, .browser:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 2px var(--lilac); }
.num { box-shadow: none; }
.num + .num::before { transform: none; width: 2px; }
.num dd { font-weight: 700; letter-spacing: -0.06em; }
.svc .ico, .ico { border-radius: 6px; box-shadow: 3px 3px 0 #000; }
.chip, .pill, .badge { border-radius: 4px; }
.tabs button, .filters button, .offer-tabs button, .demo-tabs button { border-radius: 4px; font-family: var(--hand); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.tabs button[aria-pressed='true'], .filters button[aria-pressed='true'], .offer-tabs button[aria-pressed='true'], .demo-tabs button[aria-pressed='true'] { background: var(--lilac); color: #090a10; box-shadow: 3px 3px 0 #000; }
.botlist div { border-radius: 4px; box-shadow: inset 0 0 0 2px var(--line); }
.updated { font-family: var(--hand); font-size: 12.5px; letter-spacing: 0.06em; }
.foot { border-top: 2px solid var(--line-2); }
.toast { border-radius: 6px; border: 2px solid #000; box-shadow: 5px 5px 0 #000; }
input, select, textarea, .field input, .field textarea { border-radius: 6px; }

/* Usine : même cadre que le reste */
.factory { border-radius: 8px; box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 2px var(--line-2); }
.fx-stage { border-radius: 4px; box-shadow: inset 0 0 0 2px #000; }
.fx-head .fx-tier { font-family: var(--hand); font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; }
.fx-chip { border-radius: 4px; box-shadow: inset 0 0 0 2px var(--line); }
.fx-toast { border-radius: 4px; border: 2px solid #000; box-shadow: 4px 4px 0 #000; background: var(--lilac); }
.hero .note.me, .avail[hidden] { display: none; }
.foot .wave-top { display: none; }

/* ---------- V2 · confort et conversion ---------- */
.ptop { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; background: var(--lilac); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.fxbtn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 2px solid var(--line-2); border-radius: 6px; background: transparent; color: #fff; cursor: pointer; transition: background 0.2s, color 0.2s; }
.fxbtn:hover { background: var(--lilac); color: #090a10; border-color: #000; }
.fxbtn svg { width: 20px; height: 20px; }
.fxbtn.off svg .w { display: none; }
.fxbtn.off { opacity: 0.6; }
@media (max-width: 900px) { .fxbtn { margin-left: auto; } .fxbtn + .who { margin-left: 0; } .burger { margin-left: 0; } }
.nav a.on { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 -3px 0 var(--lilac); }
.assure { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.92); }
.assure li { display: flex; align-items: center; gap: 7px; }
.assure svg { width: 16px; height: 16px; color: var(--lilac); flex: none; }
.msg .eg { display: block; margin-top: 6px; font: 700 10.5px/1 var(--hand); letter-spacing: 0.1em; text-transform: uppercase; color: #6f7691; }

.quick { padding-block: 70px 10px; }
.quick-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-grid button { padding: 14px 20px; border: 2px solid var(--line-2); border-radius: 6px; background: var(--ink-2); color: var(--text); font: 600 16px/1 var(--body); cursor: pointer; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s, color 0.15s; }
.quick-grid button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.7); background: var(--lilac); color: #090a10; border-color: #000; }
.quick-grid button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }

.empty-reviews { max-width: 640px; padding: 34px 30px; border-radius: 8px; text-align: left; background: var(--ink-2); box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 2px var(--line-2); }
.empty-reviews[hidden] { display: none; }
.empty-reviews .stars { display: block; font-size: 28px; letter-spacing: 6px; color: var(--yellow); opacity: 0.55; }
.empty-reviews h3 { margin: 10px 0 8px; font: 700 26px/1.1 var(--display); letter-spacing: -0.03em; }
.empty-reviews p { margin: 0 0 20px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ptop { transition: none; } }

/* ---------- V2 · présentations interactives + « Trouve ton projet » ---------- */
.fiche .card:hover, .uni:hover { will-change: transform; }
.fiche .card:hover, .uni:hover { transform: perspective(900px) translate(-3px, -3px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.fiche .card::after, .uni::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.25s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 55%); }
.fiche .card:hover::after, .uni:hover::after { opacity: 1; }
.card { position: relative; }
.card .top::after { content: 'Voir la présentation →'; position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); padding: 8px 14px; border-radius: 4px; background: #090a10; color: var(--lilac); font: 700 12px/1 var(--hand); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transition: 0.25s var(--ease); z-index: 3; white-space: nowrap; }
.card:hover .top::after, .card:focus-visible .top::after { opacity: 1; transform: translate(-50%, 0); }
.browser .bbar { position: relative; z-index: 2; }
.browser img { transform-origin: 50% 0; transition: transform 3.4s cubic-bezier(0.45, 0, 0.55, 1); }
.browser:hover img { transform: scale(1.4) translateY(-9%); }

.modal .mnav { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 13px/1 var(--hand); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.9); }
.modal .mnav button { height: 34px; min-width: 38px; padding: 0 10px; border: 2px solid rgba(0, 0, 0, 0.55); border-radius: 4px; background: rgba(255, 255, 255, 0.16); color: #fff; font: 700 16px/1 var(--hand); cursor: pointer; }
.modal .mnav button:hover { background: var(--lilac); color: #090a10; }
.modal .mnav .mshare { margin-left: auto; margin-right: 56px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.zoom { flex-direction: column; }
.zoom .zn { position: absolute; top: 50%; width: 52px; height: 72px; margin-top: -36px; border: 2px solid #000; border-radius: 4px; background: var(--lilac); color: #090a10; font: 700 34px/1 var(--hand); cursor: pointer; box-shadow: 3px 3px 0 #000; }
.zoom .zn.p { left: 16px; } .zoom .zn.n { right: 16px; }
.zoom .zc { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 4px; background: rgba(0, 0, 0, 0.7); font: 700 12px/1 var(--hand); letter-spacing: 0.1em; }

.quick-help { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; color: var(--muted); }

/* ---------- Quiz immersif ---------- */
.qz { --qa: #c8ff3a; --qt: #090a10; position: fixed; inset: 0; z-index: 85; overflow: auto; background: #06070c; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s var(--ease), visibility 0s 0.3s; }
.qz.on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s var(--ease); }
.qz-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(900px 600px at 80% 10%, color-mix(in srgb, var(--qa) 22%, transparent), transparent 70%), radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--qa) 14%, transparent), transparent 70%); transition: background 0.8s; }
.qz-bg i { position: absolute; inset: -56px; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; animation: qzgrid 14s linear infinite; }
@keyframes qzgrid { to { transform: translate(56px, 56px); } }
.qz-float span { position: absolute; bottom: -60px; opacity: 0; animation: qzrise linear infinite; }
@keyframes qzrise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 0.35; } 100% { transform: translateY(-110vh) rotate(40deg); opacity: 0; } }
.qz-float .cf { position: absolute; top: 40%; width: 9px; height: 14px; animation: qzcf 1.8s var(--ease) forwards; }
@keyframes qzcf { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--dx), 60vh) rotate(540deg); opacity: 0; } }
.qz-x { position: fixed; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--line-2); border-radius: 6px; background: rgba(0, 0, 0, 0.4); color: #fff; cursor: pointer; }
.qz-x svg { width: 20px; height: 20px; }
.qz-main { position: relative; z-index: 2; width: min(1120px, 100% - 32px); min-height: 100%; margin: 0 auto; padding: 36px 0; display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; }
.qz-prog { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.qz-dots { display: flex; gap: 6px; }
.qz-dots i { width: 28px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); transition: background 0.3s, width 0.3s; }
.qz-dots i.ok { background: var(--qa); }
.qz-dots i.cur { background: #fff; width: 44px; }
.qz-n { font: 700 12px/1 var(--hand); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.qz-guide { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.qz-bot { flex: none; width: 76px; height: 95px; image-rendering: pixelated; animation: qzbob 2.4s ease-in-out infinite; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.5)); }
.qz-bot .h { fill: var(--qa); } .qz-bot .b { fill: color-mix(in srgb, var(--qa) 70%, #000); } .qz-bot .d { fill: color-mix(in srgb, var(--qa) 45%, #000); } .qz-bot .a { fill: #ffd166; }
.qz-bot .e { animation: qzblink 4s infinite; transform-origin: center; transform-box: fill-box; }
.qz-guide.talk .qz-bot { animation: qzbob 0.5s ease-in-out infinite; }
@keyframes qzbob { 50% { transform: translateY(-6px); } }
@keyframes qzblink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
.qz-say { position: relative; margin: 0 0 8px; min-height: 52px; padding: 14px 18px; border: 2px solid #000; border-radius: 8px; background: #f2f4fb; color: #090a10; font-weight: 600; box-shadow: 5px 5px 0 #000; max-width: 560px; }
.qz-say::before { content: ''; position: absolute; left: -12px; bottom: 16px; border: 8px solid transparent; border-right-color: #000; border-left: 0; }
.qz-stage h3 { margin: 0; font: 700 clamp(1.7rem, 4.4vw, 2.6rem)/1.04 var(--display); letter-spacing: -0.045em; }
.qz-stage.in { animation: qin 0.35s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.qz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.qz-opts.wide { grid-template-columns: repeat(3, 1fr); }
.qz-opts button { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 2px solid var(--line-2); border-radius: 6px; background: rgba(16, 18, 27, 0.9); color: var(--text); font: 600 16px/1.2 var(--body); text-align: left; cursor: pointer; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s, color 0.15s; }
.qz-opts button > span:first-child { font-size: 24px; }
.qz-opts button kbd { margin-left: auto; padding: 2px 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); font: 700 11px var(--hand); color: inherit; opacity: 0.55; }
.qz-opts button:hover, .qz-opts button.on { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.7); background: var(--qa); color: var(--qt); border-color: #000; }
.sw { display: inline-flex; } .sw i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #000; margin-right: -6px; }
.qz-opts.color button .sw { margin-right: 10px; }
.qz-back { margin-top: 22px; border: 0; background: none; color: var(--muted); font: 600 15px var(--body); cursor: pointer; padding: 6px 0; }
.qz-back:hover { color: #fff; }
.qz-k { font: 700 12px/1 var(--hand); letter-spacing: 0.16em; text-transform: uppercase; color: var(--qa); }
.qz-why { margin: 16px 0 6px; padding-left: 20px; color: var(--muted); }
.qz-why li { margin: 6px 0; }
.qz-form { margin: 14px 0 0; padding: 14px 16px; border-radius: 6px; background: rgba(16, 18, 27, 0.9); box-shadow: inset 0 0 0 2px var(--line); }
.qz-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.qz-cta .btn:not(.ghost) { --bg: var(--qa); --fg: var(--qt); }
.qz-small { margin: 16px 0 0; font-size: 14px; color: var(--dim); }
/* La carte de projet qui se remplit */
.qz-card { padding: 20px 20px 22px; border: 2px solid #000; border-radius: 10px; background: linear-gradient(160deg, color-mix(in srgb, var(--qa) 22%, #141725), #0d0f18 60%); box-shadow: 8px 8px 0 #000, inset 0 0 0 2px var(--line-2); transition: transform 0.6s var(--spring); }
.qz.done .qz-card { animation: qzflip 0.9s var(--ease); transform: rotate(-2deg) scale(1.03); }
@keyframes qzflip { from { transform: rotateY(90deg) scale(0.9); } to { transform: rotate(-2deg) scale(1.03); } }
.qz-ch { display: flex; justify-content: space-between; align-items: baseline; font: 700 12px/1 var(--hand); letter-spacing: 0.1em; text-transform: uppercase; }
.qz-ch em { font-style: normal; color: var(--qa); }
.qz-emoji { margin: 14px 0 6px; font-size: 52px; line-height: 1; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.4)); }
.qz-title { margin: 0 0 14px; font: 700 22px/1.1 var(--display); letter-spacing: -0.03em; }
.qz-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qz-rows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); font-size: 14px; }
.qz-rows li.on { background: rgba(255, 255, 255, 0.1); animation: qzrow 0.35s var(--ease); box-shadow: inset 3px 0 0 var(--qa); }
@keyframes qzrow { from { transform: scale(0.96); opacity: 0.4; } to { transform: none; opacity: 1; } }
.qz-rows small { font: 700 10.5px/1 var(--hand); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.qz-rows b { font-weight: 600; text-align: right; display: inline-flex; align-items: center; gap: 6px; }
.qz-rows em { color: var(--dim); font-style: normal; }
@media (max-width: 860px) {
  .qz-main { grid-template-columns: 1fr; gap: 22px; padding: 70px 0 30px; align-items: start; }
  .qz-card { order: -1; padding: 14px; } .qz-emoji, .qz-title { display: none; } .qz-rows { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .qz-opts, .qz-opts.wide { grid-template-columns: 1fr; } .qz-bot { width: 52px; height: 65px; } .qz-say { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .qz-bg i, .qz-bot, .qz-float span { animation: none; } }

/* ---------- « Vis une commande » ---------- */
.sim { margin-top: 70px; padding: 28px; border-radius: 10px; background: rgba(16, 18, 27, 0.85); box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7), inset 0 0 0 2px var(--line-2); }
.sim-head .hand { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilac); }
.sim-head h3 { margin: 8px 0 6px; font: 700 clamp(1.5rem, 3.6vw, 2.2rem)/1.05 var(--display); letter-spacing: -0.04em; }
.sim-head p { margin: 0 0 22px; color: var(--muted); }
.sim-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.sim-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sim-steps button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 2px solid var(--line-2); border-radius: 6px; background: var(--ink-3); color: var(--text); font: 600 16px/1.2 var(--body); text-align: left; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.sim-steps button b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; background: rgba(255, 255, 255, 0.1); font: 700 14px var(--hand); }
.sim-steps button.past b { background: var(--mint); color: #090a10; }
.sim-steps button.on { background: var(--lilac); color: #090a10; border-color: #000; transform: translateX(6px); box-shadow: -4px 4px 0 #000; }
.sim-steps button.on b { background: #090a10; color: var(--lilac); }
.sim-win { overflow: hidden; border-radius: 8px; background: #313338; box-shadow: 0 0 0 2px #000, 5px 5px 0 #000; }
.sim-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #2b2d31; box-shadow: 0 1px 0 #1e1f22; }
.sim-bar .dots { display: flex; gap: 5px; } .sim-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #4e5058; }
.sim-chan { font: 700 14px var(--body); color: #dbdee1; }
.sim-play { margin-left: auto; width: 32px; height: 28px; border: 0; border-radius: 4px; background: #404249; color: #dbdee1; font-size: 11px; cursor: pointer; }
.sim-feed { min-height: 250px; padding: 16px; display: grid; align-content: start; gap: 14px; }
.sim-msg { display: flex; gap: 12px; transition: opacity 0.2s; }
.sim-msg.in { animation: simin 0.35s var(--ease); }
@keyframes simin { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.sim-msg .av { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #5865f2; color: #fff; font-weight: 700; }
.sim-msg.sky .av { background: var(--lilac); color: #090a10; } .sim-msg.you .av { background: #4e5058; }
.sim-msg b { font-size: 15px; color: #f2f3f5; }
.sim-msg b i { margin-left: 6px; padding: 1px 5px; border-radius: 3px; background: #5865f2; color: #fff; font: 800 10px var(--body); font-style: normal; vertical-align: 1px; }
.sim-msg p { margin: 2px 0 0; color: #dbdee1; font-size: 15px; line-height: 1.45; }
.sim-order { padding: 14px 16px 16px; background: #2b2d31; box-shadow: 0 -1px 0 #1e1f22; }
.sim-state { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.sim-state small { font: 700 11px var(--hand); letter-spacing: 0.1em; text-transform: uppercase; color: #949ba4; }
.sim-state b { color: var(--lilac); font-size: 16px; }
.sim-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.sim-track i { height: 8px; border-radius: 2px; background: #404249; transition: background 0.4s; }
.sim-track i.on { background: var(--lilac); }
@media (max-width: 860px) { .sim { padding: 18px; } .sim-grid { grid-template-columns: 1fr; } .sim-steps { grid-auto-flow: column; grid-auto-columns: 1fr; overflow-x: auto; } .sim-steps button { font-size: 13px; padding: 10px; flex-direction: column; text-align: center; } .sim-steps button.on { transform: none; box-shadow: none; } }

/* ---------- Panneau admin ---------- */
.adm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 8px; }
.adm-kpis > div { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 4px; }
.adm-kpis b { font: 700 30px var(--display); color: var(--lilac); }
.adm-kpis b.ko { color: var(--red); }
.adm-kpis span { color: var(--muted); font-size: 13px; }
.adm-h { margin: 28px 0 10px; font: 700 18px var(--display); }
.adm-sub, .adm-empty { color: var(--muted); font-size: 14px; }
.adm-table { display: grid; gap: 8px; }
.adm-row { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 14px; align-items: center; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.adm-row.gone { opacity: 0.6; }
.adm-row b { display: block; }
.adm-row em, .adm-list em { color: var(--dim); font-style: normal; font-size: 12px; }
.adm-lv { display: grid; gap: 4px; font-size: 13px; }
.adm-lv small { color: var(--muted); }
.adm-lv .fx-bar { display: block; height: 6px; background: var(--ink); border-radius: 3px; overflow: hidden; }
.adm-lv .fx-bar u { display: block; height: 100%; background: var(--lilac); }
.adm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.adm-list li { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
@media (max-width: 640px) { .adm-row { grid-template-columns: 1fr; } }
.adm-plan { grid-template-columns: 1.3fr 0.7fr; }
.adm-plan .adm-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.adm-btn { padding: 6px 10px; font-size: 12px; min-height: 0; }
.btn.danger.adm-btn { border-color: var(--red); color: var(--red); background: transparent; }
