/* Byovva · habillage commun (direction A, novembre 2026).
   Polices, couleurs, en-tête, pied de page et boutons. Chargé par l'accueil et par la notice.
   Tout est préfixé bv- : aucun conflit avec les styles de la notice (--k-, kit-, nt-). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/unbounded-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/unbounded-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bv-bg: #020b1f;
  --bv-bg-2: #061531;
  --bv-surface: #0b1d40;
  --bv-fg: #f2f6ff;
  --bv-muted: #9fb0d0;
  --bv-line: #1b2d55;
  --bv-line-strong: #3a4f80;
  --bv-chip: rgba(255, 255, 255, .08);
  --bv-toggle-off: #2a3a63;
  --bv-accent: #ffd22f;
  --bv-accent-ink: #03112f;
  --bv-cyan: #23d6f4;
  --bv-display: 'Unbounded', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --bv-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bv-shell: 1240px;
  --bv-gutter: max(16px, min(4vw, 40px));
  --bv-r: 22px;
}

.bv-shell {
  box-sizing: border-box; width: 100%; max-width: var(--bv-shell); margin-inline: auto;
  padding-left: max(var(--bv-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--bv-gutter), env(safe-area-inset-right, 0px));
}
.bv-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--bv-accent); color: var(--bv-accent-ink); font: 700 15px var(--bv-body); text-decoration: none; }
.bv-skip:focus { top: 12px; }

/* Boutons */
.bv-btn {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 700 15.5px/1 var(--bv-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.bv-btn:hover { transform: translateY(-1px); }
.bv-btn:focus-visible { outline: 3px solid var(--bv-cyan); outline-offset: 3px; }
.bv-btn-primary { background: var(--bv-accent); color: var(--bv-accent-ink); box-shadow: 0 12px 30px -14px var(--bv-accent); }
.bv-btn-primary:hover { background: #ffdf69; }
.bv-btn-ghost { background: transparent; color: var(--bv-fg); border-color: var(--bv-line-strong); }
.bv-btn-ghost:hover { border-color: var(--bv-fg); }
.bv-btn small { font-weight: 600; opacity: .75; padding-left: 10px; border-left: 1px solid currentColor; font-size: 14px; }
.bv-btn svg { width: 16px; height: 16px; flex: none; }

/* En-tête */
.bv-head { position: relative; z-index: 50; background: var(--bv-bg); color: var(--bv-fg); font-family: var(--bv-body); border-bottom: 1px solid var(--bv-line); }
.bv-head-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.bv-logo { display: inline-flex; align-items: center; color: var(--bv-fg); font: 700 23px/1 var(--bv-body); letter-spacing: .1em; text-decoration: none; }
.bv-logo > span[aria-hidden] { display: inline-flex; align-items: center; }
.bv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bv-logo img { display: block; width: 20px; height: 27px; margin: 0 .06em; }
.bv-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; font-weight: 600; }
.bv-nav a, .bv-menu-panel a { color: var(--bv-fg); text-decoration: none; opacity: .82; transition: opacity .2s; }
.bv-nav a:hover, .bv-nav a[aria-current="page"] { opacity: 1; }
.bv-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--bv-accent); }
.bv-head .bv-btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.bv-menu { display: none; }
.bv-menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--bv-line-strong); cursor: pointer; list-style: none; }
.bv-menu summary::-webkit-details-marker { display: none; }
.bv-menu summary svg { width: 20px; height: 20px; }
.bv-menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 2px; padding: 12px max(var(--bv-gutter), env(safe-area-inset-right, 0px)) 20px max(var(--bv-gutter), env(safe-area-inset-left, 0px)); background: var(--bv-bg); border-bottom: 1px solid var(--bv-line); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); }
.bv-menu-panel a { padding: 12px 0; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--bv-line); opacity: 1; }
@media (max-width: 1080px) {
  .bv-nav { display: none; }
  .bv-head .bv-btn { margin-left: auto; }
  .bv-menu { display: block; }
}
@media (max-width: 480px) { .bv-head .bv-btn { display: none; } .bv-menu { margin-left: auto; } }

/* Pied de page */
.bv-foot { background: var(--bv-bg-2); color: var(--bv-fg); font-family: var(--bv-body); border-top: 1px solid var(--bv-line); padding-block: 52px 36px; }
.bv-foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .bv-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bv-foot-brand { grid-column: 1 / -1; } }
.bv-foot-brand { display: grid; gap: 12px; align-content: start; }
.bv-foot-brand p { margin: 0; max-width: 30ch; color: var(--bv-muted); font-size: 14.5px; }
.bv-foot-title { margin: 0 0 12px; font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-muted); }
.bv-foot ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.bv-foot a { color: var(--bv-fg); text-decoration: none; }
.bv-foot a:hover { text-decoration: underline; }
.bv-foot-legal { margin: 36px 0 0; font-size: 13px; color: var(--bv-muted); }
.bv-foot-legal a { color: var(--bv-muted); }

@media print { .bv-head, .bv-foot, .bv-skip { display: none !important; } }

/* Accroche avec mots-clés dans le titre principal des pages v94 */
.bv-h1-kicker { display: block; line-height: 1.4; }

/* Contraste AA (4,5:1) des surtitres bleus sur fond clair, pages reprises de v94 (body[data-page]).
   :where() garde la spécificité des règles d'origine : les surtitres cyan des fonds sombres ne changent pas. */
:where(body[data-page]) .eyebrow, :where(body[data-page]) .trust-grid article > span { color: #075ce5; }

/* En-tête v96 : liens sur une ligne, espacements resserrés, menu replié sous 1220 px (le français demande ~1200 px) */
.bv-head-in { gap: 20px; }
.bv-nav { gap: 18px; }
.bv-nav a { white-space: nowrap; }
@media (max-width: 1220px) { .bv-nav { display: none; } .bv-head .bv-btn { margin-left: auto; } .bv-menu { display: block; } }

/* Choix de la langue FR / EN (v96) */
.bv-lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--bv-line-strong); border-radius: 999px; flex: none; }
.bv-lang a { display: grid; place-items: center; min-width: 36px; min-height: 34px; padding: 0 8px; border-radius: 999px; color: var(--bv-fg); font: 700 13px/1 var(--bv-body); letter-spacing: .06em; text-decoration: none; opacity: .78; }
.bv-lang a:hover { opacity: 1; }
.bv-lang a[aria-current] { background: var(--bv-fg); color: var(--bv-bg); opacity: 1; }
.bv-lang a:focus-visible { outline: 3px solid var(--bv-cyan); outline-offset: 2px; }
@media (max-width: 480px) { .bv-head .bv-lang { margin-left: auto; } .bv-head .bv-menu { margin-left: 0; } }

/* Notice : le bleu vif #0878ff (numéros d'étapes et de chapitres) passe au bleu océan, contraste AA sur fond clair et en fond sous du blanc */
html:root { --k-blue: #075ce5; }

/* Notice en anglais : guillemets anglais autour des libellés de l'écran */
html[lang="en"] .kit-ui::before { content: "“"; }
html[lang="en"] .kit-ui::after { content: "”"; }
html[lang="en"] .kit-acc summary q { quotes: "“" "”"; }
