/* Mise en forme commune. Les couleurs peuvent être modifiées ici. */
:root {
  color-scheme: light;
  --ink: #233044;
  --muted: #58677a;
  --navy: #172d47;
  --blue: #205d91;
  --line: #dce3e9;
  --paper: #fff;
  --soft: #f5f7fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 8rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html[lang="fr"] [data-language="en"], html[lang="en"] [data-language="fr"], [hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid #da9c36; outline-offset: 5px; border-radius: 3px; }
button { font: inherit; cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 10; background: white; padding: .6rem 1rem; }
.skip-link:focus { top: .5rem; }
.site-header { background: var(--navy); color: white; }
.header-inner { max-width: 1200px; margin: auto; min-height: 88px; padding: 1rem 2rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.8rem; align-items: center; }
.brand { display: flex; align-items: center; gap: .75rem; color: white; font-size: 1.06rem; font-weight: 650; text-decoration: none; line-height: 1.3; }
.brand-portrait { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nav-list { margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 1.4rem; list-style: none; }
.nav-list a { display: block; padding: .35rem 0; color: #dbe4ed; font-size: .9rem; text-decoration: none; border-bottom: 2px solid transparent; }
.nav-list a:hover { color: white; border-bottom-color: #8096ac; }
.nav-list a[aria-current="page"] { color: white; border-bottom-color: #c9d9e8; }
.language-toggle { display: flex; align-items: center; justify-content: center; background: #ffffff0c; color: white; padding: .4rem .65rem; border: 1px solid #728093; border-radius: 5px; line-height: 1.4; font-size: .83rem; min-height: 40px; min-width: 96px; }
.language-toggle:hover { background: #ffffff1c; }
.language-option { display: inline-flex; align-items: center; gap: .45rem; }
.flag { width: 24px; height: 16px; display: inline-block; border-radius: 1px; box-shadow: 0 0 0 1px #ffffff35; }
main { max-width: 1000px; margin: auto; padding: 3.2rem 2rem 4rem; min-height: calc(100vh - 181px); }
.eyebrow { margin: 0 0 .5rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--blue); }
h1, h2, h3 { line-height: 1.3; font-weight: 600; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -.035em; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 1rem; }
h3 { font-size: 1.13rem; margin: 0 0 .65rem; }
p { margin: 0 0 1.1rem; }
.lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.intro { max-width: 850px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.9rem 0 2.8rem; }
.button { display: inline-block; border: 1px solid var(--blue); border-radius: 4px; padding: .55rem 1.15rem; font-size: .92rem; font-weight: 550; text-decoration: none; }
.button.primary { color: white; background: var(--blue); }
.button:hover { background: var(--soft); }
.button.primary:hover { background: var(--navy); }
.contact { padding-top: 2rem; border-top: 1px solid var(--line); }
address { font-style: normal; color: var(--muted); }
.contents { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 2.8rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .87rem; }
.content-section { margin-top: 2.7rem; }
.content-section:first-of-type { margin-top: 0; }
.content-section.current-courses { margin-top: 1.25rem; }
.placeholder { background: var(--soft); border: 1px dashed #b8c5d1; border-radius: 5px; padding: 1.4rem 1.6rem; }
.placeholder > :last-child { margin-bottom: 0; }
.placeholder-label { font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.metadata { color: var(--muted); font-size: .9rem; }
.comment { border-left: 3px solid #b1c5d7; padding-left: 1rem; margin-top: 1.3rem; }
.comment p { margin-bottom: 0; }
.comment-label { display: block; margin-bottom: .3rem; font-size: .85rem; color: var(--blue); font-weight: 650; }
.file-placeholder { font-size: .9rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: var(--soft); }
.footer-inner { max-width: 1000px; margin: auto; padding: 1.2rem 2rem; display: flex; gap: 1rem; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.no-script { margin: 1rem auto; max-width: 936px; padding: .8rem; background: #fff7e5; }
@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 1fr auto; gap: .8rem 1rem; }
  nav { grid-column: 1 / -1; grid-row: 2; }
  .nav-list { justify-content: flex-start; gap: 1.8rem; }
  .language-toggle { grid-column: 2; grid-row: 1; }
}
@media (max-width: 600px) {
  .header-inner { padding: 1rem 1.15rem .75rem; }
  .brand { font-size: .96rem; }
  .brand-portrait { width: 32px; height: 32px; }
  .nav-list { gap: .2rem 1.2rem; flex-wrap: wrap; }
  .nav-list a { font-size: .84rem; padding: .4rem 0; }
  .language-toggle { min-width: 88px; padding: .4rem .45rem; }
  main { padding: 2.2rem 1.15rem 3rem; }
  .placeholder { padding: 1.2rem; }
  .contents { gap: .5rem 1.1rem; }
  .footer-inner { padding: 1.1rem 1.15rem; flex-direction: column; gap: .3rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .contents, .skip-link { display: none; }
  main { padding: 0; max-width: none; }
  .placeholder { break-inside: avoid; }
  a { color: inherit; }
}
