/* ---------- Polices (hébergées sur le site, licence SIL OFL) ---------- */
@font-face { font-family: "Orbitron"; font-weight: 600; font-display: swap; src: url("assets/polices/orbitron-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-weight: 800; font-display: swap; src: url("assets/polices/orbitron-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("assets/polices/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("assets/polices/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("assets/polices/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("assets/polices/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #07080c;
  --card: #12131acc;
  --card-solid: #12131a;
  --line: #ffffff14;
  --txt: #f1edf0;
  --mut: #a39ca8;
  --red: #ff3d5a;
  --red2: #ff7a8c;
  --red-soft: #ff3d5a22;
  --ok: #3ddc84;
  --warn: #ffc457;
  --radius: 14px;
  --title: "Orbitron", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: var(--red2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code { background: #ffffff12; padding: 1px 6px; border-radius: 5px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Fond : réseau animé ---------- */
body { background: radial-gradient(1200px 700px at 75% -10%, #3a0a1433, transparent 60%), radial-gradient(900px 600px at -10% 40%, #2a081022, transparent 60%), var(--bg); }
#reseau { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, #050608cc 100%),
    repeating-linear-gradient(0deg, transparent 0 3px, #00000033 3px 4px);
}

/* ---------- Barre de navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 48px); background: #07080cb3; backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav::after { /* fine ligne néon sous la barre */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .6;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--txt); font-family: var(--title); font-weight: 800; letter-spacing: 4px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 10px; animation: pulse 3.5s ease-in-out infinite; }
.links { display: flex; align-items: center; gap: 20px; }
.links a:not(.btn) { color: var(--mut); font-weight: 500; position: relative; }
.links a:not(.btn):hover, .links a[aria-current="page"] { color: var(--txt); text-decoration: none; }
.links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); box-shadow: 0 0 8px var(--red); border-radius: 2px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--txt); font-size: 1.3rem; border-radius: 8px; padding: 4px 10px; cursor: pointer; }

/* Pastille de statut */
.pill { display: none; align-items: center; gap: 7px; font-size: .85rem; color: var(--mut); border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; }
.pill.show { display: inline-flex; }
.dot-status { width: 9px; height: 9px; border-radius: 50%; background: #6b6670; flex: none; }
.dot-status.on { background: var(--ok); box-shadow: 0 0 0 0 #3ddc8499; animation: ping 2s infinite; }
.dot-status.off { background: var(--red); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; border-radius: 10px; padding: 10px 18px;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 0 24px #ff3d5a55; cursor: pointer; font: inherit; font-weight: 700;
}
.btn::before { /* reflet qui traverse le bouton au survol */
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, #ffffff55, transparent); transform: skewX(-20deg);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 36px #ff3d5a88; text-decoration: none; }
.btn:hover::before { left: 130%; transition: left .6s ease; }
.btn.small { padding: 7px 14px; font-size: .92rem; }
.btn.big { padding: 14px 26px; font-size: 1.05rem; }
.btn.ghost { background: #ffffff0a; border-color: #ffffff26; box-shadow: none; color: var(--txt); }
.btn.ghost:hover { border-color: var(--red); }

/* ---------- Accueil ---------- */
.hero {
  max-width: 1200px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) 16px 50px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center;
}
.hero-text .badge { display: inline-flex; align-items: center; gap: 8px; }
.hero-sub { font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 700; margin: 4px 0 10px; }
.tagline { color: var(--mut); margin: 0 0 26px; max-width: 540px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.counters { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.counters li { border-left: 2px solid var(--red); padding-left: 12px; }
.counters b { display: block; font-family: var(--title); font-size: 1.6rem; color: var(--red2); text-shadow: 0 0 18px #ff3d5a77; line-height: 1.2; }
.counters span { color: var(--mut); font-size: .88rem; }

/* Titre « glitch » */
.glitch {
  position: relative; display: inline-block; margin: 14px 0 0;
  font-family: var(--title); font-weight: 800; font-size: clamp(3.4rem, 11vw, 7rem); line-height: 1; letter-spacing: .12em;
  color: #fff; text-shadow: 0 0 18px #ff3d5a, 0 0 46px #ff3d5a88;
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
}
.glitch::before { color: #ff2b4f; transform: translate(3px, 0); clip-path: inset(0 0 60% 0); animation: glitch-a 3.2s infinite steps(1); mix-blend-mode: screen; }
.glitch::after { color: #6ef3ff; transform: translate(-3px, 0); clip-path: inset(55% 0 0 0); animation: glitch-b 2.7s infinite steps(1); mix-blend-mode: screen; opacity: .7; }
@keyframes glitch-a { 0%, 86%, 100% { transform: none; clip-path: inset(0 0 100% 0); } 88% { transform: translate(4px, -2px); clip-path: inset(10% 0 55% 0); } 92% { transform: translate(-3px, 1px); clip-path: inset(40% 0 30% 0); } 96% { transform: translate(2px, 0); clip-path: inset(70% 0 5% 0); } }
@keyframes glitch-b { 0%, 80%, 100% { transform: none; clip-path: inset(100% 0 0 0); } 83% { transform: translate(-4px, 2px); clip-path: inset(60% 0 10% 0); } 89% { transform: translate(3px, -1px); clip-path: inset(20% 0 60% 0); } }

/* Fausse fenêtre Discord animée */
.demo {
  background: #1e1f24f2; border: 1px solid #ffffff1c; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px #000c, 0 0 0 1px #ff3d5a22, 0 0 70px #ff3d5a2a; backdrop-filter: blur(8px);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s;
}
.demo:hover { transform: none; }
.demo-bar, .browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #16171bf2; border-bottom: 1px solid #ffffff12; font-size: .9rem; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3b42; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:last-child { background: #28c840; }
.demo-channel { font-weight: 700; color: #dbdee1; }
.demo-live { margin-left: auto; color: var(--red2); font-size: .72rem; font-weight: 800; letter-spacing: 1px; animation: blink 1.6s infinite; }
.demo-feed { height: 380px; overflow: hidden; padding: 14px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.demo-input { margin: 0 14px 14px; background: #383a40; border-radius: 8px; padding: 10px 14px; color: #8e9297; font-size: .9rem; min-height: 42px; }
.demo-input.typing { color: #dbdee1; }
.demo-input.typing span::after { content: "▍"; color: var(--red2); animation: blink 1s infinite; }
.msg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; animation: msg-in .35s ease both; }
.msg .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .95rem; }
.msg .av img { width: 38px; height: 38px; border-radius: 50%; }
.msg .who { font-weight: 700; font-size: .92rem; }
.msg .who .app { background: #5865f2; color: #fff; font-size: .6rem; padding: 1px 4px; border-radius: 3px; margin-left: 5px; vertical-align: 2px; }
.msg .who time { color: #949ba4; font-weight: 400; font-size: .72rem; margin-left: 6px; }
.msg .txt { color: #dbdee1; font-size: .92rem; overflow-wrap: anywhere; }
.msg .txt.cmd { color: var(--red2); font-family: ui-monospace, Consolas, monospace; }
.msg.deleted .txt { text-decoration: line-through; color: #ed4245; opacity: .7; }
.msg.gone { animation: msg-out .4s ease forwards; }
.emb { margin-top: 5px; background: #2b2d31; border-left: 4px solid var(--red); border-radius: 4px; padding: 8px 12px; font-size: .88rem; color: #dbdee1; max-width: 360px; }
.emb b { color: #fff; }
.emb .bar { height: 8px; background: #1e1f22; border-radius: 6px; margin-top: 6px; overflow: hidden; }
.emb .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red2)); border-radius: 6px; transition: width 1.2s ease; }
.emb .btn-d { display: inline-block; margin-top: 8px; background: var(--red); color: #fff; padding: 4px 10px; border-radius: 4px; font-weight: 600; font-size: .8rem; }
.mention { background: #5865f24d; color: #c9cdfb; border-radius: 3px; padding: 0 2px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes msg-out { to { opacity: 0; transform: translateX(-20px); height: 0; margin: 0; } }
@keyframes blink { 50% { opacity: .35; } }

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #0a0b10b3; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 42px; width: max-content; animation: defile 40s linear infinite; }
.marquee span { font-family: ui-monospace, Consolas, monospace; color: var(--mut); font-size: .95rem; white-space: nowrap; }
.marquee span:nth-child(3n+1) { color: var(--red2); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1140px; margin: 0 auto; padding: 70px 16px; }
.section.narrow { max-width: 860px; padding-top: 20px; }
.section > h2 { font-family: var(--title); font-size: clamp(1.5rem, 4vw, 2.2rem); text-align: center; margin: 0 0 10px; letter-spacing: 1px; }
.section > h2::after { content: ""; display: block; width: 70px; height: 3px; margin: 12px auto 0; background: var(--red); border-radius: 3px; box-shadow: 0 0 12px var(--red); }
.lead { color: var(--mut); text-align: center; max-width: 680px; margin: 0 auto 34px; }
.lead.left { text-align: left; margin-left: 0; }

/* En-tête des pages secondaires */
.page-hero { text-align: center; padding: clamp(40px, 7vw, 80px) 16px 30px; max-width: 860px; margin: 0 auto; }
.page-hero h1 { font-family: var(--title); font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 6px 0 10px; text-shadow: 0 0 24px #ff3d5a66; }
.page-hero .lead { margin-bottom: 0; }
.badge { display: inline-block; background: var(--red-soft); color: var(--red2); border: 1px solid #ff3d5a66; border-radius: 20px; padding: 3px 12px; font-size: .85rem; font-weight: 700; margin-bottom: 10px; }

/* Cartes avec halo qui suit la souris */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(6px); transition: border-color .2s, transform .2s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), #ff3d5a2e, transparent 60%);
}
.card:hover { border-color: #ff3d5a77; transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card .ico { font-size: 1.8rem; display: inline-block; width: max-content; align-self: flex-start; line-height: 1.2; transform-origin: center; transition: transform .3s; }
.card:hover .ico { transform: scale(1.15) rotate(-6deg); }
.card h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--mut); font-size: .95rem; }

/* ---------- Commandes ---------- */
.cmd-tools { max-width: 520px; margin: 0 auto 16px; }
#recherche {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card-solid); color: var(--txt); font: inherit; outline: none;
}
#recherche:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.cat { background: var(--card-solid); border: 1px solid var(--line); color: var(--mut); border-radius: 30px; padding: 7px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.cat:hover { color: var(--txt); }
.cat.active { background: var(--red-soft); border-color: var(--red); color: var(--red2); }
.cat small { opacity: .7; margin-left: 4px; }
.cmd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.cmd { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; backdrop-filter: blur(6px); transition: border-color .2s; animation: appear .3s ease both; }
.cmd:hover { border-color: #ff3d5a55; }
.cmd-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cmd-name { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-weight: 700; color: var(--red2); }
.cmd p { margin: 6px 0 0; color: var(--mut); font-size: .93rem; }
.subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.subs span { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; background: #ffffff0d; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; color: var(--txt); }
.tag-staff { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; background: #ffb02022; color: var(--warn); border: 1px solid #ffb02055; border-radius: 6px; padding: 1px 6px; font-weight: 700; }
.vide { text-align: center; color: var(--mut); grid-column: 1 / -1; }

/* ---------- Tableau de bord (aperçu) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.split h2 { text-align: left; font-family: var(--title); font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0 0 10px; }
.split h2::after { display: none; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.shot { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px #000a, 0 0 60px #ff3d5a22; transition: transform .4s; }
.shot:hover { transform: perspective(1000px) rotateY(-3deg) scale(1.02); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; backdrop-filter: blur(6px); }
.faq details[open] { border-color: #ff3d5a55; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 30px 12px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--red); font-size: 1.4rem; line-height: 1; top: 10px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); margin: 0 0 14px; }

.final { text-align: center; }
.final h2 { margin-bottom: 22px; }

/* ---------- Guide « Bien démarrer » ---------- */
.steps { list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--red), #ff3d5a11); }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--bg); border: 2px solid var(--red); color: var(--red2); font-family: var(--title); font-weight: 800;
  box-shadow: 0 0 16px #ff3d5a66;
}
.step-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; backdrop-filter: blur(6px); }
.step-body h2 { margin: 0 0 6px; font-size: 1.2rem; }
.step-body p { margin: 0 0 12px; color: var(--mut); }
.step-body p b { color: var(--txt); }
.cmd-copy {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left;
  background: #0b0c12; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; margin-top: 8px;
  color: var(--txt); font: inherit; cursor: pointer; transition: border-color .2s;
}
.cmd-copy code { background: none; padding: 0; color: var(--red2); overflow-wrap: anywhere; }
.cmd-copy::after { content: "Copier"; font-size: .8rem; color: var(--mut); flex: none; }
.cmd-copy:hover { border-color: var(--red); }
.cmd-copy.copied::after { content: "✓ Copié"; color: var(--ok); }
.mock-roles { display: flex; flex-direction: column; gap: 6px; max-width: 280px; }
.mock-roles .r { background: #0b0c12; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-weight: 600; color: var(--mut); }
.mock-roles .r-admin { color: #ff9f43; }
.mock-roles .r-cyber { color: var(--red2); border-color: var(--red); box-shadow: 0 0 14px #ff3d5a44; }
.mock-roles em { font-style: normal; font-weight: 400; color: var(--mut); font-size: .85rem; }

/* Faux message Discord */
.discord-msg { display: flex; gap: 12px; background: #313338; border-radius: 10px; padding: 12px 14px; margin-top: 14px; }
.discord-msg > img { border-radius: 50%; flex: none; }
.dm-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bot-tag { background: #5865f2; color: #fff; font-size: .65rem; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.dm-time { color: #949ba4; font-size: .75rem; }
.dm-embed { margin-top: 6px; background: #2b2d31; border-left: 4px solid var(--red); border-radius: 4px; padding: 10px 12px; }
.dm-embed p { margin: 4px 0 0; color: #dbdee1; }
.mention { background: #5865f24d; color: #c9cdfb; border-radius: 3px; padding: 0 2px; }
.note { margin-top: 10px; background: var(--red-soft); border: 1px solid #ff3d5a55; border-radius: 12px; padding: 14px 18px; }

/* ---------- Nouveautés ---------- */
.status-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 34px; backdrop-filter: blur(6px);
}
.status-card.on { border-color: #3ddc8466; }
.status-card.off { border-color: #ff3d5a66; }
.status-main { display: flex; align-items: center; gap: 14px; }
.status-main .dot-status { width: 14px; height: 14px; }
.status-main b { font-size: 1.1rem; }
.status-main p { margin: 2px 0 0; color: var(--mut); font-size: .92rem; }
.status-time { color: var(--mut); font-size: .85rem; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), #ff3d5a11); }
.release { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 18px; backdrop-filter: blur(6px); }
.release::before { content: ""; position: absolute; left: -28px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red); box-shadow: 0 0 10px var(--red); }
.rel-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.version { font-family: var(--title); font-weight: 800; color: var(--red2); }
.rel-head time { color: var(--mut); font-size: .9rem; }
.rel-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; border-radius: 6px; padding: 1px 7px; }
.rel-tag.new { background: #3ddc8422; color: var(--ok); border: 1px solid #3ddc8455; }
.release h2 { margin: 8px 0; font-size: 1.15rem; }
.release ul { margin: 0; padding-left: 20px; color: var(--mut); }
.release li { margin: 4px 0; }
.release li b { color: var(--txt); }

/* ---------- Pages légales ---------- */
.legal article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; backdrop-filter: blur(6px); }
.legal h2 { margin: 0 0 8px; font-size: 1.12rem; color: var(--red2); }
.legal p, .legal li { color: #d4cfd6; }
.legal p { margin: 0 0 10px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0; padding-left: 20px; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); background: #07080ce6; padding: 40px clamp(16px, 4vw, 48px) 26px; color: var(--mut); }
.foot-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot-grid h3 { color: var(--txt); font-size: .95rem; margin: 0 0 10px; }
.foot-grid a:not(.brand) { display: block; color: var(--mut); padding: 3px 0; }
.foot-grid a:not(.brand):hover { color: var(--txt); }
.foot-brand p { margin: 10px 0 0; max-width: 300px; }
.foot-bottom { max-width: 1140px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; text-align: center; }


/* ---------- Nouveaux éléments ---------- */
.kicker { display: block; text-align: center; font-family: ui-monospace, Consolas, monospace; color: var(--red2); letter-spacing: 3px; font-size: .8rem; margin-bottom: 8px; }
.split .kicker { text-align: left; }

/* Grille « bento » */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.bento .big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento .big h3 { font-size: 1.5rem; }
.bento .tall { grid-row: span 2; }
.bento .wide { grid-column: span 2; }
.term { margin-top: auto; padding-top: 16px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .85rem; }
.term > div { background: #07080ccc; border: 1px solid var(--line); padding: 8px 12px; color: var(--txt); overflow-wrap: anywhere; }
.term > div:first-child { border-radius: 9px 9px 0 0; border-bottom: 0; }
.term > div:last-child { border-radius: 0 0 9px 9px; }
.term .p { color: var(--red2); }
.term .ok { color: var(--ok); }
.mini-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.mini-list li { display: flex; align-items: center; gap: 10px; background: #07080c99; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: .9rem; }
.mini-list small { color: var(--mut); }
.xpbar { height: 10px; background: #07080c; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 14px 0 6px; }
.xpbar span { display: block; height: 100%; width: 77%; background: linear-gradient(90deg, var(--red), var(--red2)); box-shadow: 0 0 12px var(--red); animation: remplir 2.5s ease both; }
@keyframes remplir { from { width: 0; } }
.muted-s { color: var(--mut); font-size: .82rem; }

/* Recherche façon terminal */
.search { display: flex; align-items: center; gap: 10px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.search span { font-family: ui-monospace, Consolas, monospace; color: var(--red2); font-weight: 700; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
#recherche { border: 0; background: none; padding: 12px 0; box-shadow: none !important; font-family: ui-monospace, Consolas, monospace; }

/* Fenêtre de navigateur pour l'aperçu du tableau de bord */
.browser { border: 1px solid #ffffff1c; border-radius: 14px; overflow: hidden; background: #16171b; box-shadow: 0 30px 80px #000c, 0 0 70px #ff3d5a22; transform: perspective(1400px) rotateY(-5deg); transition: transform .5s; }
.browser:hover { transform: none; }
.browser .url { flex: 1; text-align: center; background: #0b0c10; border-radius: 6px; padding: 3px 10px; color: var(--mut); font-size: .8rem; }
.browser img { width: 100%; height: auto; }
.badge.soon { margin-top: 18px; }

/* Logo dans un anneau néon qui tourne */
.ring { position: relative; width: 190px; height: 190px; margin: 0 auto 26px; display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 0deg, transparent 0 25%, var(--red) 40%, var(--red2) 50%, transparent 65% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tourne 3s linear infinite; filter: drop-shadow(0 0 10px var(--red)); }
.ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed #ff3d5a55; animation: tourne 18s linear infinite reverse; }
.ring img { width: 130px; height: 130px; border-radius: 50%; box-shadow: 0 0 40px #ff3d5a66; }
@keyframes tourne { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-text { text-align: center; }
  .hero-text .cta, .counters { justify-content: center; }
  .tagline { margin-inline: auto; }
  .demo, .browser { transform: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .big, .bento .wide, .bento .tall { grid-column: auto; grid-row: auto; }
  .demo-feed { height: 340px; }
  .counters { gap: 18px; }
}

/* ---------- Animations ---------- */
@keyframes pulse { 0%, 100% { box-shadow: 0 0 10px #ff3d5a55; } 50% { box-shadow: 0 0 22px #ff3d5aaa; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 60px #ff3d5a2a; } 50% { box-shadow: 0 0 100px #ff3d5a55; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #3ddc8499; } 70% { box-shadow: 0 0 0 8px #3ddc8400; } 100% { box-shadow: 0 0 0 0 #3ddc8400; } }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #07080cf2; border-bottom: 1px solid var(--line); display: none; padding: 8px 16px 16px;
  }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .links a[aria-current="page"]::after { display: none; }
  .links .pill.show { align-self: flex-start; margin-top: 12px; }
  .links .btn { margin-top: 12px; }
  .split { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .cmd-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .step { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .step-num { width: 34px; height: 34px; font-size: .85rem; }
  .steps::before { left: 16px; }
}

/* ---------- Ajouts du 29/10/2026 : langue, captures, modules sur mesure, 404 ---------- */
.links a.lang { font-family: var(--title); font-size: .78rem; letter-spacing: .08em; border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.links a.lang:hover { border-color: var(--red); }
.cta.centre { justify-content: center; margin-top: 26px; }
.term .ko { color: var(--red2); }
.note-langue { margin-top: 18px; }

.captures-onglets { margin-top: 6px; }
.browser.capture { max-width: 1000px; margin: 0 auto; transform: none; }
.browser.capture img { transition: opacity .25s; }
.browser.capture img.change { opacity: .25; }
figure.browser { margin: 0; }

.cassette { justify-self: center; width: min(360px, 100%); animation: float 6s ease-in-out infinite; }
.cassette-corps {
  position: relative; aspect-ratio: 1.6; border-radius: 16px; padding: 18px;
  background: linear-gradient(145deg, #1a1b23, #0d0e13); border: 1px solid #ff3d5a55;
  box-shadow: 0 20px 60px #000a, 0 0 50px #ff3d5a33, inset 0 0 0 6px #ffffff06;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cassette-etiquette { align-self: stretch; text-align: center; background: var(--red-soft); border: 1px dashed #ff3d5a88; border-radius: 8px; padding: 8px; font-family: var(--title); font-size: .78rem; letter-spacing: .08em; color: var(--mut); }
.cassette-etiquette b { color: var(--red2); }
.cassette-bobines { display: flex; justify-content: center; gap: 26%; }
.cassette-bobines i { width: 22%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #ff3d5a99; background: radial-gradient(circle, #07080c 0 30%, #ff3d5a33 31% 60%, #07080c 61%); animation: tourne 6s linear infinite; }
.cassette-fente { margin: 12px auto 0; width: 80%; text-align: center; padding: 6px; border-radius: 8px; background: #07080c; border: 1px solid var(--line); color: var(--mut); font-size: .82rem; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.cassette.petite { width: min(260px, 100%); margin-top: 16px; animation: none; }

.erreur-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.erreur-404 h1.glitch { font-size: clamp(4rem, 18vw, 8rem); margin: 10px 0; }
.erreur-404 .term { width: min(420px, 100%); text-align: left; margin-top: 10px; }
.erreur-404 .muted-s { margin-top: 22px; }
/* Le menu a plus de liens : il passe en menu ☰ dès 1120 px pour ne jamais couper « Tableau de bord » sur deux lignes */
.links a { white-space: nowrap; }
@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #07080cf2; border-bottom: 1px solid var(--line); display: none; padding: 8px 16px 16px;
  }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .links a.lang { align-self: flex-start; margin-top: 12px; padding: 4px 10px; border: 1px solid var(--line); }
  .links a[aria-current="page"]::after { display: none; }
  .links .pill.show { align-self: flex-start; margin-top: 12px; }
  .links .btn { margin-top: 12px; }
}
