/* ================================================================
   ANRDI COPYRIGHT (c) 2026 — ALL RIGHTS RESERVED - AUTHOR: LYAM
================================================================ */

@font-face {
  font-family: 'Segoe UI';
  src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI.woff2') format('woff2'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI.woff') format('woff'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Italic.woff2') format('woff2'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Italic.woff') format('woff'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Light.woff2') format('woff2'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Light.woff') format('woff'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-SemiBold.woff2') format('woff2'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-SemiBold.woff') format('woff'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Bold.woff2') format('woff2'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Bold.woff') format('woff'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-BoldItalic.woff2') format('woff2'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-BoldItalic.woff') format('woff'),
       url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif4-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif4-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif4-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif4-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Variables --- */
:root {
  --bleu:       #0066CC;
  --bleu-clair: #3385E0;
  --bleu-pale:  #E6F0FF;
  --cyan:       #00A8E8;
  --rouge:      #D32F2F;
  --rouge-fonce:#B71C1C;
  --blanc:      #ffffff;
  --gris-fonce: #212121;
  --gris-moyen: #616161;
  --gris-clair: #E0E0E0;
  --gris-bg:    #F5F5F5;
  --border:     #BDBDBD;

  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif:   'Source Serif 4', Georgia, serif;

  --radius:  3px;
  --shadow:  0 2px 12px rgba(0,0,20,.10);
  --shadow-lg: 0 6px 32px rgba(0,0,20,.14);
  --transition: .18s ease;
  --max-width: 1200px;
  --a11y-text-scale: 1;
  --a11y-letter-spacing: 0;
  --a11y-word-spacing: 0;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gris-fonce);
  background: var(--blanc);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open {
  overflow: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--bleu); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rouge); }
ul { list-style: none; }

html.a11y-text-large {
  font-size: calc(16px * var(--a11y-text-scale));
}

html.a11y-legible-font,
html.a11y-legible-font body,
html.a11y-legible-font button,
html.a11y-legible-font input,
html.a11y-legible-font select,
html.a11y-legible-font textarea {
  font-family: var(--font-serif) !important;
}

html.a11y-spacing body {
  letter-spacing: var(--a11y-letter-spacing);
  word-spacing: var(--a11y-word-spacing);
}

html.a11y-focus *:focus,
html.a11y-focus *:focus-visible {
  outline: 3px solid #111 !important;
  outline-offset: 4px !important;
}

html.a11y-contrast {
  --bleu: #003189;
  --bleu-clair: #00235f;
  --bleu-pale: #d9e7ff;
  --cyan: #005f9e;
  --rouge: #b00020;
  --rouge-fonce: #7a0015;
  --gris-fonce: #111111;
  --gris-moyen: #2f2f2f;
  --gris-clair: #b8b8b8;
  --gris-bg: #ffffff;
  --border: #1f1f1f;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after,
html.a11y-stop-animations *,
html.a11y-stop-animations *::before,
html.a11y-stop-animations *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.a11y-stop-animations) * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Utilitaires --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.text-rouge { color: var(--rouge); }
.text-bleu  { color: var(--bleu); }

/* --- Accessibilité --- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--bleu);
  color: var(--blanc);
  padding: 12px 24px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus, .skip-link:focus-visible {
  top: 0;
  outline: none;
}
*:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 3px;
}


.topbar {
  background: var(--bleu);
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  border-bottom: 3px solid var(--rouge);
}
.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-flag { display: flex; align-items: center; }
.topbar-text { flex: 1; }
.topbar-ref {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  background: rgba(255,255,255,.12);
  padding: 2px 8px;
  border-radius: 2px;
}
/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(0,49,137,.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(3,23,71,.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.site-logo:hover { opacity: .9; }
.logo-header-546 { flex-shrink: 0; }
.logo-header-546 img {
  width: 62px;
  height: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.logo-acronym {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--bleu);
  letter-spacing: .08em;
  line-height: 1;
}
.logo-fullname {
  font-family: var(--font-body);
  font-size: 12px;
  color: #4d5d75;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
  max-width: 360px;
}

/* Navigation */
.main-nav {
  position: relative;
  margin-left: auto;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > ul > li {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}
.main-nav > ul > li > a {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gris-fonce);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav > ul > li > .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gris-fonce);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  position: relative;
}
.main-nav > ul > li > a::after,
.main-nav > ul > li > .nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rouge), #ff7f7f);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}
.main-nav > ul > li > .nav-dropdown-toggle:focus { outline: none; }
.main-nav > ul > li > .nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 2px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a[aria-current="page"],
.main-nav > ul > li > .nav-dropdown-toggle:hover,
.main-nav > ul > li > .nav-dropdown-toggle[data-current="true"],
.main-nav > ul > li > .nav-dropdown-toggle[aria-expanded="true"] {
  background: var(--bleu-pale);
  color: var(--bleu);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a[aria-current="page"]::after,
.main-nav > ul > li > .nav-dropdown-toggle:hover::after,
.main-nav > ul > li > .nav-dropdown-toggle[data-current="true"]::after,
.main-nav > ul > li > .nav-dropdown-toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-top: 3px solid var(--bleu);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  overflow: hidden;
}
.has-dropdown > .dropdown { display: block; }
.has-dropdown.is-open > .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gris-fonce);
  border-bottom: 1px solid var(--gris-clair);
  transition: background var(--transition), color var(--transition), padding-left .18s ease;
  position: relative;
}
.dropdown li a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--rouge);
  opacity: 0;
  transform: translateY(-50%) scale(.6);
  transition: opacity .18s ease, transform .18s ease;
}
.dropdown li a:hover,
.dropdown li a[aria-current="page"] {
  background: var(--bleu-pale);
  color: var(--bleu);
  padding-left: 24px;
}
.dropdown li a:hover::before,
.dropdown li a[aria-current="page"]::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.dropdown-separator { border-top: 2px solid var(--gris-clair); margin: 4px 0; }

/* Bouton connexion */
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bleu);
  color: var(--blanc) !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: none;
  border-radius: 10px;
  transition: background var(--transition);
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0,49,137,.14);
}
.btn-header:hover { background: var(--bleu-clair); color: var(--blanc) !important; }

/* Hamburger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gris-fonce);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-left: 4px solid currentColor;
}
.flash-success { background: #e8f5e9; color: #1b5e20; border-color: #2e7d32; }
.flash-error   { background: #ffebee; color: #b71c1c; border-color: var(--rouge); }
.flash-warning { background: #fff8e1; color: #6d4c00; border-color: #f57f17; }
.flash-info    { background: var(--bleu-pale); color: var(--bleu); border-color: var(--bleu); }
.flash-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; line-height: 1; color: inherit; opacity: .6;
}
.flash-close:hover { opacity: 1; }

/* ============================================================
   POPUP SITE
   ============================================================ */
.site-popup-root {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.site-popup-root.is-visible {
  opacity: 1;
  pointer-events: auto;
}
body.site-popup-open {
  overflow: hidden;
}
.site-popup-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at top, rgba(0,102,204,.16), transparent 42%),
    rgba(0, 19, 54, .58);
  backdrop-filter: blur(7px);
  cursor: pointer;
}
.site-popup-card {
  position: relative;
  width: min(100%, 580px);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(0,49,137,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,250,255,.98) 100%);
  box-shadow: 0 26px 70px rgba(0, 24, 77, .24);
  overflow: hidden;
  transform: translateY(28px) scale(.96);
  opacity: 0;
  transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .34s ease;
}
.site-popup-root.is-visible .site-popup-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.site-popup-card--preview {
  opacity: 1;
  transform: none;
}
.site-popup-preview-shell {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, #0a2463 0%, #0066cc 58%, #7fa8ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.site-popup-preview-shell::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.site-popup-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,168,255,.35) 0%, rgba(127,168,255,0) 68%);
  pointer-events: none;
}
.site-popup-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(0,49,137,.08);
  color: var(--bleu);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.site-popup-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rouge);
  box-shadow: 0 0 0 6px rgba(211,47,47,.12);
}
.site-popup-title {
  position: relative;
  margin: 0 40px 12px 0;
  color: #071b48;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .3px;
}
.site-popup-message {
  position: relative;
  color: #40536f;
  font-size: 15px;
  line-height: 1.8;
}
.site-popup-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.site-popup-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: #61728b;
  font-size: 12px;
}
.site-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0,49,137,.12);
  background: rgba(255,255,255,.86);
  color: #163568;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.site-popup-close:hover {
  transform: rotate(90deg);
  background: #fff;
  color: var(--rouge);
}
.site-popup-close span {
  font-size: 24px;
  line-height: 1;
}

/* ============================================================
   HERO — Bandeau d'accueil
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--bleu) 0%, #001d5c 100%);
  color: var(--blanc);
  padding: 84px 24px 64px;
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(1.08) saturate(1.08) contrast(1.04);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rouge) 0%, #ff4444 100%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--blanc);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
/* Motif géométrique en fond */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .86;
  background:
    linear-gradient(135deg, rgba(0, 25, 77, .32) 0%, rgba(0, 29, 92, .16) 45%, rgba(12, 35, 64, .34) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px,
      transparent 0, transparent 24px
    );
  background-size: auto, 24px 24px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,0,15,.2);
  border: 1px solid rgba(225,0,15,.4);
  color: #ff8080;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--rouge);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .5px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  text-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.hero-typewriter {
  min-height: 2.5em;
}
.hero-typewriter--desc {
  min-height: 4.8em;
}
.hero-typewriter-caret::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.95em;
  margin-left: 8px;
  vertical-align: -0.08em;
  background: rgba(255,255,255,.92);
  animation: hero-caret-blink .9s step-end infinite;
}
.hero h1::after {
  content: '';
  display: block;
  width: 104px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(225,0,15,.92) 100%);
  transform-origin: left center;
  animation: hero-line-reveal 1s .2s ease both;
}
.hero h1 em {
  font-style: normal;
  color: #7fa8ff;
  text-shadow: 0 0 18px rgba(127,168,255,.30);
  animation: hero-emphasis 5s ease-in-out infinite;
}
.hero-desc {
  font-size: 18px;
  opacity: .96;
  max-width: 680px;
  margin-bottom: 32px;
  line-height: 1.8;
  text-shadow: none;
}
.hero-desc.hero-typewriter span {
  white-space: normal;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: none;
}

/* Emblème SVG côté droit du hero */
.hero-emblem {
  opacity: .12;
  flex-shrink: 0;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none !important;
}
.btn,
.btn:hover,
.btn:visited,
.btn:active,
.btn:focus,
.btn:focus-visible,
.btn *,
.btn *:hover,
.btn *:visited {
  text-decoration: none !important;
}
.btn-primary   { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.btn-primary:hover { background: var(--bleu-clair); color: var(--blanc); border-color: var(--bleu-clair); }
.btn-danger    { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }
.btn-danger:hover { background: var(--rouge-fonce); color: var(--blanc); }
.btn-outline   { background: var(--blanc); color: var(--bleu); border-color: rgba(0,49,137,.18); box-shadow: 0 8px 18px rgba(3,23,71,.08); }
.btn-outline:hover { background: var(--bleu-pale); border-color: var(--bleu); color: var(--bleu); }
.hero .btn-outline,
.section-dark .btn-outline,
.page-banner .btn-outline,
.btn-outline-light { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.72); box-shadow: none; }
.hero .btn-outline:hover,
.section-dark .btn-outline:hover,
.page-banner .btn-outline:hover,
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: var(--blanc); color: var(--blanc); }
.btn-ghost     { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.btn-ghost:hover { background: var(--bleu-pale); }
.btn-sm        { padding: 7px 16px; font-size: 13px; }
.btn-full      { width: 100%; justify-content: center; }
.btn:disabled,
.btn[aria-disabled="true"] {
  background: #b9c2cf !important;
  border-color: #b9c2cf !important;
  color: rgba(255,255,255,.92) !important;
  cursor: not-allowed;
  box-shadow: none;
  opacity: .72;
  pointer-events: none;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-header {
  padding: 20px 24px 0;
}
.card-body { padding: 20px 24px; }
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gris-clair);
  background: var(--gris-bg);
}
.card-accent { border-top: 4px solid var(--bleu); }
.card-accent-rouge { border-top: 4px solid var(--rouge); }

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section { padding: 64px 24px; }
.section-alt { background: var(--gris-bg); }
.section-dark { background: var(--bleu); color: var(--blanc); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 10px;
  border-left: 3px solid var(--rouge);
  padding-left: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gris-fonce);
  margin-bottom: 12px;
}
.section-dark .section-title,
.section-dark .section-label { color: var(--blanc); border-color: rgba(255,255,255,.5); }
.section-subtitle {
  font-size: 16px;
  color: var(--gris-moyen);
  max-width: 640px;
  margin-bottom: 40px;
}

/* Grid générique */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* Layouts publics */
.surface-note {
  font-size: 14px;
  color: var(--gris-moyen);
  line-height: 1.75;
}
.content-shell-sm {
  max-width: 760px;
  margin: 0 auto;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.feature-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.feature-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.stack-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}
.stack-layout--sidebar {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.stack-layout--article {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 280px;
}
.contact-form-shell {
  padding: 36px;
}
.contact-info-list,
.helper-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.article-author-card {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--gris-clair);
  border-radius: 14px;
  background: var(--gris-bg);
}
.article-author-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gris-moyen);
  margin-bottom: 8px;
}
.article-author-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--bleu);
  margin-bottom: 4px;
}
.article-aside-card + .article-aside-card {
  margin-top: 24px;
}

/* Pages d'information */
.faq-shell {
  max-width: 940px;
}
.faq-stack {
  display: grid;
  gap: 18px;
}
.pillar-highlights {
  margin-bottom: 32px;
}
.pillar-summary-card {
  margin-bottom: 28px;
}
.pillar-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.pillar-summary-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(0,49,137,.12);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  color: var(--gris-fonce);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pillar-summary-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0,49,137,.26);
  box-shadow: var(--shadow);
  color: var(--bleu);
}
.pillar-summary-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--bleu-pale);
  color: var(--bleu);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pillar-summary-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.pillar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.pillar-main {
  min-width: 0;
}
.pillar-side {
  display: grid;
  gap: 18px;
}
.pillar-side .card {
  border-radius: 18px;
}
.pillar-section {
  border-radius: 22px;
}
.pillar-section + .pillar-section {
  margin-top: 20px;
}
.pillar-section .card-body {
  padding: 28px 28px 26px;
}
.pillar-section-kicker {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 12px;
}
.pillar-section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.pillar-section-copy {
  font-size: 15px;
  color: var(--gris-moyen);
  line-height: 1.9;
  margin-bottom: 14px;
}
.pillar-list {
  list-style: disc;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  color: var(--gris-moyen);
  line-height: 1.8;
}
.pillar-side-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pillar-nav {
  display: grid;
  gap: 10px;
}
.pillar-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--gris-bg);
  color: var(--bleu);
  font-weight: 600;
  border: 1px solid transparent;
}
.pillar-nav a:hover,
.pillar-nav a:focus-visible {
  border-color: rgba(0,49,137,.18);
  background: #fff;
}
.pillar-side-copy {
  font-size: 14px;
  color: var(--gris-moyen);
  line-height: 1.8;
  margin-bottom: 14px;
}

.info-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.info-page-main {
  min-width: 0;
}
.info-page-sidebar {
  display: grid;
  gap: 18px;
}
.info-page-sidebar .card {
  border-radius: 18px;
}
.info-intro-card .card-body,
.info-callout .card-body,
.info-page-sidebar .card-body,
.info-highlight-card .card-body {
  padding: 24px;
}
.info-intro-card {
  margin-bottom: 28px;
  border-top: 4px solid var(--bleu);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.info-block + .info-block {
  margin-top: 30px;
}
.info-block-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  color: #14233b;
  margin-bottom: 14px;
}
.info-block-copy {
  font-size: 15px;
  line-height: 1.8;
  color: #46566f;
}
.info-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.info-highlight-card {
  border-top: 4px solid var(--bleu);
  box-shadow: 0 10px 28px rgba(3,23,71,.08);
}
.info-highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #14233b;
  margin-bottom: 10px;
}
.info-highlight-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #536277;
}
.info-step-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: info-step;
}
.info-step-list li {
  position: relative;
  padding: 16px 18px 16px 58px;
  border: 1px solid rgba(0,49,137,.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(3,23,71,.05);
  font-size: 15px;
  line-height: 1.8;
  color: #24344d;
  counter-increment: info-step;
}
.info-step-list li::before {
  content: counter(info-step);
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--bleu-pale);
  color: var(--bleu);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
}
.info-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: #33445d;
}
.info-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rouge);
}
.info-side-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #14233b;
  margin-bottom: 12px;
}
.info-side-copy {
  font-size: 14px;
  line-height: 1.75;
  color: #516177;
}
.info-side-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.info-side-list li {
  margin: 0;
}
.info-side-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,49,137,.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #22334d;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.info-side-list a:hover,
.info-side-list a:focus-visible {
  border-color: rgba(0,49,137,.28);
  box-shadow: 0 10px 26px rgba(3,23,71,.08);
  transform: translateY(-1px);
  color: #22334d;
}
.info-side-list strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: var(--bleu);
  margin-bottom: 4px;
}
.info-side-list span {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  color: #55657a;
}
.info-callout {
  margin-top: 28px;
  border-top: 4px solid var(--rouge);
  background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
}
.info-callout strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #14233b;
  margin-bottom: 8px;
}
.info-callout p {
  font-size: 15px;
  line-height: 1.8;
  color: #48586d;
  margin: 0;
}

/* ============================================================
   CHIFFRES / STATS
   ============================================================ */
.stat-block {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--blanc);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .75;
}

/* ============================================================
   ACTUALITÉS — cartes
   ============================================================ */
.news-card { display: flex; flex-direction: column; }
.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--gris-clair);
}
.news-category {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.cat-urgence   { background: #ffebee; color: var(--rouge); }
.cat-formation { background: var(--bleu-pale); color: var(--bleu); }
.cat-info      { background: #e8f5e9; color: #1b5e20; }
.cat-evenement { background: #fff8e1; color: #6d4c00; }

.news-date {
  font-size: 12px;
  color: var(--gris-moyen);
  margin-bottom: 6px;
}
.news-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--gris-fonce);
}
.news-excerpt { font-size: 14px; color: var(--gris-moyen); }
.news-content > * + * { margin-top: 1.15em; }
.news-content p { margin: 0; }
.news-content h2,
.news-content h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--bleu);
}
.news-content ul,
.news-content ol {
  padding-left: 1.3em;
  list-style-position: outside;
}
.news-content ul { list-style-type: disc; }
.news-content ol { list-style-type: decimal; }
.news-content li + li { margin-top: .35em; }
.news-content blockquote {
  margin: 1.4em 0;
  padding: 1em 1.2em;
  border-left: 4px solid var(--bleu);
  background: var(--gris-bg);
  color: var(--gris-moyen);
}
.news-content .btn {
  margin-top: .6em;
  margin-right: .5em;
}

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gris-fonce);
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.form-label .required-star { color: var(--rouge); margin-left: 3px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gris-fonce);
  background: var(--blanc);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control[contenteditable="true"]:empty::before {
  content: attr(data-placeholder);
  color: #8c8c8c;
}
.form-control:focus {
  outline: none;
  border-color: var(--bleu);
  box-shadow: 0 0 0 3px rgba(0,49,137,.12);
}
.form-control.is-invalid { border-color: var(--rouge); }
.form-error {
  font-size: 12px;
  color: var(--rouge);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235c5c5c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-divider { border: none; border-top: 1px solid var(--gris-clair); margin: 28px 0; }

/* OAuth buttons */
.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--blanc);
  color: var(--gris-fonce);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  text-decoration: none !important;
}
.btn-oauth:hover { background: var(--gris-bg); box-shadow: var(--shadow); color: var(--gris-fonce); }
.btn-oauth svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-oauth.disabled { opacity: .45; pointer-events: none; cursor: not-allowed; }

.btn-oauth.btn-apple {
  background: #000;
  border-color: #000;
  color: #fff;
}
.btn-oauth.btn-apple:hover {
  background: #1a1a1a;
  color: #fff;
}

/* ============================================================
   PAGE TITRE BANNER
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, #001d5c 0%, var(--bleu) 100%);
  color: var(--blanc);
  padding: 44px 24px 36px;
  border-bottom: 4px solid var(--rouge);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 0, transparent 20px);
}
.page-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.page-banner p {
  font-size: 15px;
  opacity: .8;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: .65;
  margin-bottom: 10px;
}
.breadcrumb a { color: inherit; }
.breadcrumb span { opacity: .5; }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrapper { overflow-x: auto; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table thead tr {
  background: var(--bleu);
  color: var(--blanc);
}
.data-table th {
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
}
.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gris-clair);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--bleu-pale); }
.data-table tbody tr:nth-child(even) { background: var(--gris-bg); }
.data-table tbody tr:nth-child(even):hover { background: var(--bleu-pale); }

/* ============================================================
   BADGES RÔLES
   ============================================================ */
.badge-role {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.role-super_admin    { background: #1a0030; color: #e0aaff; }
.role-admin_regional { background: #003189; color: #a8c4ff; }
.role-chef_unite     { background: #003d1a; color: #9bffc6; }
.role-benevole       { background: #4a1000; color: #ffb899; }
.role-membre         { background: var(--gris-clair); color: var(--gris-fonce); }

/* Badge statut */
.badge-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}
.status-active   { background: #e8f5e9; color: #1b5e20; }
.status-pending  { background: #fff8e1; color: #6d4c00; }
.status-inactive { background: #ffebee; color: #b71c1c; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 140px);
}
.dashboard-sidebar {
  background: #001d5c;
  color: var(--blanc);
  padding: 24px 0;
}
.sidebar-user {
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 8px;
}
.sidebar-user-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bleu);
  border: 2px solid rgba(255,255,255,.2);
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--blanc);
}
.sidebar-user-name { font-weight: 700; font-size: 15px; }
.sidebar-user-role { font-size: 11px; opacity: .6; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  transition: background var(--transition), color var(--transition);
}
.sidebar-nav a:hover,
.sidebar-nav a.active { background: rgba(255,255,255,.1); color: var(--blanc); }
.sidebar-nav a.active { border-left: 3px solid var(--rouge); }
.sidebar-nav .sidebar-section-title {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .4;
  padding: 16px 20px 6px;
}
.dashboard-main { padding: 32px; background: var(--gris-bg); }
.dashboard-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--gris-fonce);
}
.dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.dashboard-card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dashboard-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-bleu { background: var(--bleu-pale); color: var(--bleu); }
.icon-rouge { background: #ffebee; color: var(--rouge); }
.icon-vert  { background: #e8f5e9; color: #1b5e20; }
.icon-orange { background: #fff3e0; color: #e65100; }
.dashboard-card-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--gris-fonce);
}
.dashboard-card-label { font-size: 12px; color: var(--gris-moyen); margin-top: 2px; }

/* ============================================================
   ALERTE / URGENCE
   ============================================================ */
.alert-banner {
  background: var(--rouge);
  color: var(--blanc);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
}
.alert-banner svg { flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #f5f7fb;
  color: #425166;
  margin-top: auto;
  font-family: var(--font-body);
  border-top: 1px solid rgba(0, 49, 137, 0.12);
}
.footer-top {
  padding: 64px 24px 36px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(220px, 1fr));
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-logo img {
  display: block;
  opacity: 1;
  transition: transform var(--transition);
}
.footer-logo img:hover {
  transform: translateY(-1px);
}
.footer-lead {
  font-size: 14px;
  line-height: 1.75;
  color: #5a6c84;
  max-width: 42ch;
}
.footer-contact-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #173256;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-email:hover {
  color: var(--bleu);
}
.footer-email i {
  color: var(--bleu);
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}
.footer-socials a {
  color: #6c7f98;
  font-size: 18px;
  transition: color var(--transition), transform var(--transition);
  text-decoration: none;
  display: inline-flex;
}
.footer-socials a:hover {
  color: var(--bleu);
  transform: translateY(-2px);
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #173256;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 14px;
  color: #50627a;
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
  line-height: 1.6;
}
.footer-links a:hover {
  color: var(--bleu);
}
.footer-meta-card {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 49, 137, 0.1);
  box-shadow: 0 16px 40px rgba(0, 38, 92, 0.06);
  font-size: 13px;
  line-height: 1.8;
  color: #5b6d84;
}
.footer-meta-card p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(15, 33, 58, 0.08);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.footer-meta-card p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.footer-meta-card strong {
  color: #173256;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(0, 49, 137, 0.08);
  padding: 22px 24px 28px;
  background: #eef3fa;
}
.footer-bottom .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.footer-bottom p {
  margin: 0;
  color: #60718a;
  line-height: 1.7;
}
.footer-bottom a {
  color: #425f88;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom a:hover {
  color: var(--bleu);
}
.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom-badges img {
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer-bottom-badges img:hover {
  opacity: 1;
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partners-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(0,102,204,.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}
.partners-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(0, 49, 137, .10);
  background: rgba(255,255,255,.84);
  box-shadow: 0 18px 44px rgba(0, 34, 96, .08);
  padding: 20px 0;
}
.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(248,251,255,1) 0%, rgba(248,251,255,0) 100%);
}
.partners-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(248,251,255,1) 0%, rgba(248,251,255,0) 100%);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  padding: 4px 18px;
  animation: partners-scroll 26s linear infinite;
}
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}
.partner-logo-link {
  min-width: 180px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 10px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.partner-logo-link:hover {
  transform: translateY(-2px);
  opacity: .82;
}
.partner-logo {
  max-width: 190px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 34, 96, .10));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; } /* Menu hamburger sur mobile */
  .feature-split,
  .stack-layout--sidebar,
  .stack-layout--article,
  .pillar-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 8px;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-stats,
  .checkbox-grid,
  .pillar-summary-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact-inline { flex-direction: column; align-items: flex-start; }
  .topbar-text { display: none; }
  .header-inner {
    min-height: auto;
    padding: 12px 20px;
    gap: 12px;
  }
  .logo-header-546 img {
    width: 54px;
  }
  .logo-acronym { font-size: 22px; }
  .logo-fullname {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    max-width: 180px;
  }

  .nav-toggle { display: flex; }
  .main-nav > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: min(100vw - 24px, 420px);
    background: var(--blanc);
    flex-direction: column;
    border-top: 3px solid var(--bleu);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    gap: 0;
    border-radius: 16px;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
  .main-nav > ul.open { display: flex; }
  .main-nav > ul > li {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .main-nav > ul > li > a,
  .main-nav > ul > li > .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    padding: 14px 18px;
  }
  .main-nav > ul > li > a::after,
  .main-nav > ul > li > .nav-dropdown-toggle::after {
    left: 18px;
    right: 18px;
    bottom: 8px;
  }
  .has-dropdown::after { display: none; }
  .dropdown {
    position: static;
    border: 1px solid var(--gris-clair);
    box-shadow: none;
    background: var(--gris-bg);
    margin: 0 10px 10px;
    border-top: 3px solid var(--bleu);
    border-radius: 12px;
  }
  .has-dropdown > .dropdown { display: none; }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown li a {
    padding: 12px 18px;
  }
  .dropdown li a:hover,
  .dropdown li a[aria-current="page"] {
    padding-left: 18px;
  }
  .dropdown li a::before { display: none; }
  .logo-fullname {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    max-width: 180px;
  }
  .partner-logo-link {
    min-width: 140px;
    min-height: 64px;
    padding: 4px 8px;
  }
  .partners-marquee::before,
  .partners-marquee::after { width: 44px; }
  .site-popup-root { padding: 16px; }
  .site-popup-card { padding: 22px 18px 18px; border-radius: 20px; }
  .site-popup-title { font-size: 28px; margin-right: 36px; }
  .site-popup-actions { flex-direction: column; }
  .site-popup-actions .btn { width: 100%; justify-content: center; }
  .site-popup-preview-shell { padding: 18px; border-radius: 22px; }
  .contact-form-shell,
  .pillar-section .card-body { padding: 22px; }
}

@media (max-width: 480px) {
  .hero { padding: 52px 20px 48px; }
  .section { padding: 44px 20px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .topbar-ref {
    width: 100%;
    text-align: center;
  }
  .article-meta-row { align-items: flex-start; }
  .site-popup-message { font-size: 14px; }
  .site-popup-close { top: 12px; right: 12px; width: 34px; height: 34px; }
  .site-popup-badge { margin-right: 32px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes hero-line-reveal {
  from { opacity: 0; transform: scaleX(.2); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes hero-line-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(127,168,255,.22); }
  50% { box-shadow: 0 0 26px rgba(127,168,255,.45); }
}
@keyframes hero-emphasis {
  0%, 100% { color: #7fa8ff; }
  50% { color: #b5cbff; }
}
@keyframes hero-actions-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes hero-caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.animate-in { animation: fadeInUp .4s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.a11y-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2500;
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: min(92vw, 360px);
}

.a11y-widget-trigger,
.a11y-widget-close,
.a11y-widget-reset {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,49,137,.20);
  background: #fff;
  color: #001d5c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.a11y-widget-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

.a11y-widget-trigger span:first-child {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--bleu-pale);
  color: var(--bleu);
}

.a11y-widget-panel {
  width: min(92vw, 360px);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0,49,137,.14);
  background: rgba(255,255,255,.98);
  color: #122033;
  box-shadow: 0 18px 52px rgba(0,0,0,.18);
}

.a11y-widget-panel[hidden] { display: none !important; }
.a11y-widget-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.a11y-widget-kicker {
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gris-moyen);
}
.a11y-widget-title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}
.a11y-widget-copy {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #39475e;
}
.a11y-widget-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.a11y-switch {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid rgba(0,49,137,.12);
  border-radius: 12px;
  background: #fbfcff;
  font-size: 14px;
}
.a11y-switch input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.a11y-widget-actions { margin-top: 14px; display: flex; justify-content: flex-end; }
.a11y-widget-reset { padding: 0 14px; }

html.a11y-contrast .a11y-widget-trigger,
html.a11y-contrast .a11y-widget-panel,
html.a11y-contrast .a11y-switch {
  border-color: currentColor;
}
.partner-logo-link {
  min-width: 180px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 10px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.partner-logo-link:hover {
  transform: translateY(-2px);
  opacity: .82;
}
.partner-logo {
  max-width: 190px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 34, 96, .10));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; } /* Menu hamburger sur mobile */
  .feature-split,
  .stack-layout--sidebar,
  .stack-layout--article,
  .pillar-layout,
  .info-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 8px;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
  .grid-2, .grid-3, .grid-4, .info-highlight-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-stats,
  .checkbox-grid,
  .pillar-summary-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact-inline { flex-direction: column; align-items: flex-start; }
  .topbar-text { display: none; }
  .header-inner {
    min-height: auto;
    padding: 12px 20px;
    gap: 12px;
  }
  .logo-header-546 img {
    width: 54px;
  }
  .logo-acronym { font-size: 22px; }
  .logo-fullname {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    max-width: 180px;
  }

  .nav-toggle { display: flex; }
  .main-nav > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: min(100vw - 24px, 420px);
    background: var(--blanc);
    flex-direction: column;
    border-top: 3px solid var(--bleu);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    gap: 0;
    border-radius: 16px;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
  .main-nav > ul.open { display: flex; }
  .main-nav > ul > li {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .main-nav > ul > li > a,
  .main-nav > ul > li > .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    padding: 14px 18px;
  }
  .main-nav > ul > li > a::after,
  .main-nav > ul > li > .nav-dropdown-toggle::after {
    left: 18px;
    right: 18px;
    bottom: 8px;
  }
  .has-dropdown::after { display: none; }
  .dropdown {
    position: static;
    border: 1px solid var(--gris-clair);
    box-shadow: none;
    background: var(--gris-bg);
    margin: 0 10px 10px;
    border-top: 3px solid var(--bleu);
    border-radius: 12px;
  }
  .has-dropdown > .dropdown { display: none; }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown li a {
    padding: 12px 18px;
  }
  .dropdown li a:hover,
  .dropdown li a[aria-current="page"] {
    padding-left: 18px;
  }
  .dropdown li a::before { display: none; }
  .logo-fullname {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    max-width: 180px;
  }
  .partner-logo-link {
    min-width: 140px;
    min-height: 64px;
    padding: 4px 8px;
  }
  .partners-marquee::before,
  .partners-marquee::after { width: 44px; }
  .site-popup-root { padding: 16px; }
  .site-popup-card { padding: 22px 18px 18px; border-radius: 20px; }
  .site-popup-title { font-size: 28px; margin-right: 36px; }
  .site-popup-actions { flex-direction: column; }
  .site-popup-actions .btn { width: 100%; justify-content: center; }
  .site-popup-preview-shell { padding: 18px; border-radius: 22px; }
  .contact-form-shell,
  .pillar-section .card-body { padding: 22px; }
}

@media (max-width: 480px) {
  .hero { padding: 52px 20px 48px; }
  .section { padding: 44px 20px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .topbar-ref {
    width: 100%;
    text-align: center;
  }
  .article-meta-row { align-items: flex-start; }
  .site-popup-message { font-size: 14px; }
  .site-popup-close { top: 12px; right: 12px; width: 34px; height: 34px; }
  .site-popup-badge { margin-right: 32px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes hero-line-reveal {
  from { opacity: 0; transform: scaleX(.2); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes hero-line-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(127,168,255,.22); }
  50% { box-shadow: 0 0 26px rgba(127,168,255,.45); }
}
@keyframes hero-emphasis {
  0%, 100% { color: #7fa8ff; }
  50% { color: #b5cbff; }
}
@keyframes hero-actions-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes hero-caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.animate-in { animation: fadeInUp .4s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* Print */
@media print {
  .site-header, .site-footer, .topbar, .nav-toggle { display: none; }
  body { color: #000; }
}

/* ============================================================
   DARK MODE OVERRIDES
   ============================================================ */
[data-theme="dark"] {
  --blanc: #121212;
  --gris-bg: #1E1E1E;
  --gris-fonce: #E0E0E0;
  --gris-moyen: #A0A0A0;
  --gris-clair: #333333;
  --bleu-marine: #66A3FF;
  --border: #333333;
  --shadow: 0 2px 12px rgba(0,0,0,.50);
  --shadow-lg: 0 6px 32px rgba(0,0,0,.70);
}
[data-theme="dark"] .hero { background: #001f5c !important; }
[data-theme="dark"] .card { background: var(--gris-bg); border-color: var(--border); }

@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-popup-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background:
      radial-gradient(circle at top, rgba(0,102,204,.12), transparent 42%),
      rgba(0, 19, 54, .82);
  }
}

