/* Aura Linux — site officiel. Clair et sombre (réglage de l'appareil, ou bouton de l'en-tête). Polices hébergées sur le site (aucune requête vers un autre serveur). */
@font-face { font-family: "Aura Display"; src: url("fonts/aura-display-200.woff") format("woff"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Aura Display"; src: url("fonts/aura-display-300.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aura Text"; src: url("fonts/aura-text-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aura Text"; src: url("fonts/aura-text-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aura Text"; src: url("fonts/aura-text-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Aura Mono"; src: url("fonts/aura-mono-400.woff") format("woff"); font-weight: 400; font-display: swap; }

/* Mise en page : ciel du matin clair, une seule scène forte (le bureau qui change de style), le reste en colonnes calmes. */
:root {
  --page: #f6f7fc; --surface: #ffffff; --surface-2: #eef0fa; --line: #dfe2f1;
  --ink: #161a3b; --mist: #575d86; --orb: #4a63ec; --orb-ink: #ffffff; --violet: #7a4fe6;
  --glow: rgba(90, 116, 240, .14); --header: rgba(246, 247, 252, .86); --edge: #b9c3f6; --shadow: rgba(30, 40, 110, .45);
  --display: "Aura Display", "Segoe UI", system-ui, sans-serif;
  --body: "Aura Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Aura Mono", ui-monospace, "DejaVu Sans Mono", monospace;
  color-scheme: light;
}
/* sombre : nuit d'aurore (même bleu-violet, contrastes vérifiés) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0c0f24; --surface: #141836; --surface-2: #1b2045; --line: #2a3163; --ink: #eceeff; --mist: #a6acd8;
    --orb: #8a9bff; --orb-ink: #0b0e2a; --violet: #a585ff; --glow: rgba(122, 140, 255, .20); --header: rgba(12, 15, 36, .82);
    --edge: #4553a8; --shadow: rgba(0, 0, 0, .65); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0c0f24; --surface: #141836; --surface-2: #1b2045; --line: #2a3163; --ink: #eceeff; --mist: #a6acd8;
  --orb: #8a9bff; --orb-ink: #0b0e2a; --violet: #a585ff; --glow: rgba(122, 140, 255, .20); --header: rgba(12, 15, 36, .82);
  --edge: #4553a8; --shadow: rgba(0, 0, 0, .65); color-scheme: dark;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.6 var(--body); }
img { max-width: 100% }
a { color: var(--orb) }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; text-wrap: balance; margin: 0 }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: .005em }
.eyebrow { font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--mist); margin: 0 0 10px }
:focus-visible { outline: 2px solid var(--orb); outline-offset: 3px; border-radius: 6px }
.skip { position: absolute; left: -999px } .skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20 }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--page) }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--header); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line) }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink) }
.brand img { width: 34px; height: 34px }
.brand span { font: 300 15px var(--display); letter-spacing: .38em }
nav.links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center }
nav.links a { color: var(--mist); text-decoration: none; font-size: 14px }
nav.links a:hover { color: var(--ink) }
button.theme { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer }
button.theme:hover { background: var(--surface-2) }
button.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round }
button.theme .moon { fill: currentColor; stroke: none }
button.theme .sun { display: none } button.theme .sun circle { fill: currentColor; stroke: none }
:root[data-theme="dark"] button.theme .sun { display: block } :root[data-theme="dark"] button.theme .moon { display: none }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) button.theme .sun { display: block } :root:not([data-theme="light"]) button.theme .moon { display: none } }
nav.links a.buy { color: var(--orb-ink); background: var(--orb); border-radius: 999px; padding: 4px 14px; font-weight: 600 }
nav.links a.buy:hover { color: var(--orb-ink); filter: brightness(1.06) }
nav.links a[aria-current="page"]:not(.buy) { color: var(--ink); font-weight: 600 }
nav.links a.lang { color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-weight: 500 }

.hero { padding-block: 56px 40px; position: relative; overflow: hidden }
.hero::before { content: ""; position: absolute; inset: -18% -10% auto auto; width: 640px; height: 640px; max-width: 100%; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none }
.hero .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; position: relative }
.wordmark { font: 200 clamp(40px, 7vw, 68px)/1 var(--display); letter-spacing: .32em; margin: 18px 0 6px }
.wordmark small { display: block; font-size: .3em; letter-spacing: 1.1em; color: var(--mist); margin-top: 14px }
.lede { font-size: 19px; color: var(--mist); max-width: 34ch; margin: 22px 0 28px }
.lede b { color: var(--ink); font-weight: 500 }
.cta { display: flex; gap: 12px; flex-wrap: wrap }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 15px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer }
.btn.primary { background: var(--orb); color: var(--orb-ink) }
.btn.primary:hover { filter: brightness(1.06) }
.btn.ghost { color: var(--ink); border-color: var(--line); background: var(--surface) }
.btn.ghost:hover { background: var(--surface-2) }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--mist); border-color: var(--line); cursor: default; pointer-events: none }
.facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: 13px; color: var(--mist) }
.facts b { display: block; font: 400 20px var(--display); color: var(--ink) }

.stage { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.switch { display: flex; gap: 6px; flex-wrap: wrap; align-items: center }
.switch button { font: 500 13px var(--body); color: var(--mist); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer }
.switch button[aria-pressed="true"] { color: var(--page); background: var(--ink); border-color: var(--ink) }
.switch .sep { flex: 1 }
.desk { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0b0d22 center/cover no-repeat; box-shadow: 0 30px 70px -34px var(--shadow); transition: background-image .4s }
.desk.w-aurore-dark { background-image: url("../img/aurore-dark.jpg") } .desk.w-aurore-light { background-image: url("../img/aurore-light.jpg") }
.desk.w-classique-dark { background-image: url("../img/classique-dark.jpg") } .desk.w-classique-light { background-image: url("../img/classique-light.jpg") }
.desk.w-ptera-dark { background-image: url("../img/ptera-dark.jpg") } .desk.w-ptera-light { background-image: url("../img/ptera-light.jpg") }
.desk > * { position: absolute; transition: opacity .35s, transform .35s }
.desk .off { opacity: 0; pointer-events: none }
.glass { background: rgba(20, 22, 40, .55); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14) }
.desk.light .glass { background: rgba(250, 250, 255, .62); border-color: rgba(20, 24, 60, .10) }
.ic { width: 7.5%; aspect-ratio: 1; border-radius: 24%; flex: none; display: block }
.c1 { background: linear-gradient(135deg, #4fa3ff, #2f6bff) } .c2 { background: linear-gradient(135deg, #43e0a8, #1aa37a) } .c3 { background: linear-gradient(135deg, #ffb84d, #ff7a3d) }
.c4 { background: linear-gradient(135deg, #b07bff, #7b3df0) } .c5 { background: linear-gradient(135deg, #ff6b8b, #e8335a) } .c6 { background: linear-gradient(135deg, #6b7aa8, #3b4670) }
.mac-bar { inset: 0 0 auto; height: 4.6%; display: flex; align-items: center; gap: 2.4%; padding: 0 2%; font: 500 clamp(6px, 1.05vw, 11px) var(--body); color: #fff }
.desk.light .mac-bar { color: #15183a }
.mac-bar .orb { width: 2.2%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #cfeaff, #5b8cff 45%, #7a3df0) }
.mac-bar .clock { margin-left: auto }
.mac-dock { left: 22%; right: 22%; bottom: 3%; height: 11%; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 2%; padding: 0 2% }
.mac-dock .ic { width: 10% }
.win-bar { inset: auto 0 0; height: 8%; display: flex; align-items: center; justify-content: center; gap: 1.2% }
.win-bar .ic { width: 3.6% }
.win-start { width: 3.6%; aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding: .3% }
.win-start i { border-radius: 22%; background: linear-gradient(135deg, #6fd0ff, #2a7cff) }
.win-menu { left: 28%; right: 28%; bottom: 10%; height: 66%; border-radius: 10px; padding: 3.2% 3.6%; display: flex; flex-direction: column; gap: 6% }
.win-menu .search { height: 9%; border-radius: 999px; background: rgba(255, 255, 255, .10); border-bottom: 2px solid #6b8dff }
.desk.light .win-menu .search { background: rgba(255, 255, 255, .8) }
.win-menu .grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9% 8% }
.win-menu .grid6 .ic { width: 100% }
.win-menu .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center }
.win-menu .foot i { width: 7%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #9b6cff, #4fa3ff) }
.win-menu .foot b { width: 5%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7) }
.desk.light .win-menu .foot b { border-color: rgba(20, 24, 60, .6) }
.cr-shelf { left: 1%; right: 1%; bottom: 1.6%; height: 8%; display: flex; align-items: center; gap: 1.4%; padding: 0 1.2%; border-radius: 999px }
.cr-shelf .launch { width: 4.4%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85) }
.desk.light .cr-shelf .launch { border-color: rgba(20, 24, 60, .7) }
.cr-shelf .apps { flex: 1; display: flex; justify-content: center; gap: 1.6% }
.cr-shelf .apps .ic { width: 5%; border-radius: 50% }
.cr-shelf .status { width: 14%; height: 64%; border-radius: 999px; background: rgba(255, 255, 255, .16) }
.cl-bar { inset: auto 0 0; height: 7.5%; display: flex; align-items: center; gap: 1.2%; padding: 0 1.4% }
.cl-bar .menu { width: 3.4%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #cfeaff, #5b8cff 45%, #7a3df0) }
.cl-bar .ic { width: 3.2% }
.cl-bar .tray { margin-left: auto; width: 16%; height: 48%; border-radius: 6px; background: rgba(255, 255, 255, .14) }
.pt-bar { inset: 0 0 auto; height: 4.8%; display: flex; align-items: center; justify-content: center; padding: 0 1.4%; border-radius: 0; border-width: 0 0 1px }
.pt-bar .pt-logo { position: absolute; left: 1.2%; height: 72%; aspect-ratio: 1 }
.desk.light .pt-bar .pt-logo { filter: invert(1) brightness(.35) }
.pt-bar .pt-clock { font: 600 clamp(6px, 1.05vw, 11px) var(--body); color: #fff }
.desk.light .pt-bar .pt-clock { color: #15183a }
.pt-bar .pt-tray { position: absolute; right: 1.2%; display: flex; gap: 6px; padding: .5% 1%; border-radius: 999px; background: rgba(255, 255, 255, .14) }
.pt-bar .pt-tray i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .9) }
.desk.light .pt-bar .pt-tray i { background: rgba(20, 24, 60, .75) }
.pt-dock { left: 50%; transform: translateX(-50%); bottom: 2.6%; height: 10%; border-radius: 16px; display: flex; align-items: center; gap: 6px; padding: 0 8px; width: max-content }
.desk .pt-dock.off { transform: translateX(-50%) }
.pt-dock .ic { width: auto; height: 74% }
.pt-grid { height: 74%; aspect-ratio: 1; display: block }
.desk-caption { font-size: 14px; color: var(--mist); min-height: 2.8em; margin: 0 }

section.band { padding-block: 64px; border-top: 1px solid var(--line) }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px }
.split > div { min-width: 0 }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin: 0; padding: 0; list-style: none }
.features li { padding-top: 14px; border-top: 1px solid var(--line) }
.features h3 { font-size: 19px; font-weight: 400; margin-bottom: 6px }
.features p { margin: 0; color: var(--mist); font-size: 15px }
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px }
.edition { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.edition.main { border-color: var(--edge) }
.edition h3 { font-size: 24px }
.edition .for { color: var(--mist); margin: 0; font-size: 15px }
.edition ul { margin: 0; padding-left: 18px; font-size: 15px }
.file { font: 13px var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 6px; min-width: 0 }
.file .row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.file .k { color: var(--mist) }
.file .sha { overflow-wrap: anywhere }
.file button { font: 500 12px var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; cursor: pointer }
.edition .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center }
.edition .soon { font-size: 13px; color: var(--mist) }
.note { color: var(--mist); font-size: 14px; margin-top: 18px }
.intro { color: var(--mist); max-width: 70ch; margin: 14px 0 0 }
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px }
.shelf { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; min-width: 0 }
.shelf h3 { font-size: 18px; font-weight: 400; margin-bottom: 10px }
.shelf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.shelf li { display: flex; flex-direction: column; padding-top: 8px; border-top: 1px solid var(--line) }
.shelf li:first-child { border-top: 0; padding-top: 0 }
.story { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--line); display: grid; gap: 28px }
.story li { position: relative; min-width: 0 }
.story li::before { content: ""; position: absolute; left: -32px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--orb) }
.story li:last-child::before { background: var(--orb) }
.story h3 { font-size: 19px; font-weight: 400; margin-bottom: 6px }
.story p { margin: 0; color: var(--mist); font-size: 15px }
.origin { position: relative; margin: 24px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface) }
.origin > img:first-child { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover }
.origin .badge { position: absolute; left: 14px; top: 14px; width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: rgba(255, 255, 255, .85); padding: 6px }
.origin.solo > img:first-child { aspect-ratio: auto; max-height: 180px; object-fit: contain; padding: 20px }
.origin figcaption { font-size: 13px; color: var(--mist); padding: 10px 14px }
.shelf li b { font-weight: 500 } .shelf li span { color: var(--mist); font-size: 14px }
.note code { font-family: var(--mono) }
.steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px }
.steps li { counter-increment: s; min-width: 0 }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font: 400 14px var(--display); color: var(--orb); margin-bottom: 10px }
.steps h3 { font-size: 18px; font-weight: 400; margin-bottom: 4px }
.steps p { margin: 0; color: var(--mist); font-size: 15px }
.table-wrap { overflow-x: auto; margin-top: 18px }
table.keys { border-collapse: collapse; font-size: 14px; min-width: 420px }
table.keys th, table.keys td { text-align: left; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line) }
table.keys th { color: var(--mist); font-weight: 500 }
table.keys code { font-family: var(--mono) }
.req { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 24px }
.req div { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0 }
.req b { display: block; font: 300 26px var(--display); font-variant-numeric: tabular-nums }
.req span { color: var(--mist); font-size: 14px }
footer { border-top: 1px solid var(--line); padding-block: 32px 48px; color: var(--mist); font-size: 14px }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap }
footer .legal { display: flex; gap: 18px; flex-wrap: wrap }
footer .mail { font-family: var(--mono); color: var(--ink); user-select: all }
/* pages : achat, didacticiel, conditions de vente */
main.sub .band.first { border-top: 0; padding-top: 44px }
.h1 { font: 300 clamp(30px, 5vw, 46px)/1.15 var(--display); margin: 0 0 6px }
.h3 { font: 400 22px var(--display); margin: 0 0 12px }
.links-line { margin: 18px 0 0; color: var(--mist); font-size: 15px }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px } .price b { font: 300 34px var(--display) } .price span { color: var(--mist); font-size: 13px }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 44px }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px } .checks li { padding-left: 28px; position: relative }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--orb); mask: none; box-shadow: inset 0 0 0 4px var(--surface) }
.faq details { border-top: 1px solid var(--line); padding: 12px 0 } .faq summary { cursor: pointer; font-weight: 500 } .faq p { color: var(--mist); margin: 8px 0 0 }
.guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start }
.guide aside { position: sticky; top: 84px } .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px }
.toc a { color: var(--mist); text-decoration: none } .toc a:hover { color: var(--ink) }
.step { border-top: 1px solid var(--line); padding: 26px 0; scroll-margin-top: 80px } .step h2 { font: 400 24px var(--display); margin-bottom: 12px }
.step p, .step li { color: var(--mist) } .step b { color: var(--ink); font-weight: 500 } .step ul, .step ol { padding-left: 20px; display: grid; gap: 6px }
.cmds { display: grid; gap: 10px; margin-top: 12px } .cmds div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px }
.cmds code { display: block; font: 13px var(--mono); margin-top: 4px; overflow-wrap: anywhere; color: var(--ink) }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px } .tool h3 { font-size: 19px; margin-bottom: 6px } .tool h3 span { color: var(--mist); font-size: 14px }
.wizard { counter-reset: w; list-style: none; padding: 0 !important } .wizard li { counter-increment: w; position: relative; padding-left: 40px }
.wizard li::before { content: counter(w); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--orb); color: var(--orb-ink); font-size: 13px; font-weight: 600 }
.tip { background: var(--surface-2); border-radius: 10px; padding: 10px 14px; font-size: 14px }
.narrow { max-width: 820px } .draft { background: var(--surface-2); border: 1px dashed var(--edge); border-radius: 10px; padding: 10px 14px; color: var(--mist); font-size: 14px }
@media (max-width: 860px) {
  .guide, .split2, .two { grid-template-columns: minmax(0, 1fr); gap: 24px } .guide aside { position: static }
  .hero .grid, .split { grid-template-columns: minmax(0, 1fr); gap: 32px }
  .features, .editions, .steps, .shop { grid-template-columns: minmax(0, 1fr) }
  .req { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  nav.links a:not(.lang):not(.buy) { display: none }
}
@media (max-width: 1080px) and (min-width: 861px) { .shop { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } .desk, .desk > * { transition: none } }
