:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #e4e4e7; background: #0f1115; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 960px; margin: auto; padding: 24px; }
header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid #303239; }
header > a { font-size: 1.3rem; font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
a { color: #8ab4ff; text-underline-offset: 4px; }
a:hover { color: #b3edff; }
a:focus-visible { outline: 2px solid #8ab4ff; outline-offset: 5px; }
main { line-height: 1.75; min-height: 65vh; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.035em; }
h2 { margin-top: 2rem; font-size: 1.3rem; color: #fafafa; }
.intro { font-size: 1.2rem; color: #d4d4d8; }
.date { color: #a1a1aa; font-size: .9rem; }
.button { display: inline-block; background: #8ab4ff; color: #0f1115; padding: 10px 20px; border-radius: 8px; font-weight: 650; text-decoration: none; }
.button:hover { color: #0f1115; background: #8ee5ff; }
li { margin-bottom: .6rem; }
code { overflow-wrap: anywhere; }
footer { border-top: 1px solid #303239; font-size: .9rem; color: #a1a1aa; line-height: 1.7; }
@media (max-width: 600px) { header, main, footer { padding: 20px; } }

p { overflow-wrap: anywhere; }
.marque { display: inline-flex; align-items: center; gap: 10px; }
.tableau { overflow-x: auto; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.5; }
caption { text-align: left; color: #a1a1aa; font-size: .9rem; margin-bottom: .5rem; }
th, td { border: 1px solid #303239; padding: 8px 12px; text-align: left; vertical-align: top; }
thead th { background: #1a1d24; color: #fafafa; }
nav a[aria-current="page"] { color: #fafafa; text-decoration: none; font-weight: 600; }
header nav .connexion { border: 1px solid #303239; border-radius: 8px; padding: 0 10px; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: .9rem; color: #a1a1aa; }
.ariane li { margin: 0; }
.ariane li + li::before { content: "›"; margin-right: 6px; }
header nav { align-items: center; }
header nav .cta { background: #8ab4ff; color: #0f1115; border-radius: 8px; padding: 0 12px; font-weight: 650; text-decoration: none; }
header nav .cta:hover { background: #8ee5ff; color: #0f1115; }
.encart { margin-top: 3rem; padding: 8px 24px 16px; border: 1px solid #303239; border-radius: 12px; background: #15181e; }
.etapes li { padding-left: 4px; }
.garanties { font-size: .92rem; color: #a1a1aa; }
/* Sur mobile, l'en-tête se limite à la connexion et à l'inscription : le CTA reste
   visible sans défiler ; toutes les pages restent liées dans le pied de page. */
@media (max-width: 600px) { header nav a:not(.connexion):not(.cta) { display: none; } }
