/* ==========================================================================
   MESP « Mutuelle agréée » — feuille de style principale
   Charte inspirée du portail du Ministère de l'Éducation nationale et
   Nouvelle Citoyenneté (bleu institutionnel, rouge d'action, jaune drapeau).
   ========================================================================== */

:root {
  /* Couleurs */
  --navy: #17418a;
  --navy-800: #123574;
  --navy-900: #0c2552;
  --ink: #0b1b33;
  --sky: #0f89cb;
  --sky-50: #e7f3fb;
  --red: #db3832;
  --red-700: #b92b26;
  --red-50: #fcebea;
  --yellow: #fce00e;
  --yellow-600: #e9b800;
  --bg: #ffffff;
  --surface: #f4f6fa;
  --surface-2: #eaeef5;
  --border: #dfe4ee;
  --text: #1b2536;
  --muted: #586378;
  --white: #ffffff;
  --success: #1f8a4c;
  --success-50: #e6f4ec;

  /* Typographie */
  --font-display: 'Cabinet Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --text-2xl: clamp(1.875rem, 1.5rem + 1.7vw, 2.875rem);
  --text-hero: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);

  /* Espacements */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  --section: clamp(3rem, 7vw, 6rem);

  --radius-sm: 6px; --radius: 10px; --radius-lg: 16px; --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 3px rgba(11, 27, 51, .05);
  --shadow: 0 6px 18px rgba(11, 27, 51, .08), 0 2px 6px rgba(11, 27, 51, .05);
  --shadow-lg: 0 18px 44px rgba(11, 27, 51, .14);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 var(--space-4); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
h3, h4 { font-family: var(--font-body); font-weight: 700; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); }
ul, ol { padding-left: 1.25rem; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-10); }
.section-head p { color: var(--muted); margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Pastilles & boutons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .35rem; font-size: var(--text-xs); font-weight: 600;
  padding: .2rem .6rem; border-radius: var(--radius-sm); background: var(--sky-50); color: var(--sky); line-height: 1.5;
}
.pill--red { background: var(--red-50); color: var(--red); }
.pill--navy { background: rgba(255,255,255,.16); color: #fff; }
.pill--yellow { background: #fff6bf; color: #6b5800; }
.pill svg { width: 14px; height: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; font-size: var(--text-sm);
  padding: .8rem 1.3rem; border-radius: var(--radius-sm); border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-700); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--ghost { border-color: var(--border); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--yellow); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .55rem .9rem; }

/* ---------- Bande drapeau ---------- */
.flag-stripe { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 5px; }
.flag-stripe span:nth-child(1) { background: var(--sky); }
.flag-stripe span:nth-child(2) { background: var(--yellow); }
.flag-stripe span:nth-child(3) { background: var(--red); }

/* ---------- Barre utilitaire ---------- */
.topbar { background: var(--navy-900); color: #d6e2f5; font-size: var(--text-xs); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: .35rem; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 var(--border); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding-left: .7rem; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; color: var(--navy); }
.brand-text small { font-size: .72rem; font-weight: 600; color: var(--muted); max-width: 210px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .7rem; border-radius: var(--radius-sm);
  font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--navy); background: var(--surface); }
.nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: var(--navy); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease); z-index: 20;
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover > .nav-link svg, .nav-item.is-open > .nav-link svg { transform: rotate(180deg); }
.dropdown a { display: block; padding: .6rem .75rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-size: var(--text-sm); font-weight: 600; }
.dropdown a small { display: block; color: var(--muted); font-weight: 500; font-size: var(--text-xs); }
.dropdown a:hover { background: var(--surface); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s var(--ease); }
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }

/* ---------- Héros (carrousel) ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-track { position: relative; min-height: clamp(460px, 68vh, 640px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,52,.92) 0%, rgba(9,25,52,.72) 45%, rgba(9,25,52,.15) 100%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-block: var(--space-16) var(--space-20); max-width: 680px; }
.slide-content h1, .slide-content h2 { color: #fff; font-size: var(--text-hero); margin-bottom: var(--space-4); }
.slide-content p { color: #dbe5f5; font-size: var(--text-base); max-width: 58ch; }
.slide-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--space-4); }
.hero-controls { position: absolute; z-index: 5; bottom: var(--space-8); left: 0; right: 0; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dots { display: flex; gap: .5rem; }
.dot { width: 34px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.dot.is-active { background: var(--yellow); }
.arrows { display: flex; gap: .6rem; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(9,25,52,.25); color: #fff; display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease); }
.arrow:hover { background: #fff; color: var(--navy); }
.arrow svg { width: 20px; height: 20px; }

/* ---------- Bandeau d'accès rapide ---------- */
.quick { position: relative; z-index: 6; margin-top: -42px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick a { display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem 1.3rem; text-decoration: none; color: var(--text); border-right: 1px solid var(--border); transition: background .2s var(--ease); }
.quick a:last-child { border-right: 0; }
.quick a:hover { background: var(--surface); }
.quick a:hover strong { color: var(--red); }
.quick-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky); }
.quick a:nth-child(2) .quick-ico { background: var(--red-50); color: var(--red); }
.quick a:nth-child(3) .quick-ico { background: #fff6bf; color: #8a7000; }
.quick a:nth-child(4) .quick-ico { background: var(--success-50); color: var(--success); }
.quick-ico svg { width: 22px; height: 22px; }
.quick strong { display: block; font-size: var(--text-sm); color: var(--ink); line-height: 1.3; transition: color .2s; }
.quick span { font-size: var(--text-xs); color: var(--muted); line-height: 1.4; display: block; margin-top: .15rem; }

/* ---------- Bloc « Qui sommes-nous » ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > *, .layout-side > *, .map-wrap > * { min-width: 0; }
.split--rev > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(255,255,255,.95); border-radius: var(--radius); padding: .9rem 1rem; display: flex; gap: .8rem; align-items: center; font-size: var(--text-sm); }
.media-badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); line-height: 1; }
.eyebrow { display: inline-block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: var(--space-3); }
.quote { border-left: 4px solid var(--yellow); padding: .25rem 0 .25rem 1.1rem; margin: var(--space-6) 0; color: var(--ink); font-weight: 600; }
.quote cite { display: block; margin-top: .5rem; font-style: normal; font-size: var(--text-sm); color: var(--muted); font-weight: 700; }
.legal-list { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; gap: .75rem; }
.legal-list li { display: flex; gap: .75rem; background: var(--surface); border-radius: var(--radius); padding: .85rem 1rem; font-size: var(--text-sm); }
.legal-list svg { width: 22px; height: 22px; color: var(--navy); flex: none; margin-top: 2px; }

/* ---------- Cartes d'actualité ---------- */
.news-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
.news-side { display: grid; gap: 1.5rem; }
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-meta { display: flex; gap: .4rem; flex-wrap: wrap; }
.card h3 { font-size: 1.05rem; margin: 0; line-height: 1.35; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--navy); }
.card p { font-size: var(--text-sm); color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--feature .card-img { aspect-ratio: 16 / 11; }
.card--feature h3 { font-size: var(--text-lg); }
.card--h { flex-direction: row; }
.card--h .card-img { flex: 0 0 40%; aspect-ratio: auto; }
.card--h p { -webkit-line-clamp: 2; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.center-cta { text-align: center; margin-top: var(--space-10); }

/* ---------- Bannière bleue ---------- */
.banner { position: relative; border-radius: var(--radius-xl); background: var(--navy); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; }
.banner-media { position: relative; min-height: 300px; }
.banner-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-body { padding: clamp(2rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .4rem; }
.banner h2 { color: #fff; }
.banner p { color: #d4e0f4; max-width: 52ch; }
.banner-steps { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .5rem; counter-reset: s; }
.banner-steps li { counter-increment: s; display: flex; gap: .7rem; align-items: baseline; font-size: var(--text-sm); color: #fff; }
.banner-steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .75rem; display: grid; place-items: center; }

/* ---------- Piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pillar { border-radius: var(--radius-lg); padding: 1.4rem 1.2rem 1.5rem; color: #fff; min-height: 260px; display: flex; flex-direction: column; gap: .6rem; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.pillar:hover { transform: translateY(-4px); }
.pillar:nth-child(1) { background: var(--red); }
.pillar:nth-child(2) { background: var(--navy); }
.pillar:nth-child(3) { background: var(--sky); }
.pillar:nth-child(4) { background: #f0901e; }
.pillar:nth-child(5) { background: var(--ink); }
.pillar-num { align-self: flex-start; background: rgba(0,0,0,.2); border-radius: var(--radius-sm); font-weight: 800; font-size: .8rem; padding: .2rem .5rem; }
.pillar h3 { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin: .2rem 0 0; }
.pillar p { font-size: var(--text-sm); color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Carte & implantations ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.map-svg { width: 100%; height: auto; }
.map-svg path { fill: #e3e8f0; stroke: #fff; stroke-width: 1.2; transition: fill .2s var(--ease); }
.map-svg path.is-on { fill: #9cc8ea; }
.map-svg path.is-siege { fill: var(--navy); }
.map-svg path.is-soon { fill: #fff2a6; }
.map-svg path:hover, .map-svg path.is-hover { fill: var(--red); }
.map-svg .city circle { fill: var(--red); stroke: #fff; stroke-width: 2; }
.map-svg .city text { font-size: 11px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; font-family: var(--font-body); }
.map-legend { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 1rem; font-size: var(--text-xs); color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.map-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.map-tip { position: fixed; pointer-events: none; z-index: 300; background: var(--ink); color: #fff; font-size: var(--text-xs); font-weight: 600; padding: .35rem .6rem; border-radius: var(--radius-sm); opacity: 0; transition: opacity .15s; }
.prov-list { columns: 2; column-gap: 1.5rem; list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.prov-list li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px dashed var(--border); display: flex; gap: .55rem; align-items: flex-start; font-size: var(--text-sm); }
.prov-list svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-top: 3px; }
.prov-list strong { color: var(--ink); }
.prov-list small { display: block; color: var(--muted); }
.prov-list a { text-decoration: none; }

/* ---------- Chiffres ---------- */
.stats-box { background: var(--sky); color: #fff; border-radius: var(--radius-xl); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1.7fr; gap: 2rem; align-items: center; }
.stats-box h2 { color: #fff; }
.stats-box p { color: rgba(255,255,255,.9); margin: 0; font-size: var(--text-sm); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.25rem; }
.stat { display: flex; gap: .8rem; align-items: flex-start; }
.stat-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--sky); display: grid; place-items: center; }
.stat-ico svg { width: 21px; height: 21px; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: var(--text-xs); color: rgba(255,255,255,.9); line-height: 1.35; margin-top: .2rem; }
.stats-source { grid-column: 1 / -1; font-size: var(--text-xs); color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.25); padding-top: 1rem; }
.stats-source a { color: #fff; }

/* ---------- Partenaires ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1rem; display: flex; gap: .8rem; align-items: center; background: #fff; transition: border-color .2s, box-shadow .2s; text-decoration: none; color: var(--text); }
.partner:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: var(--text); }
.partner-mark { flex: none; min-width: 52px; padding: 0 .4rem; height: 46px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .72rem; color: #fff; background: var(--navy); letter-spacing: 0; white-space: nowrap; }
.partner strong { display: block; font-size: var(--text-sm); color: var(--ink); line-height: 1.25; }
.partner span { font-size: var(--text-xs); color: var(--muted); }

/* ---------- Ligne d'assistance ---------- */
.hotline { background: linear-gradient(100deg, var(--ink) 0%, var(--navy-900) 60%, var(--navy) 100%); color: #fff; }
.hotline .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.hotline p { font-size: var(--text-lg); margin: 0; max-width: 34ch; color: #e1e9f7; line-height: 1.4; }
.hotline-num { display: flex; flex-direction: column; gap: .5rem; }
.hotline-num a { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); }
.hotline-num a:hover { color: var(--yellow); }
.hotline-num svg { width: 30px; height: 30px; color: var(--yellow); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #d6e2f5; font-size: var(--text-sm); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-block: var(--space-16) var(--space-10); }
.footer-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; color: #fff; text-decoration: none; }
.footer-brand img { width: 56px; height: 56px; background: #fff; border-radius: 12px; padding: 4px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.footer-brand small { color: #c5d4ee; }
.site-footer h2 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--yellow); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #e3ebf8; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.contact-lines li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-lines svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--text-xs); color: #bccbe6; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,52,.95), rgba(9,25,52,.7)); }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 24ch; margin-bottom: .6rem; }
.page-hero p { color: #d2def2; max-width: 64ch; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: var(--text-xs); color: #b8c9e6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: #8fa6cf; }

/* ---------- Contenu éditorial ---------- */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.prose { font-size: var(--text-base); line-height: 1.75; }
.prose > * { max-width: 72ch; }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-12); }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-8); color: var(--navy); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 var(--space-4); }
.prose li { margin-bottom: .35rem; }
.prose blockquote { margin: var(--space-6) 0; padding: 1rem 1.25rem; border-left: 4px solid var(--yellow); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin: var(--space-6) 0; }
.prose td, .prose th { border: 1px solid var(--border); padding: .5rem .7rem; text-align: left; }
.note { background: #fff9d6; border: 1px solid #f2e08a; border-radius: var(--radius); padding: 1rem 1.15rem; font-size: var(--text-sm); color: #4a3f00; }
.note--blue { background: var(--sky-50); border-color: #bfe0f4; color: #0b4a70; }
.note strong { color: inherit; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
.side-box { background: var(--surface); border-radius: var(--radius-lg); padding: 1.3rem; }
.side-box h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .8rem; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: var(--text-sm); }
.side-box a { text-decoration: none; font-weight: 600; }
.side-box--navy { background: var(--navy); color: #d8e3f6; }
.side-box--navy h2 { color: var(--yellow); }
.side-box--navy a { color: #fff; }
.toc a { display: block; padding: .3rem 0 .3rem .7rem; border-left: 2px solid var(--border); color: var(--muted); }
.toc a:hover, .toc a.is-active { border-color: var(--red); color: var(--navy); }

.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: var(--space-6) 0; }
.info-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem; background: #fff; }
.info-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; margin-bottom: .6rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--red); }
.info-card p, .info-card li { font-size: var(--text-sm); }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: st; margin: var(--space-6) 0; }
.step { position: relative; border-radius: var(--radius-lg); padding: 1.4rem 1.25rem; background: #fff; border: 1px solid var(--border); counter-increment: st; }
.step::before { content: "Étape " counter(st); display: inline-block; font-size: var(--text-xs); font-weight: 700; color: var(--sky); background: var(--sky-50); padding: .15rem .55rem; border-radius: var(--radius-sm); margin-bottom: .7rem; }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: var(--text-sm); color: var(--muted); margin: 0; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: .75rem .85rem; background: #fff;
  font-size: var(--text-base); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23,65,138,.15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field-error { color: var(--red); font-size: var(--text-xs); font-weight: 600; min-height: 1em; }
.field-hint { color: var(--muted); font-size: var(--text-xs); }
.choice { display: flex; gap: .6rem; align-items: center; font-size: var(--text-sm); }
.choice input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-status { border-radius: var(--radius); padding: .9rem 1rem; font-size: var(--text-sm); font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: var(--success-50); color: var(--success); }
.form-status.is-err { display: block; background: var(--red-50); color: var(--red-700); }
.hp { position: absolute; left: -9999px; }

/* Simulateur d'éligibilité */
.tool { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }
.tool-result { margin-top: 1.25rem; border-radius: var(--radius); padding: 1.1rem 1.2rem; display: none; }
.tool-result.is-shown { display: block; }
.tool-result.ok { background: var(--success-50); border: 1px solid #b9dfc8; }
.tool-result.warn { background: #fff9d6; border: 1px solid #f2e08a; }
.tool-result.ko { background: var(--red-50); border: 1px solid #f3c2bf; }
.tool-result h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.tool-result ul { margin: .4rem 0 0; font-size: var(--text-sm); }

/* ---------- Listes d'actualités ---------- */
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: .75rem; align-items: end; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.filters .field input, .filters .field select { padding: .65rem .8rem; }
.results-info { color: var(--muted); font-size: var(--text-sm); margin-bottom: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--border); border-radius: var(--radius-lg); color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination button { min-width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; font-weight: 700; cursor: pointer; padding: 0 .7rem; }
.pagination button[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination button:not(:disabled):hover { border-color: var(--navy); }

/* ---------- Article ---------- */
.article-hero { background: var(--surface); }
.article-hero .container { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
.article-hero h1 { font-size: var(--text-2xl); max-width: 26ch; }
.article-hero .breadcrumb { color: var(--muted); }
.article-hero .breadcrumb a { color: var(--navy); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: var(--muted); font-size: var(--text-sm); margin-bottom: 1.5rem; }
.article-cover { border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface-2); margin-bottom: -1px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; margin: var(--space-8) 0; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.video-box { margin: var(--space-6) 0; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video-box video { width: 100%; max-height: 70vh; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding-block: 1.25rem; border-block: 1px solid var(--border); margin-block: var(--space-8); }
.share strong { font-size: var(--text-sm); margin-right: .25rem; }
.share a, .share button { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: .45rem .85rem; font-size: var(--text-xs); font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--navy); color: var(--navy); }
.share svg { width: 15px; height: 15px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: var(--space-8); }
.post-nav a { display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: var(--text-sm); }
.post-nav a span { display: block; font-size: var(--text-xs); color: var(--muted); font-weight: 600; margin-bottom: .2rem; }
.post-nav a:hover { border-color: var(--navy); color: var(--navy); }
.post-nav a:last-child { text-align: right; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5, 12, 26, .94); display: none; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #cdd8ea; font-size: var(--text-sm); }

/* Recherche */
.search-panel { position: fixed; inset: 0; z-index: 350; background: rgba(9, 25, 52, .7); display: none; align-items: flex-start; justify-content: center; padding: 10vh 1rem 1rem; }
.search-panel.is-open { display: flex; }
.search-box { width: min(720px, 100%); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-input { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
.search-input svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-input input { flex: 1; border: 0; font-size: 1.1rem; padding: .3rem 0; outline: none; }
.search-results { max-height: 60vh; overflow: auto; list-style: none; margin: 0; padding: .5rem; }
.search-results a { display: block; padding: .7rem .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a.is-focus { background: var(--surface); }
.search-results strong { display: block; font-size: var(--text-sm); }
.search-results span { font-size: var(--text-xs); color: var(--muted); }
.search-results mark { background: #fff2a6; color: inherit; border-radius: 2px; }
.search-empty { padding: 1.25rem 1rem; color: var(--muted); font-size: var(--text-sm); }
.search-foot { padding: .6rem 1rem; border-top: 1px solid var(--border); font-size: var(--text-xs); color: var(--muted); display: flex; justify-content: space-between; }
kbd { font-family: inherit; font-size: .7rem; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; padding: 0 .3rem; }

/* Tableaux de statistiques */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.data-table caption { text-align: left; padding: 1rem 1.1rem .4rem; font-weight: 700; color: var(--ink); font-size: 1rem; }
.data-table th, .data-table td { padding: .75rem 1.1rem; border-bottom: 1px solid var(--border); text-align: right; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { background: var(--navy); color: #fff; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em; }
.data-table tfoot td { font-weight: 800; background: var(--surface); color: var(--ink); }
.data-table tbody tr:hover { background: #fafbfd; }
.data-table .fix { color: var(--red-700); font-weight: 800; }
.bars { display: grid; gap: .9rem; margin-top: 1rem; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 90px; gap: .8rem; align-items: center; font-size: var(--text-sm); }
.bar-track { height: 14px; border-radius: 7px; background: var(--surface-2); overflow: hidden; display: flex; }
.bar-track i { display: block; height: 100%; }
.bar-tit { background: var(--navy); }
.bar-pac { background: var(--sky); }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.timeline-chart { width: 100%; height: auto; }
.timeline-chart .grid line { stroke: var(--border); }
.timeline-chart text { font-size: 12px; fill: var(--muted); font-family: var(--font-body); }
.timeline-chart .val { fill: var(--ink); font-weight: 700; }
.timeline-chart rect.b { fill: var(--navy); }
.timeline-chart rect.b:hover { fill: var(--red); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--border); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.timeline time { font-size: var(--text-xs); font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.timeline h3 { font-size: 1rem; margin: .2rem 0 .3rem; }
.timeline h3 a { color: var(--ink); text-decoration: none; }
.timeline h3 a:hover { color: var(--navy); text-decoration: underline; }
.timeline p { font-size: var(--text-sm); color: var(--muted); margin: 0; }
.year-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.year-tabs button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: .4rem .9rem; font-weight: 700; font-size: var(--text-sm); cursor: pointer; }
.year-tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.office { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; background: #fff; display: flex; flex-direction: column; gap: .5rem; }
.office--main { background: var(--navy); color: #d8e3f6; border-color: var(--navy); grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; align-items: start; }
.office--main h3 { color: #fff; }
.office--main a { color: #fff; }
.office h3 { font-size: 1.05rem; margin: 0; }
.office p { margin: 0; font-size: var(--text-sm); }
.office a { font-weight: 700; text-decoration: none; font-size: var(--text-sm); }
.office a:hover { text-decoration: underline; }
.office-line { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--text-sm); }
.office-line svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--red); }
.office--main .office-line svg { color: var(--yellow); }

.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.1rem 1rem; font-size: var(--text-sm); color: var(--text); }

.job { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 260px 1fr; background: #fff; }
.job img { width: 100%; height: 100%; object-fit: cover; }
.job-body { padding: 1.4rem 1.5rem; }

.back-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .25s var(--ease); }
.back-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.back-top svg { width: 20px; height: 20px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: .55rem .5rem; font-size: .78rem; }
  .brand-text small { display: none; }
}
@media (max-width: 1020px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-toggle { display: inline-grid; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + 41px) 0 0 0; background: #fff; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; overflow-y: auto; margin: 0; border-top: 1px solid var(--border); visibility: hidden; }
  .site-header.is-scrolled .main-nav, .topbar-hidden .main-nav { top: var(--header-h); }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 3rem; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: .92rem; }
  .nav-link[aria-current="page"], .nav-item.is-active > .nav-link { box-shadow: none; color: var(--red); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; display: none; min-width: 0; }
  .nav-item.is-open > .dropdown { display: block; }
  .nav-item:hover > .dropdown { display: none; }
  .nav-item.is-open:hover > .dropdown { display: block; }
  .header-actions .btn--red span { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick a:nth-child(2) { border-right: 0; }
  .quick a:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:last-child { grid-column: span 2; min-height: 0; }
  .stats-box { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-side { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .office--main { grid-column: span 2; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .split, .map-wrap, .news-grid, .banner { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .cards-3, .steps { grid-template-columns: 1fr 1fr; }
  .banner-media { min-height: 220px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .field:first-child { grid-column: 1 / -1; }
  .hotline .container { flex-direction: column; align-items: flex-start; }
  .job { grid-template-columns: 1fr; }
  .job img { aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: .95rem; }
  .hero-track { min-height: 520px; }
  .slide::after { background: linear-gradient(180deg, rgba(9,25,52,.55) 0%, rgba(9,25,52,.92) 60%); }
  .slide-content { justify-content: flex-end; padding-bottom: 6.5rem; }
  .arrow { width: 42px; height: 42px; }
  .quick { margin-top: -30px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick a { border-right: 0; border-bottom: 1px solid var(--border); padding: 1rem; }
  .quick a:last-child { border-bottom: 0; }
  .cards-3, .steps, .info-cards, .pillars, .partners, .form-row, .office-grid { grid-template-columns: 1fr; }
  .pillar:last-child { grid-column: auto; }
  .pillar { min-height: 0; }
  .card--h { flex-direction: column; }
  .card--h .card-img { flex: none; aspect-ratio: 16/10; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .prov-list { columns: 1; }
  .office--main { grid-column: auto; grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .bar-row { grid-template-columns: 1fr 70px; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .filters { grid-template-columns: 1fr; }
  .lightbox { padding: 3.5rem .75rem; }
  .lb-prev, .lb-next { top: auto; bottom: .75rem; transform: none; }
  .article-cover { aspect-ratio: 16/10; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .hotline, .share, .post-nav, .back-top, .sidebar, .gallery, .search-panel, .flag-stripe { display: none !important; }
  .layout-side { grid-template-columns: 1fr; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
  .article-cover { aspect-ratio: auto; max-height: 9cm; }
}
.article-meta svg { width: 16px; height: 16px; }
.header-actions .btn { white-space: nowrap; }
[hidden] { display: none !important; }
.nav-mobile-only { display: none; }
@media (max-width: 1020px) { .nav-mobile-only { display: block; } }
.hero-controls { bottom: calc(42px + 1.5rem); }
.slide-content { padding-bottom: calc(42px + 6rem); }
@media (max-width: 600px) { .hero-controls { bottom: calc(30px + 1.25rem); } .slide-content { padding-bottom: calc(30px + 6rem); } }
.slide-content { max-width: none; }
.slide-content > * { max-width: 680px; }
