@font-face { font-family: "Unbounded"; src: url(fonts/unbounded.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url(fonts/jbmono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #050505;
  --bg-2: #0c0c0d;
  --panel: #111113;
  --line: #222226;
  --ink: #f1f1f1;
  --dim: #8b8b93;
  --red: #ed4245;
  --red-soft: rgba(237, 66, 69, .16);
  --cyan: #2de2e6;
  --mag: #ff2a6d;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --mono: "JB Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--display);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: #000; }
a { color: inherit; }
em { font-style: normal; color: var(--ink); border-bottom: 1px dashed var(--red); }
strong { font-weight: 700; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Ambiance : grain, scanlines, vignette ---------- */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 90; opacity: .09;
  image-rendering: pixelated;
}
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 91;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 89;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75) 100%);
}

/* Secousse globale, déclenchée au hasard par le script */
body.jolt main { animation: jolt .28s steps(2) 1; }
@keyframes jolt {
  0%   { transform: translate(0); filter: none; }
  25%  { transform: translate(-6px, 1px); filter: drop-shadow(4px 0 var(--cyan)) drop-shadow(-4px 0 var(--mag)); clip-path: inset(10% 0 60% 0); }
  50%  { transform: translate(5px, -2px); clip-path: inset(40% 0 20% 0); }
  75%  { transform: translate(-2px, 0); clip-path: none; filter: drop-shadow(-3px 0 var(--cyan)); }
  100% { transform: none; filter: none; }
}

/* ---------- Démarrage ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: flex; align-items: flex-end; padding: var(--gutter);
  transition: opacity .5s var(--ease), visibility .5s;
}
.boot-log { margin: 0; font: 12px/1.7 var(--mono); color: var(--dim); white-space: pre-wrap; }
.boot-log .ok { color: var(--ink); }
.boot-log .red { color: var(--red); }
body:not(.is-booting) .boot { opacity: 0; visibility: hidden; }

/* ---------- Barre du haut ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(5,5,5,.92), rgba(5,5,5,0));
  font-family: var(--mono); font-size: 13px;
}
.brand { font-family: var(--display); font-weight: 900; letter-spacing: .04em; text-decoration: none; text-shadow: 0 0 12px rgba(255,255,255,.5); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--dim); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.status { display: flex; align-items: center; gap: 8px; color: var(--dim); }
.dnd {
  width: 12px; height: 12px; border-radius: 50%; background: var(--red); position: relative;
  box-shadow: 0 0 0 3px #000, 0 0 14px var(--red);
}
.dnd::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: #000; border-radius: 1px; }
@media (max-width: 720px) {
  .nav { display: none; }
}

/* ---------- Effets glitch ---------- */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; text-shadow: none;
}
.glitch::before { color: var(--cyan); mix-blend-mode: screen; animation: g-a 3.2s infinite steps(1); }
.glitch::after  { color: var(--mag);  mix-blend-mode: screen; animation: g-b 2.7s infinite steps(1); }
@keyframes g-a {
  0%, 86%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  87% { transform: translate(-6px, 2px); clip-path: inset(12% 0 62% 0); }
  89% { transform: translate(5px, -1px); clip-path: inset(55% 0 20% 0); }
  91% { transform: translate(-3px, 0); clip-path: inset(30% 0 48% 0); }
  93% { transform: translate(8px, 1px); clip-path: inset(78% 0 4% 0); }
  95% { clip-path: inset(0 0 100% 0); }
}
@keyframes g-b {
  0%, 80%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  81% { transform: translate(6px, -2px); clip-path: inset(68% 0 10% 0); }
  83% { transform: translate(-7px, 1px); clip-path: inset(5% 0 80% 0); }
  85% { transform: translate(3px, 0); clip-path: inset(40% 0 35% 0); }
  87% { clip-path: inset(0 0 100% 0); }
}
.glitch-hover { position: relative; }
.glitch-hover::before, .glitch-hover::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%;
  opacity: 0; pointer-events: none;
}
.glitch-hover::before { color: var(--cyan); }
.glitch-hover::after { color: var(--mag); }
.glitch-hover:hover::before, .card:hover .glitch-hover::before, .glitch-hover.is-glitching::before { opacity: .8; animation: hov-a .35s steps(2) infinite; }
.glitch-hover:hover::after, .card:hover .glitch-hover::after, .glitch-hover.is-glitching::after { opacity: .8; animation: hov-b .3s steps(2) infinite; }
@keyframes hov-a { 0% { transform: translate(-3px, 0); clip-path: inset(0 0 55% 0); } 100% { transform: translate(3px, 0); clip-path: inset(50% 0 0 0); } }
@keyframes hov-b { 0% { transform: translate(3px, 1px); clip-path: inset(40% 0 20% 0); } 100% { transform: translate(-2px, -1px); clip-path: inset(10% 0 70% 0); } }

/* ---------- Yeux ---------- */
.eye-svg { display: block; overflow: visible; }
.eye-white { fill: #fff; }
.eye-line { fill: none; stroke: #000; stroke-width: 7; stroke-linejoin: round; }
.eye-sketch { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; opacity: .75; }
.pupil { fill: #050505; }
.glint { fill: #fff; }
.eye-lid { transform-origin: 100px 62px; transform-box: view-box; }
.eye-pupil { transition: transform .12s linear; }

.hero-eyes {
  display: flex; gap: clamp(18px, 6vw, 80px); justify-content: center;
  width: min(86vw, 760px); margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(255,255,255,.12));
}
.hero-eyes .eye-svg { width: 50%; }

.dark-eyes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dark-eyes .eye-svg { position: absolute; opacity: 0; transition: opacity 1.2s var(--ease); }
.dark-eyes .eye-svg.on { opacity: .22; }

.watcher {
  position: fixed; z-index: 60; display: flex; gap: 8px; width: 110px;
  left: 0; top: 0; pointer-events: auto; cursor: crosshair;
  opacity: 0; transform: translate(-200px, -200px);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.25));
}
.watcher .eye-svg { width: 50%; }
.watcher.visible { opacity: 1; transition: opacity .25s; }
.watcher.vanish { animation: vanish .35s steps(3) forwards; }
@keyframes vanish {
  0% { opacity: 1; clip-path: inset(0); }
  33% { opacity: 1; clip-path: inset(30% 0 40% 0); translate: 8px 0; }
  66% { opacity: .7; clip-path: inset(60% 0 10% 0); translate: -10px 0; }
  100% { opacity: 0; clip-path: inset(50% 0 50% 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 96px var(--gutter) 72px; text-align: center; overflow: hidden;
}
.title {
  width: 100%; font-family: var(--display); font-weight: 900; margin: clamp(20px, 4vh, 40px) 0 0;
  font-size: clamp(34px, 10.5vw, 150px); line-height: .9; letter-spacing: -.01em;
  text-shadow: 0 0 18px rgba(255,255,255,.55), 0 0 60px rgba(255,255,255,.18);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font: 500 13px var(--mono); letter-spacing: .04em; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 4px 0 0 var(--cyan), -4px 0 0 var(--mag); }
.btn-solid { background: var(--ink); color: #000; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: #3a3a40; backdrop-filter: blur(6px); }
.globe {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, #000 19% 40%, #fff 41% 55%, #000 56%);
  box-shadow: inset 0 0 0 1.5px #fff;
}
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; font-size: 11px; color: var(--dim); letter-spacing: .2em; }
.scroll-hint .arrow { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 14vh, 160px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.label { font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 36px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.discord { width: min(92%, 440px); background: #1e1f22; border-radius: 10px; padding: 12px; font-family: system-ui, sans-serif; font-size: 13px; }
.dm-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #2b2d31; margin-bottom: 10px; }
.dm-avatar { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 40% 45%, #fff 0 22%, #000 23% 48%, #fff 49% 58%, #111 59%); }
.bot-tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 3px; vertical-align: 2px; }
.dm-msgs { display: flex; flex-direction: column; gap: 8px; }
.msg {
  background: #2b2d31; border-left: 3px solid var(--red); border-radius: 4px; padding: 8px 10px; color: #dbdee1; line-height: 1.45;
  opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .35s var(--ease);
}
.msg b { color: #fff; }
.msg.show { opacity: 1; transform: none; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.tags li { font: 12px var(--mono); padding: 5px 10px; border: 1px solid #2c2c32; border-radius: 999px; color: #b8b8bf; }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .5s var(--ease), opacity .8s var(--ease);
}
.card:hover { border-color: #3d3d44; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.06), transparent 60%);
}
.cards .card:nth-child(even) { transition-delay: .08s; }
.card-art { height: 170px; border-bottom: 1px solid var(--line); background: #08080a; position: relative; overflow: hidden; display: grid; place-items: center; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin: 6px 0 4px; line-height: 1; }
.card-sub { margin: 0 0 14px; font-family: var(--mono); color: var(--red); font-size: 13px; }
.card-body > p:not(.card-sub) { margin: 0; color: #b9b9c0; font-size: 14px; }
.card .tags { margin-top: 20px; }
.card-link { margin-top: 18px; align-self: flex-start; font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.card-link:hover { color: var(--red); }

/* Art : registre de royalties */
.ledger { width: min(84%, 340px); font: 13px var(--mono); }
.ledger div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #26262b; color: var(--dim); }
.ledger span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger .total { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: 4px; }
.ledger .total span { color: var(--ink); font-weight: 700; }
.ledger .total span:last-child { color: #000; background: var(--ink); padding: 0 6px; }

/* Art : roulette */
.roulette { width: 170px; height: 170px; }
.roulette .wheel { transform-origin: 100px 100px; animation: spin 9s linear infinite; }
.roulette .hub { fill: #050505; stroke: #fff; stroke-width: 3; }
.roulette .ball { fill: #fff; transform-origin: 100px 100px; animation: spin 3.2s linear infinite reverse; filter: drop-shadow(0 0 4px #fff); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Art : barres audio */
.art-bars { grid-template-rows: 1fr auto; padding: 22px 20px 14px; }
.bars { display: flex; align-items: center; gap: 4px; height: 120px; width: 100%; max-width: 380px; }
.bars i { flex: 1; background: var(--ink); border-radius: 2px; height: 10%; transition: height .09s linear; }
.bars i:nth-child(5n) { background: var(--red); }
.ratios { display: flex; gap: 10px; font-size: 11px; color: var(--dim); }
.ratios span { border: 1px solid #333; padding: 2px 8px; }
.ratios span.on { color: #000; background: var(--ink); border-color: var(--ink); }

/* Art : playlist */
.pl { width: min(84%, 340px); font-size: 13px; font-family: var(--mono); }
.pl-title { font-weight: 700; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--ink); letter-spacing: .06em; }
.pl-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--dim); animation: pl 5s infinite; }
.pl-row i { width: 18px; height: 18px; background: #222; flex: none; }
.pl-row:nth-child(2) { animation-delay: 0s; } .pl-row:nth-child(3) { animation-delay: 1s; } .pl-row:nth-child(4) { animation-delay: 2s; }
.pl-row:nth-child(5) { animation-delay: 3s; } .pl-row:nth-child(6) { animation-delay: 4s; }
@keyframes pl { 0%, 18% { color: var(--ink); } 20%, 100% { color: var(--dim); } }
.pl-row:nth-child(2) i, .pl-row:nth-child(3) i, .pl-row:nth-child(6) i { background: var(--red); }

/* Art : piano roll */
.roll { position: absolute; inset: 0; background:
  repeating-linear-gradient(to bottom, #0f0f12 0 13px, #0a0a0c 13px 14px),
  #0a0a0c; }
.roll::before { content: ""; position: absolute; top: 0; bottom: 0; left: 30%; width: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); z-index: 2; }
.roll .note { position: absolute; height: 12px; background: var(--ink); border-radius: 2px; }
.roll .note.r { background: var(--red); }
.roll-strip { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; display: block; animation: rollstrip 8s linear infinite; }
@keyframes rollstrip { to { transform: translateX(-50%); } }

/* Art : schéma d'architecture */
.graph { width: min(90%, 340px); }
.graph .wire { fill: none; stroke: #444; stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.graph .node rect { fill: #050505; stroke: #666; stroke-width: 1.5; }
.graph .node text { fill: var(--ink); font: 12px var(--mono); text-anchor: middle; }
.graph .node.hot rect { stroke: var(--red); filter: drop-shadow(0 0 6px var(--red)); }

/* ---------- Rôles et langages (hero) ---------- */
.roles {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px;
  margin: 22px 0 0; font-size: clamp(13px, 2.2vw, 20px); text-transform: uppercase; letter-spacing: .14em;
}
.role { border: 1px solid var(--ink); padding: 6px 12px; }
.role:last-child { background: var(--ink); color: #000; font-weight: 700; }
.role-x { color: var(--red); }
.hero-langs {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  padding: 0; margin: 20px 0 0; font-size: 12.5px; color: var(--dim);
}
.hero-langs li { display: flex; align-items: center; gap: 7px; }

/* Pastilles de couleur des langages (couleurs GitHub, éclaircies pour le noir) */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: #888; }
.dot[data-c="js"] { background: #f1e05a; }
.dot[data-c="sql"] { background: #4f8cc9; }
.dot[data-c="py"] { background: #3d7fc4; box-shadow: inset -4px 0 0 #ffd43b; }
.dot[data-c="gd"] { background: #6aa1d8; box-shadow: inset 0 0 0 2px #355570; }
.dot[data-c="css"] { background: #e34c26; box-shadow: inset -4px 0 0 #8e6fd8; }
.dot[data-c="sh"] { background: #89e051; }

/* ---------- Travaux : en-tête et filtre ---------- */
.work { padding-top: clamp(56px, 9vh, 100px); }
.work-head { position: sticky; top: 46px; z-index: 20; padding: 12px 0 16px; margin-bottom: 18px;
  background: linear-gradient(to bottom, var(--bg) 70%, rgba(5,5,5,0)); }
.work-head .label { margin-bottom: 14px; }
.filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.filter::-webkit-scrollbar { display: none; }
.filter button {
  flex: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font: 12.5px var(--mono); color: var(--dim); background: #0d0d10; border: 1px solid #2a2a30;
  border-radius: 999px; padding: 7px 13px; transition: color .2s, border-color .2s, background .2s;
}
.filter button:hover { color: var(--ink); border-color: #55555c; }
.filter button.on { color: #000; background: var(--ink); border-color: var(--ink); }

.card.dimmed { opacity: .18 !important; filter: grayscale(1); }
.card.dimmed:hover { opacity: .5 !important; }
.card { transition: border-color .3s, opacity .4s var(--ease), transform .8s var(--ease), filter .4s; }

.card-wide { grid-column: 1 / -1; flex-direction: row; }
.card-wide .card-art { height: auto; min-height: 240px; flex: 1.1; border-bottom: 0; border-right: 1px solid var(--line); padding: 20px 0; }
.card-wide .card-body { flex: 1; }
.card-wide h3 { font-size: clamp(34px, 5vw, 64px) !important; }
@media (max-width: 760px) {
  .card-wide { flex-direction: column; }
  .card-wide .card-art { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
}
.points { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 7px; }
.points li { position: relative; padding-left: 18px; font-size: 13.5px; color: #c4c4cb; line-height: 1.5; }
.points li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }

/* Langages d'un projet : la ligne la plus visible de chaque carte */
.langs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.langs li {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  padding: 5px 11px 5px 9px; border-radius: 4px; background: #1a1a1e; color: var(--ink); border: 1px solid #2c2c33;
}
.tech { margin: 12px 0 0; font-size: 12px; color: var(--dim); line-height: 1.6; }

/* Art : agents IA dans le terminal */
.art-agent { place-items: stretch; }
.agent { margin: 0; padding: 16px 18px; font-size: 11.5px; line-height: 1.7; color: #9b9ba3; white-space: pre-wrap; overflow: hidden; }
.agent .who { color: var(--red); font-weight: 700; }
.agent .ok { color: var(--ink); }

/* ---------- Compétences, façon CV ---------- */
.cv { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1000px) { .cv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cv { grid-template-columns: 1fr; } }
.cv-col { background: var(--bg); padding: 24px 22px 26px; }
.cv-col h3 { margin: 0 0 16px; font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.cv-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.lang-meter li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.lang-meter .bar { height: 4px; background: #1d1d22; position: relative; overflow: hidden; }
.lang-meter .bar b { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); transition: width 1.2s var(--ease); }
.lang-meter .n { font: 11px var(--mono); color: var(--dim); }
.lang-meter .name { display: flex; align-items: center; gap: 8px; min-width: 120px; }

/* ---------- Contact ---------- */
.contact { text-align: center; min-height: 90svh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-eyes { display: flex; gap: 18px; width: min(60vw, 300px); margin-bottom: 36px; }
.contact-title { margin-bottom: 36px !important; }
.contact-eyes .eye-svg { width: 50%; }
.contact-title {
  width: 100%; font-size: clamp(26px, 7vw, 104px); font-weight: 900; line-height: .98; margin: 0; max-width: 1200px;
  text-shadow: 0 0 20px rgba(255,255,255,.45);
}
.discord-handle {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  background: #0e0e11; color: var(--ink); border: 1px solid #333; border-radius: 16px;
  padding: 16px 22px; font: 800 clamp(18px, 3vw, 26px) var(--display);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.discord-handle:hover { transform: translateY(-3px); border-color: #5865f2; box-shadow: 5px 0 0 var(--cyan), -5px 0 0 var(--mag); }
.discord-logo { width: 30px; height: 30px; fill: #fff; }
.copy-hint { font-size: 11px; font-weight: 400; color: var(--dim); }
.discord-handle.copied .copy-hint { color: var(--red); }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--gutter) 34px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
