/* Fondations visuelles communes à toutes les pages Sonar. */
:root {
  color-scheme: light;
  --color-ink: #211c27; --color-ink-soft: #514b58; --color-muted: #817986; --color-muted-2: #a39ba7;
  --color-mauve-950: #351033; --color-mauve-900: #4c1748; --color-mauve-800: #5e1c58; --color-mauve-700: #77216f; --color-mauve-600: #8c3284; --color-mauve-100: #f2eaf3; --color-mauve-50: #faf6fb;
  --color-page: #faf9fc; --color-surface: #ffffff; --color-surface-soft: #f5f3f7; --color-line: #ebe7ee;
  --color-green: #188a61; --color-green-soft: #e5f5ee; --color-amber: #bd7918; --color-amber-soft: #fff3dc; --color-blue: #557bc1; --color-blue-soft: #edf2fc;
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --content-width: 1192px; --radius-card: 18px; --radius-pill: 999px; --ease-out: cubic-bezier(.22, .68, 0, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--color-ink); background: var(--color-page); font-family: var(--font-sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { color: #fff; background: var(--color-mauve-700); }
.shell { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); border-radius: 8px; color: #fff; background: var(--color-mauve-900); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 10; top: 0; background: rgb(250 249 252 / 92%); backdrop-filter: blur(14px); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--color-mauve-900); font-size: 22px; font-weight: 750; letter-spacing: -1.1px; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; color: var(--color-mauve-700); }
.brand-mark svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 37px; color: #665f6b; font-size: 13px; font-weight: 550; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--color-mauve-700); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; padding: 0 19px; border: 0; border-radius: 8px; font-size: 13px; font-weight: 650; letter-spacing: -.1px; cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgb(119 33 111 / 35%); outline-offset: 3px; }
.button-dark { color: #fff; background: var(--color-ink); }
.button-dark:hover { background: var(--color-mauve-900); }
.button-dark span { font-size: 16px; }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .shell { width: min(100% - 40px, 600px); } .nav { height: 68px; } .nav-cta { display: none; }
  .menu-toggle { display: flex; width: 38px; height: 38px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; border-radius: 7px; background: #f0eaf2; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1.5px; border-radius: 3px; background: var(--color-mauve-900); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); } .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }
  .nav-links { position: absolute; top: 60px; right: 20px; left: 20px; display: none; align-items: stretch; gap: 0; padding: 8px 16px; border: 1px solid var(--color-line); border-radius: 11px; background: #fff; box-shadow: 0 16px 40px -28px rgb(38 22 43 / 35%); }
  .nav-links.is-open { display: flex; flex-direction: column; } .nav-links a { padding: 12px 2px; border-bottom: 1px solid #f1edf2; font-size: 13px; } .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 440px) { .shell { width: calc(100% - 32px); } .button { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
