/* Couche de thème Orizon (DA d'orizon.sx revue le 18 novembre 2026) pour les pages de compléments (ateliers, parcours, simulations).
   Chargée après les styles propres à chaque page : elle redéfinit les couleurs neutres, l'accent et la typographie
   sans toucher aux couleurs porteuses de sens (vert = prudent, orange/rouge = risque, catégories d'exercice). */

@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

html:root {
  color-scheme: light;
  /* Neutres Orizon */
  --ink: #14122b;
  --paper: #ffffff;
  --surface: #ffffff;
  --white: #ffffff;
  --card: #ffffff;
  --muted: #4b4a63;
  --soft: #4b4a63;
  --line: #dcd6ea;
  /* Accent principal : le bleu d'origine devient le violet Orizon */
  --blue: #6d28d9;
  --blue-light: #f5f3ff;
  --blue-soft: #f5f3ff;
  /* Catégorie distincte du bleu (ex. « Secret ») : prune, pour rester différenciée du violet */
  --purple: #9d2b6b;
  --purple-soft: #fcebf3;
  --shadow: 0 1px 1px rgba(20, 18, 43, .03), 0 10px 28px -14px rgba(48, 36, 92, .16);
  --oz-violet: #6d28d9;
  --oz-violet-50: #f5f3ff;
  --oz-violet-200: #ddd6fe;
  --oz-line: #ebe7f3;
}

html body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
html body h1, html body h2 { font-family: "Inter", system-ui, sans-serif; font-weight: 500; letter-spacing: -.03em; }
html body h3, html body h4 { font-family: "Inter", system-ui, sans-serif; font-weight: 600; letter-spacing: -.014em; }
html body a:not([class]) { color: var(--oz-violet); text-underline-offset: 3px; }
html body :focus-visible { outline-color: #7c3aed; }

/* Boutons : rectangles à coins à peine arrondis, encre profonde qui passe au violet, comme sur orizon.sx */
html body .button, html body button:not([role="tab"]):not(.oz-plain) { border-radius: 6px; font-family: inherit; }
html body .button.primary, html body button.primary {
  background: #1d1638; border-color: #1d1638; color: #fff;
  box-shadow: 0 6px 16px -8px rgba(29, 22, 56, .6);
}
html body .button.primary:hover, html body button.primary:hover { background: var(--oz-violet); border-color: var(--oz-violet); }
html body input[type="checkbox"], html body input[type="radio"], html body progress { accent-color: var(--oz-violet); }

/* Bandeau Orizon ajouté en tête de chaque complément */
.oz-bar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); border-bottom: 1px solid rgba(48, 36, 92, .07); font: 500 .9rem/1.4 "Inter", system-ui, sans-serif; }
.oz-bar .oz-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.25rem; width: min(1216px, calc(100% - 2.5rem)); margin: 0 auto; padding: .7rem 0; }
.oz-bar .oz-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.oz-bar .oz-brand img { width: auto; height: 28px; }
.oz-bar .oz-brand .oz-word { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; }
.oz-bar .oz-brand .oz-word b { font-weight: 600; color: #7c3aed; }
.oz-bar .oz-brand .oz-tag { padding: .15rem .55rem; border-radius: 999px; background: #f7f6fb; border: 1px solid var(--oz-line); color: #4b4a63; font-size: .72rem; font-weight: 600; }
.oz-bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: 0; border: 0; background: none; }
.oz-bar nav a {
  display: inline-flex; align-items: center; min-height: 38px; padding: .45rem 1rem; margin: 0;
  border-radius: 6px; border: 1px solid #dcd6ea; background: rgba(255, 255, 255, .7); color: #1d1638;
  font: 600 .85rem/1.2 "Inter", system-ui, sans-serif; text-decoration: none; box-shadow: none; transition: all .25s ease;
}
.oz-bar nav a:hover { border-color: var(--oz-violet); color: var(--oz-violet); }
.oz-bar nav a.oz-back { background: #1d1638; border-color: #1d1638; color: #fff; }
.oz-bar nav a.oz-back:hover { background: var(--oz-violet); border-color: var(--oz-violet); color: #fff; }
.oz-bar nav a:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }
.oz-bar .oz-context { width: 100%; margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: -.005em; color: var(--oz-violet); }
@media (max-width: 640px) { .oz-bar { position: static; } .oz-bar .oz-brand .oz-tag { display: none; } }

/* Mentions éditoriales (provenance, précautions) */
html body .vdla-context {
  display: block; width: min(1152px, calc(100% - 2.5rem)); max-width: none; margin: 1rem auto 0; padding: .9rem 1.2rem;
  border: 1px solid var(--oz-line); border-radius: 14px; background: #f7f6fb;
  color: #4b4a63; font: .9rem/1.6 "Inter", system-ui, sans-serif;
}

/* Pied de page Orizon */
.oz-foot { width: min(1216px, calc(100% - 2.5rem)); margin: 4rem auto 0; padding: 1.5rem 0 2rem; border-top: 1px solid var(--oz-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font: .8rem/1.5 "Inter", system-ui, sans-serif; color: #6f6e86; }
.oz-foot a { color: #6f6e86; text-decoration: none; margin-left: 1.1rem; }
.oz-foot a:first-child { margin-left: 0; }
.oz-foot a:hover { color: var(--ink); }

@media print {
  .oz-bar, .oz-foot, html body .vdla-context { display: none !important; }
  html body { background: #fff; }
}

/* Texte courant en Inter : les pages d'origine imposent Georgia ou Arial classe par classe. */
html body *:not(h1):not(h2):not(h1 *):not(h2 *):not(svg):not(svg *) { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important; }
html body h1, html body h2, html body h1 *, html body h2 * { font-family: "Inter", system-ui, sans-serif !important; }
