/* ==========================================================================
   TRACE — pages de texte (mentions légales, confidentialité).
   Reprend les jetons du site principal, sans en dépendre.
   ========================================================================== */

:root { --y: #f2c230; --line: rgba(255,255,255,.1); --muted: #93aabb; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #061725;
  color: #f7fbff;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--y); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--y); color: #071827; padding: 14px 20px; font-weight: 800; }
.skip:focus { left: 0; }

nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 5vw;
  background: rgba(6,23,37,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; gap: 3px; }
.brand img { height: 40.8px; width: auto; display: block; }
.brand-slogan { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; color: #f7fbff; font-weight: 700; font-size: 14px;
}
.back:hover { border-color: var(--y); color: var(--y); text-decoration: none; }

header { padding: 70px 5vw 40px; background: radial-gradient(circle at 18% 25%, rgba(31,105,157,.25), transparent 32%); }
.eyebrow { color: var(--y); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: .96; letter-spacing: -.05em; margin: 14px 0 0; }
.updated { color: var(--muted); font-size: 13px; margin-top: 14px; }

main { padding: 10px 5vw 90px; }
.doc { max-width: 760px; }
.doc h2 { font-size: 22px; letter-spacing: -.02em; margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 26px; }
.doc h3 { font-size: 15px; margin: 22px 0 6px; }
.doc p, .doc li { color: #c6d5df; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc dl { display: grid; grid-template-columns: 210px 1fr; gap: 10px 20px; margin: 18px 0 0; }
.doc dt { color: var(--muted); font-size: 13px; }
.doc dd { margin: 0; }
.todo {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: rgba(242,194,48,.12); border: 1px solid rgba(242,194,48,.35);
  color: var(--y); font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.note {
  margin-top: 40px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgba(242,194,48,.25); background: rgba(242,194,48,.04);
  color: #c6d5df; font-size: 14px;
}

footer { border-top: 1px solid var(--line); padding: 26px 5vw; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--y); }

@media (max-width: 620px) {
  .doc dl { grid-template-columns: 1fr; gap: 2px 0; }
  .doc dt { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ==========================================================================
   Selecteur de langue. La langue courante est un <button> inerte, les trois
   autres sont de vrais liens vers la meme page ailleurs — d'ou deux regles
   plutot qu'une. Meme aspect que sur l'accueil et le catalogue.
   ========================================================================== */
.lang-switch {
  display: flex; align-items: center; gap: 4px; padding: 4px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  background: rgba(6,23,37,.65);
}
.lang-switch a, .lang-switch button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 7px 8px; border: 0; border-radius: 7px;
  background: transparent; color: #7894a7;
  font-size: 10px; font-weight: 900; text-decoration: none;
}
.lang-switch a:hover { color: #f2c230; }
.lang-switch button { cursor: default; }
.lang-switch button.active { background: #f2c230; color: #071827; }
@media (max-width: 980px) {
  .lang-switch a, .lang-switch button { min-height: 44px; padding: 7px 11px; }
}
