/* ==========================================================================
   EXOES - Accessibility helpers for inner pages (which use the original styles)
   File: /site/assets/css/legacy-base.css
   Assisté par IA
   ========================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 10px; z-index: 1000; padding: 10px 16px; background: #fff; color: #00225E; font-weight: 700; }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid #0198FF; outline-offset: 2px; }
.site-header, .site-footer { font-family: "Exo", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.site-header button, .site-footer button { border-radius: 0; }
.embed-link::before { content: "\25B6\00A0"; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* ---------- Protect the shared header and footer from the original theme styles ----------
   The original stylesheets also style elements named "site-header", "site-footer",
   buttons and lists; these rules restore the shared header/footer look. */
.site-header, .site-footer { max-width: none; margin: 0; width: auto; }
.site-header .site-header__inner, .site-footer .site-footer__inner { max-width: none; margin: 0; }
.site-header button, .site-footer button {
  border: 0; border-radius: 0; background: none; color: inherit; white-space: normal;
  -webkit-user-select: auto; user-select: auto; font-size: inherit; line-height: inherit; text-align: left;
}
.site-header button:hover, .site-header button:focus, .site-footer button:hover { background: none; color: inherit; }
.site-header ul, .site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header img, .site-footer img { display: block; max-width: 100%; height: auto; }
.site-header .lang-switch img { width: 18px; height: 12px; }

/* The original theme turns "site-header"/"site-footer" into narrow, centred flex boxes:
   same selectors, loaded later, to keep the shared full-width header and footer. */
.site-header:not(.dynamic-header), .site-footer:not(.dynamic-footer) {
  display: block; max-width: none; width: auto; margin: 0; padding: 0; flex-wrap: nowrap;
}
.site-header:not(.dynamic-header) { position: fixed; inset: 0 0 auto 0; }
.site-footer:not(.dynamic-footer) { border-top: 1px dotted #DADADA; }

/* ---------- Fonts used by the original pages, now self-hosted (SIL Open Font License) ---------- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url("../fonts/open-sans-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: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 75% 100%; font-display: swap;
  src: url("../fonts/roboto-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: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 75% 100%; font-display: swap;
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Videos: same-size box; the player loads only when the visitor clicks (GDPR) ---------- */
.video-facade {
  position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 0; padding: 20px;
  background: #0b1a3f; color: #fff; font: 600 16px/1.4 "Exo", Arial, sans-serif; cursor: pointer; text-align: center; white-space: normal;
}
.video-facade::before {
  content: ""; width: 74px; height: 74px; border-radius: 50%;
  background: #0198FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 38px no-repeat;
}
.video-facade:hover::before, .video-facade:focus-visible::before { background-color: #00618B; }
.video-facade small { font-weight: 400; font-size: 12px; opacity: 0.8; }
.video-box { position: relative; width: 100%; padding-top: 56.25%; }
