/* Aide — Assistance Aventurier Digital */
:root {
  --bg: #f6f7f9; --card: #ffffff; --text: #1a1d21; --muted: #5b6470; --line: #e2e5ea;
  --accent: #e8743b; --accent-soft: #fdf0e9; --ok: #2f9e6e; --warn-bg: #fff7e6; --warn-line: #f0c36d;
  --mark: #ff3b30; --code-bg: #eef0f3;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111418; --card: #1b2027; --text: #e8ecf1; --muted: #9aa5b3; --line: #2c333d;
    --accent-soft: #3a2519; --warn-bg: #2e2716; --warn-line: #7a6128; --code-bg: #262c35;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
a:hover { text-decoration: none; }
header.top { background: #16191e; color: #fff; }
header.top .in { max-width: 860px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
header.top .logo { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 14px/34px system-ui; text-align: center; flex: none; }
header.top a.home { color: #fff; text-decoration: none; font-weight: 600; }
header.top nav { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; }
header.top nav a { color: #c9d1db; text-decoration: none; }
header.top nav a:hover { color: #fff; }
main { max-width: 860px; margin: 0 auto; padding: 28px 16px 64px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 28px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 8px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 66px; margin: 0 0 16px; }
.steps > li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 16px/32px system-ui; text-align: center; }
.steps > li > strong:first-child { display: block; font-size: 18px; margin-bottom: 4px; }
figure { margin: 14px 0 4px; }
figure img { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #0f1215; }
figure.small img { max-width: 520px; width: 100%; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.num { display: inline-block; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--mark); color: #fff; font: 700 13px/22px system-ui; text-align: center; vertical-align: 1px; }
.btn { display: inline-block; padding: 1px 9px; border-radius: 7px; background: var(--code-bg); border: 1px solid var(--line); font-weight: 600; font-size: 15px; white-space: nowrap; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.stop { background: #d93636; border-color: #d93636; color: #fff; }
code { background: var(--code-bg); padding: 1px 6px; border-radius: 6px; font-size: 15px; word-break: break-word; }
.note { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.warn { background: var(--warn-bg); border-left: 4px solid var(--warn-line); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.ok { color: var(--ok); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 24px; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile b { display: block; font-size: 18px; margin-bottom: 4px; color: var(--text); }
.tile span { color: var(--muted); font-size: 15px; }
.tile .who { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
/* Illustration simplifiée de l'avertissement de Windows (pas une capture) */
.smartscreen { max-width: 460px; background: #1f5fae; color: #fff; border-radius: 6px; padding: 18px 20px; font: 15px/1.5 "Segoe UI", system-ui, sans-serif; position: relative; }
.smartscreen .t { font-size: 22px; font-weight: 300; margin-bottom: 8px; }
.smartscreen .lk { text-decoration: underline; display: inline-block; padding: 2px 4px; }
.smartscreen .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.smartscreen .b { border: 2px solid #fff; padding: 4px 14px; font-weight: 600; }
.smartscreen .b.ghost { border-color: rgba(255,255,255,.6); }
.ring { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 6px; }
footer { max-width: 860px; margin: 0 auto; padding: 0 16px 40px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 25px; }
  .steps > li { padding: 16px 16px 16px 56px; }
  .steps > li::before { left: 12px; }
}
