/* ==========================================================================
   EFFATA RDC — feuille de style principale (design institutionnel 2026)
   Complète Bootstrap 5 (grille, utilitaires, formulaires).
   Sommaire : 1. Design tokens  2. Base  3. Mise en page  4. Composants
              5. En-tête & navigation  6. Accueil  7. Actualités & articles
              8. Formulaires  9. Pied de page  10. Animations & utilitaires
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  /* Marque (logo) et couleurs nationales */
  --c-navy-950: #0a0f24;
  --c-navy-900: #121836;
  --c-navy-800: #1e223b;
  --c-navy-700: #2d3358;
  --c-navy-100: #e8eaf4;
  --c-gold-500: #f0a500;
  --c-gold-400: #f5b916;
  --c-gold-100: #fdf0d2;
  --c-red-600: #d62d2d;
  --c-red-700: #b42121;
  --c-red-50: #fdeeee;
  --c-sky-600: #1d7bd8;
  --c-cream: #fbf7ef;
  --c-cream-2: #f4ecdd;

  /* Couleurs sémantiques */
  --c-text: #1b2033;
  --c-text-muted: #5b6173;
  --c-heading: var(--c-navy-900);
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-muted: var(--c-cream);
  --c-border: #ebe4d6;
  --c-accent: var(--c-red-600);
  --c-accent-hover: var(--c-red-700);
  --c-success: #1c7c4a;
  --c-danger: #b42121;

  /* Typographie */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Poppins", var(--font-body);
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-h2: clamp(1.8rem, 1.3rem + 1.9vw, 2.9rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 3vw, 3.8rem);

  /* Espacements, rayons, ombres */
  --space-section: clamp(4rem, 2.8rem + 4.5vw, 7rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(18, 24, 54, 0.05), 0 4px 14px rgba(18, 24, 54, 0.05);
  --shadow: 0 18px 40px -18px rgba(18, 24, 54, 0.28);
  --shadow-lg: 0 34px 70px -28px rgba(18, 24, 54, 0.45);
  --shadow-gold: 0 14px 30px -12px rgba(240, 165, 0, 0.65);
  --header-h: 78px;
  --topbar-h: 40px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Décors */
  --pattern: url("pattern-losanges.svg");
  /* Bandeau « drapeau » : bleu ciel, bande rouge centrale liserée de jaune, léger reflet */
  --flag-band: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 65%),
               linear-gradient(90deg, #0b62c4 0%, #2e95f0 38%, var(--c-gold-400) 38%, var(--c-gold-400) 41%, var(--c-red-600) 41%, var(--c-red-600) 59%, var(--c-gold-400) 59%, var(--c-gold-400) 62%, #2e95f0 62%, #0b62c4 100%);

  /* Intégration Bootstrap */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--c-text);
  --bs-body-bg: var(--c-bg);
  --bs-link-color-rgb: 214, 45, 45;
}

/* 2. Base
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body { font-size: var(--fs-base); line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--c-heading); font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; }
a { color: var(--c-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-accent-hover); }
img { max-width: 100%; height: auto; }
::selection { background: var(--c-gold-400); color: var(--c-navy-950); }

:focus-visible { outline: 3px solid var(--c-gold-400); outline-offset: 3px; border-radius: 6px; }
.main:focus { outline: none; }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 2000;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  background: var(--c-navy-900); color: #fff; font-weight: 600;
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; color: #fff; }

/* Le contenu démarre sous l'en-tête fixe (bandeau + barre principale) */
.main { padding-top: calc(var(--header-h) + var(--topbar-h)); }

/* 3. Mise en page
   ========================================================================== */
.section { position: relative; padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.75rem, 2rem + 2.5vw, 4rem); }
.section--muted { background: linear-gradient(180deg, var(--c-cream) 0%, #fdfaf4 100%); }
.section--dark {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(29, 123, 216, 0.22), transparent 60%),
              radial-gradient(900px 400px at 0% 110%, rgba(240, 165, 0, 0.14), transparent 60%),
              var(--c-navy-900);
  color: rgba(255, 255, 255, 0.82); overflow: hidden;
}
.section--dark::before { content: ""; position: absolute; inset: 0; background: var(--pattern) 0 0 / 150px auto; opacity: 0.07; pointer-events: none; }
.section--dark > .container { position: relative; }
.section--dark .section-title { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 3.25rem; text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--c-text-muted); font-size: var(--fs-lg); }
.section--dark .section-head p:last-child { color: rgba(255, 255, 255, 0.72); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-end; justify-content: space-between; text-align: left; margin-bottom: 2.5rem; }
.section-head--split .section-title { margin-bottom: 0; }

.section-title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1rem; }
.section-title--sm { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.8rem); letter-spacing: -0.02em; }

/* Étiquette de section (kicker) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-gold-400), var(--c-red-600)); }
.eyebrow--light { color: var(--c-gold-400); }

.lead-text { font-size: var(--fs-lg); color: var(--c-text-muted); }
.text-muted-2 { color: var(--c-text-muted); font-size: var(--fs-sm); }

/* Frise aux couleurs nationales */
/* Séparateur emblème : bandeau drapeau + médaillon étoile au centre */
.stripe-divider { position: relative; z-index: 2; height: 6px; background: var(--flag-band); }
.stripe-divider::after {
  content: "\2605"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--c-navy-700), var(--c-navy-950) 70%); color: var(--c-gold-400);
  font-size: 1.55rem; line-height: 1; border: 4px solid #fff; box-shadow: 0 12px 26px -10px rgba(18, 24, 54, 0.6), 0 0 0 1px rgba(245, 185, 22, 0.35) inset;
}
.stripe-divider::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 5rem; height: 5rem; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px dashed rgba(245, 185, 22, 0.55); animation: spin 30s linear infinite;
}

/* 4. Composants
   ========================================================================== */
/* Boutons : pilules, reflet au survol, légère élévation */
.btn-brand, .btn-ghost, .btn-outline {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.78rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; line-height: 1.2; letter-spacing: 0.005em;
  cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn-brand::after, .btn-ghost::after, .btn-outline::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; z-index: -1; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease-out);
}
.btn-brand:hover::after, .btn-ghost:hover::after, .btn-outline:hover::after { left: 120%; }
.btn-brand .bi, .btn-ghost .bi, .btn-outline .bi { transition: transform 0.25s var(--ease-out); }
.btn-brand:hover .bi-arrow-right, .btn-ghost:hover .bi-arrow-right, .btn-outline:hover .bi-arrow-right { transform: translateX(4px); }
.btn-brand:active, .btn-ghost:active, .btn-outline:active { transform: translateY(0) scale(0.98); }

.btn-brand { background: var(--c-gold-500); color: var(--c-navy-950); box-shadow: var(--shadow-gold); }
.btn-brand:hover { background: var(--c-gold-400); color: var(--c-navy-950); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(240, 165, 0, 0.75); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--c-navy-900); transform: translateY(-2px); }
.btn-outline { color: var(--c-navy-900); border-color: var(--c-navy-900); background: transparent; }
.btn-outline:hover { background: var(--c-navy-900); color: #fff; transform: translateY(-2px); }
.btn-brand--lg { padding: 0.95rem 1.8rem; font-size: 1rem; }
.btn-brand--sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; }
.btn-brand[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-family: var(--font-heading); font-size: 0.95rem; }
.link-arrow .bi { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover .bi-arrow-right { transform: translateX(5px); }

/* Badges */
.badge-cat {
  display: inline-block; padding: 0.28rem 0.75rem; border-radius: 999px;
  background: var(--c-gold-100); color: #7a4f00; border: 1px solid rgba(240, 165, 0, 0.35);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.badge-cat:hover { background: var(--c-gold-500); border-color: var(--c-gold-500); color: var(--c-navy-950); }
.badge-soon {
  display: inline-block; padding: 0.18rem 0.65rem; border-radius: 999px; vertical-align: middle;
  background: var(--c-navy-100); color: var(--c-navy-700); font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Liste à puces cochées */
.check-list { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.85rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--c-cream); border: 1px solid var(--c-border); transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.check-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.check-list .bi { color: var(--c-gold-500); font-size: 1.2rem; line-height: 1.5; }

/* Carte service / priorité numérotée (inspirée des « priorités » institutionnelles) */
.feature-grid { counter-reset: feature; }
.feature-card {
  counter-increment: feature;
  position: relative; height: 100%; padding: 2rem 1.8rem 1.9rem; border-radius: var(--radius);
  background: var(--c-surface); border: 1px solid var(--c-border); border-left: 4px solid var(--c-gold-500);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.feature-card::before {
  content: counter(feature, decimal-leading-zero); position: absolute; top: 1.2rem; right: 1.5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(29, 123, 216, 0.28); transition: color 0.35s, -webkit-text-stroke-color 0.35s;
}
.feature-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 165, 0, 0.14), transparent 70%); opacity: 0; transition: opacity 0.35s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-left-color: var(--c-red-600); }
.feature-card:hover::before { color: rgba(29, 123, 216, 0.12); -webkit-text-stroke-color: var(--c-sky-600); }
.feature-card:hover::after { opacity: 1; }
.feature-card__icon {
  position: relative; display: inline-grid; place-items: center; flex-shrink: 0; width: 3.4rem; height: 3.4rem; margin-bottom: 1.3rem;
  border-radius: 16px; background: linear-gradient(135deg, var(--c-navy-800), var(--c-navy-700)); color: var(--c-gold-400); font-size: 1.45rem;
  box-shadow: 0 10px 20px -10px rgba(18, 24, 54, 0.6); transition: transform 0.35s var(--ease-out), background 0.35s;
}
.feature-card:hover .feature-card__icon { transform: rotate(-6deg) scale(1.06); background: linear-gradient(135deg, var(--c-red-600), var(--c-red-700)); color: #fff; }
.feature-card__title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.feature-card__title a { color: inherit; }
.feature-card p { position: relative; margin: 0; color: var(--c-text-muted); }

/* Carte article */
.post-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--c-surface); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-navy-100); }
.post-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 36, 0.35)); opacity: 0; transition: opacity 0.4s; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card:hover .post-card__media::after { opacity: 1; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.post-card__body .badge-cat { align-self: flex-start; margin-bottom: 0.85rem; }
.post-card__title { font-size: var(--fs-h3); line-height: 1.32; margin-bottom: 0.65rem; }
.post-card__title a { color: var(--c-heading); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.4s var(--ease-out), color 0.2s; }
.post-card:hover .post-card__title a { background-size: 100% 2px; }
.post-card__title a:hover { color: var(--c-accent); }
.post-card__excerpt { color: var(--c-text-muted); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed var(--c-border); display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.82rem; color: var(--c-text-muted); }

/* Bandeau des pages intérieures */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 4.75rem);
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(115deg, rgba(10, 15, 36, 0.96) 0%, rgba(18, 24, 54, 0.88) 50%, rgba(30, 34, 59, 0.62) 100%), var(--hero-image) center / cover no-repeat, var(--c-navy-900);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) 0 0 / 140px auto; opacity: 0.08; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--flag-band); }
.page-hero__title { max-width: 960px; font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: #fff; margin-bottom: 1rem; }
.page-hero__lead { max-width: 740px; font-size: var(--fs-lg); margin: 0; color: rgba(255, 255, 255, 0.78); }
.breadcrumbs { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0.4rem 0.95rem; margin: 0 0 1.4rem; font-size: var(--fs-sm); border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; opacity: 0.55; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.88); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--c-gold-400); }

/* 5. En-tête & navigation
   ========================================================================== */
/* Le fond est porté par ::before : un backdrop-filter sur l'en-tête lui-même ferait
   de celui-ci le repère du menu mobile (position fixed), qui serait alors tronqué. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 rgba(18, 24, 54, 0.06);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.is-scrolled .site-header::before { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 10px 30px -14px rgba(18, 24, 54, 0.35); }

/* Bandeau institutionnel supérieur (replié au défilement) */
.topbar { height: var(--topbar-h); overflow: hidden; background: var(--c-navy-950); color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; transition: margin-top 0.35s var(--ease-out); }
.is-scrolled .topbar { margin-top: calc(-1 * var(--topbar-h)); }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__text { margin: 0; display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__text .bi { color: var(--c-gold-400); }
.topbar__text span[aria-hidden] { opacity: 0.4; }
.topbar__links { display: flex; align-items: center; gap: 1.1rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255, 255, 255, 0.82); }
.topbar__links a:hover { color: var(--c-gold-400); }
@media (max-width: 767.98px) {
  :root { --topbar-h: 0px; }
  .topbar { display: none; }
}

.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: height 0.3s var(--ease-out); }
.is-scrolled .site-header__inner { height: calc(var(--header-h) - 10px); }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--c-navy-900); }
.brand:hover { color: var(--c-navy-900); }
.brand img { width: auto; height: 46px; border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(18, 24, 54, 0.55); transition: transform 0.4s var(--ease-out); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.brand__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; line-height: 1; }
.brand__name span { color: var(--c-accent); }
.brand__tag { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-text-muted); }

.nav-toggle {
  position: relative; z-index: 1002; display: none; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0;
  border: 0; border-radius: 14px; background: var(--c-navy-900); color: #fff; font-size: 1.5rem; line-height: 1;
  box-shadow: 0 10px 20px -10px rgba(18, 24, 54, 0.7); transition: background-color 0.2s, transform 0.2s;
}
.nav-toggle:hover { background: var(--c-navy-700); }
.nav-toggle:active { transform: scale(0.95); }
.nav-open .nav-toggle { background: rgba(255, 255, 255, 0.12); box-shadow: none; }

.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav ul { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0.3rem; border-radius: 999px; background: rgba(244, 236, 221, 0.55); }
.site-nav ul a {
  position: relative; display: block; padding: 0.55rem 0.95rem; border-radius: 999px; color: var(--c-navy-800);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.site-nav ul a:hover { background: #fff; color: var(--c-accent); box-shadow: var(--shadow-sm); }
.site-nav ul a.is-active { background: var(--c-navy-900); color: #fff; box-shadow: 0 8px 16px -8px rgba(18, 24, 54, 0.6); }
.site-nav__cta .bi { font-size: 1rem; }
.pwa-install-trigger { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .site-nav { gap: .55rem; }
  .site-nav ul a { padding-right: .55rem; padding-left: .55rem; font-size: .82rem; }
  .site-nav__cta { padding-right: .8rem; padding-left: .8rem; font-size: .82rem; }
  .pwa-install-trigger { padding-right: .7rem; padding-left: .7rem; font-size: 0; }
  .pwa-install-trigger .bi { font-size: 1rem; }
}

/* Invitation d'installation et avis de mise à jour PWA */
.pwa-notice { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(8, 10, 22, 0.62); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.pwa-notice.is-open { opacity: 1; visibility: visible; }
.pwa-notice__dialog { position: relative; width: min(100%, 32rem); padding: 2.25rem; border: 1px solid var(--c-border); border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(12px) scale(.98); transition: transform .25s var(--ease-out); }
.pwa-notice.is-open .pwa-notice__dialog { transform: none; }
.pwa-notice__icon { float: right; border-radius: 16px; box-shadow: var(--shadow-sm); }
.pwa-notice__dialog .eyebrow { margin: .4rem 0 .7rem; color: var(--c-red-600); font-size: .72rem; letter-spacing: .13em; }
.pwa-notice__dialog h2 { max-width: 21rem; margin: 0 0 .7rem; font-size: clamp(1.45rem, 4vw, 1.85rem); line-height: 1.2; }
.pwa-notice__dialog > p:not(.eyebrow) { color: var(--c-text-muted); }
.pwa-notice__close { position: absolute; top: .6rem; right: .8rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: var(--c-cream); color: var(--c-navy-900); font-size: 1.5rem; line-height: 1; }
.pwa-notice__instructions { clear: both; display: grid; gap: .55rem; padding: 0 0 0 1.2rem; color: var(--c-text-muted); }
.pwa-notice__instructions[hidden] { display: none; }
.pwa-notice__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.pwa-notice__later { padding: .7rem 1rem; border: 0; background: transparent; color: var(--c-text-muted); font: inherit; font-weight: 600; cursor: pointer; }
.pwa-notice-open { overflow: hidden; }
@media (max-width: 480px) {
  .pwa-notice__dialog { padding: 1.5rem; }
  .pwa-notice__icon { width: 52px; height: 52px; }
  .pwa-notice__dialog h2 { clear: both; }
  .pwa-notice__actions { align-items: stretch; }
  .pwa-notice__primary { width: 100%; }
  .pwa-notice__later { width: 100%; }
}
.pwa-update { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 1500; display: flex; align-items: center; gap: .8rem; max-width: calc(100vw - 2rem); margin: 0; padding: .85rem 1rem; border-radius: 14px; background: var(--c-navy-900); color: #fff; box-shadow: var(--shadow-lg); font-size: .9rem; }
.pwa-update[hidden] { display: none; }
.pwa-update button { border: 0; background: transparent; color: var(--c-gold-400); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pwa-update button:last-child { color: #fff; font-size: 1.2rem; }

/* Menu mobile et tablette : tiroir latéral pleine hauteur */
@media (max-width: 1199.98px) {
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
    width: min(360px, 88vw); height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 0.75rem) 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    background: var(--pattern) 100% 100% / 150px auto no-repeat, linear-gradient(180deg, var(--c-navy-900) 0%, var(--c-navy-950) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, 0.6);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }
  .nav-open .site-nav { transform: none; visibility: visible; transition: transform 0.4s var(--ease-out), visibility 0s; }
  .site-nav::before {
    content: "Menu"; display: block; margin: 0 0.75rem 0.75rem; padding-bottom: 0.75rem;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--flag-band); }
  .site-nav ul { flex-direction: column; gap: 0.25rem; margin-bottom: 1.5rem; padding: 0; background: none; border-radius: 0; }
  .site-nav ul a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 3rem; padding: 0.75rem; border-radius: 12px; box-shadow: none;
    color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; font-weight: 500;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
  }
  .site-nav ul a::after { content: "\203A"; font-size: 1.4rem; line-height: 1; color: rgba(255, 255, 255, 0.35); transition: transform 0.2s, color 0.2s; }
  .site-nav ul a:hover, .site-nav ul a:focus-visible { background: rgba(255, 255, 255, 0.07); color: #fff; padding-left: 1rem; box-shadow: none; }
  .site-nav ul a:hover::after { transform: translateX(3px); color: #fff; }
  .site-nav ul a.is-active { background: rgba(240, 165, 0, 0.14); color: #fff; box-shadow: inset 3px 0 0 var(--c-gold-500); }
  .site-nav ul a.is-active::after { color: var(--c-gold-400); }
  .site-nav__cta { margin-top: auto; width: 100%; padding: 0.95rem 1.25rem; font-size: 1rem; }
  .pwa-install-trigger { width: 100%; margin-bottom: .75rem; padding: .85rem 1rem; font-size: 1rem; }

  .site-nav li { opacity: 0; transform: translateX(16px); transition: opacity 0.3s, transform 0.35s var(--ease-out); }
  .nav-open .site-nav li { opacity: 1; transform: none; }
  .nav-open .site-nav li:nth-child(2) { transition-delay: 0.04s; }
  .nav-open .site-nav li:nth-child(3) { transition-delay: 0.08s; }
  .nav-open .site-nav li:nth-child(4) { transition-delay: 0.12s; }
  .nav-open .site-nav li:nth-child(5) { transition-delay: 0.16s; }
  .nav-open .site-nav li:nth-child(6) { transition-delay: 0.2s; }
  .nav-open .site-nav li:nth-child(n+7) { transition-delay: 0.24s; }

  .nav-open { overflow: hidden; }
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 999; background: rgba(8, 10, 22, 0.55);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s;
  }
  .nav-open::after { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }
}
@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
  .site-nav li { opacity: 1; transform: none; }
}
@media (max-width: 419.98px) {
  .brand__name { font-size: 1.2rem; }
  .brand img { height: 40px; }
  .brand__tag { display: none; }
}

/* Barre de progression de lecture (pages article) */
.read-progress { position: fixed; top: 0; left: 0; z-index: 1003; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--c-gold-400), var(--c-red-600)); pointer-events: none; }

/* 6. Accueil
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: min(calc(100vh - var(--header-h) - var(--topbar-h)), 820px); padding: clamp(4rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
  color: rgba(255, 255, 255, 0.85); background: var(--c-navy-950);
}
/* Calques : photo (parallaxe), voile, motif, halos */
.hero__bg { position: absolute; inset: -12% 0; z-index: -3; background: var(--hero-image) center / cover no-repeat; transform: translate3d(0, var(--parallax, 0px), 0) scale(1.05); will-change: transform; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(700px 420px at 88% 18%, rgba(29, 123, 216, 0.35), transparent 65%),
              radial-gradient(600px 380px at 10% 95%, rgba(240, 165, 0, 0.22), transparent 65%),
              linear-gradient(100deg, rgba(10, 15, 36, 0.97) 0%, rgba(10, 15, 36, 0.88) 45%, rgba(18, 24, 54, 0.62) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) 0 0 / 170px auto; opacity: 0.1; mask-image: linear-gradient(90deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
.hero__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 992px) { .hero__grid { grid-template-columns: 1.2fr 1fr; } }
.hero__title { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.05em; color: #fff; margin-bottom: 1.4rem; }
.hero__title span { background: linear-gradient(90deg, var(--c-gold-400), #ffd66b 60%, var(--c-gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 580px; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); line-height: 1.7; margin-bottom: 2.2rem; color: rgba(255, 255, 255, 0.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero .eyebrow { padding: 0.45rem 0.95rem 0.45rem 0.8rem; border-radius: 999px; background: rgba(245, 185, 22, 0.1); border: 1px solid rgba(245, 185, 22, 0.28); }
.hero .eyebrow::before { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c-gold-400); box-shadow: 0 0 0 0 rgba(245, 185, 22, 0.6); animation: pulse 2.4s infinite; }

/* Carte « À la une » en verre dépoli */
.hero__featured {
  position: relative; padding: 1.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero__featured::before { content: ""; position: absolute; top: -1px; left: 1.6rem; right: 1.6rem; height: 3px; border-radius: 0 0 3px 3px; background: var(--flag-band); }
.hero__featured-title { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold-400); margin: 0.25rem 0 1rem; }
.hero__featured ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.mini-post { position: relative; display: flex; gap: 1rem; align-items: center; padding: 0.7rem; border-radius: 16px; transition: background-color 0.25s, transform 0.3s var(--ease-out); }
.mini-post:hover { background: rgba(255, 255, 255, 0.09); transform: translateX(4px); }
.mini-post img { width: 96px; height: 72px; flex-shrink: 0; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.8); }
.mini-post__cat { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-gold-400); margin-bottom: 0.25rem; }
.mini-post__title { color: #fff; font-weight: 600; font-size: 0.95rem; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-post__title::after { content: ""; position: absolute; inset: 0; }
.mini-post__title:hover { color: #fff; }

/* Indicateur de défilement */
.hero__scroll { position: absolute; left: 50%; bottom: 3.4rem; transform: translateX(-50%); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 1.2rem; animation: float 2.6s ease-in-out infinite; }
.hero__scroll:hover { color: var(--c-gold-400); border-color: var(--c-gold-400); }
@media (max-width: 991.98px) { .hero__scroll { display: none; } }

/* Mosaïque photo */
.photo-mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-mosaic::before { content: ""; position: absolute; inset: 8% -4% -6% 10%; z-index: -1; border-radius: var(--radius-lg); background: var(--c-cream-2); }
.photo-mosaic::after { content: ""; position: absolute; right: -14px; top: -14px; width: 90px; height: 90px; z-index: -1; background: var(--pattern) 0 0 / 60px auto; opacity: 0.6; }
.photo-mosaic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.6s var(--ease-out); }
.photo-mosaic img:nth-child(even) { transform: translateY(1.75rem); }
.photo-mosaic img:hover { transform: scale(1.03); }
.photo-mosaic img:nth-child(even):hover { transform: translateY(1.75rem) scale(1.03); }

/* Chiffres clés : bandeau sombre, cartes en verre */
.stats-band { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); background: linear-gradient(120deg, var(--c-navy-900), var(--c-navy-800) 60%, #26306b); color: #fff; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: var(--pattern) 0 0 / 150px auto; opacity: 0.07; }
.stats { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats__item {
  position: relative; text-align: center; padding: 1.9rem 1rem 1.7rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease-out), background-color 0.35s;
}
.stats__item::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--c-gold-400), var(--c-red-600)); }
.stats__item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.1); }
.stats__value { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; color: var(--c-gold-400); font-variant-numeric: tabular-nums; }
.stats__label { display: block; margin-top: 0.5rem; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }

/* Appel à l'action */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-section); color: rgba(255, 255, 255, 0.85); background: var(--c-navy-950); }
.cta__bg { position: absolute; inset: -15% 0; z-index: -3; background: var(--hero-image) center / cover no-repeat; transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, rgba(10, 15, 36, 0.94), rgba(30, 34, 59, 0.85) 55%, rgba(180, 33, 33, 0.78)); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) 0 0 / 150px auto; opacity: 0.1; }
.cta__title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.035em; color: #fff; margin-bottom: 1rem; }
.cta__text { max-width: 720px; margin: 0 auto 2.2rem; font-size: var(--fs-lg); }

/* Bibliothèque : filtres et galerie */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; width: fit-content; max-width: 100%; margin: 0 auto 2.75rem; padding: 0.4rem; border-radius: 999px; background: var(--c-cream); border: 1px solid var(--c-border); }
.filter-bar__btn { padding: 0.55rem 1.2rem; border-radius: 999px; border: 0; background: transparent; color: var(--c-navy-800); font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.filter-bar__btn:hover { background: #fff; }
.filter-bar__btn[aria-pressed="true"] { background: var(--c-navy-900); color: #fff; box-shadow: 0 8px 16px -8px rgba(18, 24, 54, 0.6); }
[data-type][hidden] { display: none !important; }
[data-type].is-filtered-in { animation: pop-in 0.45s var(--ease-out) both; }

.resource-card { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); transition: box-shadow 0.4s, transform 0.4s var(--ease-out); }
.resource-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.resource-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-navy-100); }
.resource-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 15, 36, 0.55)); transition: opacity 0.4s; }
.resource-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.resource-card:hover .resource-card__media img { transform: scale(1.08); }
.resource-card__type { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(10, 15, 36, 0.8); backdrop-filter: blur(6px); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.resource-card__body { padding: 1.35rem 1.6rem 1.6rem; }
.resource-card__body h3 { font-size: var(--fs-h3); margin-bottom: 0.45rem; }
.resource-card__body p { color: var(--c-text-muted); font-size: 0.95rem; }

/* Regards sur la RDC : défilement horizontal */
.h-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 1.5rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: thin; scrollbar-color: rgba(245, 185, 22, 0.5) transparent;
}
@media (min-width: 992px) { .h-scroll { grid-auto-columns: calc((100% - 3rem) / 3); } }
.quote-card {
  position: relative; scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; padding: 2.1rem 2rem 1.9rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background-color 0.35s;
}
.quote-card::after { content: "\201D"; position: absolute; top: 0.5rem; right: 1.4rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(245, 185, 22, 0.18); }
.quote-card:hover { transform: translateY(-6px); border-color: rgba(245, 185, 22, 0.45); }
.quote-card__icon { display: inline-grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-bottom: 1.3rem; border-radius: 14px; background: linear-gradient(135deg, var(--c-gold-400), var(--c-gold-500)); color: var(--c-navy-950); font-size: 1.35rem; box-shadow: var(--shadow-gold); }
.quote-card blockquote { flex: 1; margin: 0 0 1.5rem; font-size: 1.02rem; line-height: 1.75; color: rgba(255, 255, 255, 0.86); }
.quote-card figcaption { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.quote-card figcaption strong { display: block; color: #fff; font-family: var(--font-heading); }
.quote-card figcaption span { font-size: var(--fs-sm); color: var(--c-gold-400); }

/* FAQ */
@media (min-width: 992px) { .faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.faq { display: grid; gap: 0.85rem; }
.faq__item { border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-border); transition: box-shadow 0.3s, border-color 0.3s; }
.faq__item:hover { border-color: rgba(240, 165, 0, 0.45); }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem;
  cursor: pointer; list-style: none; font-family: var(--font-heading); font-weight: 600; color: var(--c-heading);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .bi { display: grid; place-items: center; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-gold-100); color: #8a5a00; transition: transform 0.35s var(--ease-out), background-color 0.3s, color 0.3s; }
.faq__item[open] summary .bi { transform: rotate(135deg); background: var(--c-navy-900); color: #fff; }
.faq__item p { margin: 0; padding: 0 1.5rem 1.35rem; color: var(--c-text-muted); animation: fade-down 0.4s var(--ease-out); }

/* Équipe */
.team-card { position: relative; height: 100%; padding: 2.4rem 1.5rem 2rem; text-align: center; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 88px; background: linear-gradient(120deg, var(--c-navy-900), var(--c-navy-700)); }
.team-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 88px; background: var(--pattern) 0 0 / 90px auto; opacity: 0.15; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__avatar { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 116px; height: 116px; margin-bottom: 1.25rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 14px 28px -12px rgba(18, 24, 54, 0.6); transition: transform 0.4s var(--ease-out); }
.team-card:hover .team-card__avatar { transform: scale(1.05); }
.team-card__avatar--icon { background: linear-gradient(135deg, var(--c-gold-100), #fff); color: var(--c-navy-900); font-size: 2.6rem; }
.team-card h3 { position: relative; font-size: 1.05rem; margin-bottom: 0.35rem; }
.team-card p { position: relative; margin: 0; color: var(--c-text-muted); font-size: 0.925rem; }

/* 7. Actualités & articles
   ========================================================================== */
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; padding: 0.9rem 1.2rem; border-radius: var(--radius); background: var(--c-cream); border: 1px solid var(--c-border); color: var(--c-text-muted); }
.results-bar p { margin: 0; }
.results-bar strong { color: var(--c-navy-900); }

.empty-state { padding: 3.5rem 1.5rem; text-align: center; border-radius: var(--radius-lg); background: var(--c-cream); border: 1px dashed var(--c-border); }
.empty-state .bi { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); font-size: 1.9rem; color: var(--c-gold-500); }
.empty-state h2 { font-size: 1.35rem; margin: 1.1rem 0 0.5rem; }

.pagination-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.pagination-nav a { display: grid; place-items: center; min-width: 2.9rem; height: 2.9rem; padding: 0 0.6rem; border-radius: 14px; border: 1px solid var(--c-border); background: #fff; color: var(--c-text); font-weight: 600; transition: all 0.25s var(--ease-out); }
.pagination-nav a:hover { border-color: var(--c-gold-500); color: var(--c-navy-900); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pagination-nav a[aria-current] { background: var(--c-navy-900); border-color: var(--c-navy-900); color: #fff; box-shadow: 0 10px 20px -10px rgba(18, 24, 54, 0.6); }

.article__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; color: var(--c-text-muted); font-size: var(--fs-sm); }
.article__meta > span { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--c-cream); border: 1px solid var(--c-border); }
.article__meta .bi { color: var(--c-gold-500); }
.article__cover { position: relative; margin: 0 0 2.25rem; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-navy-100); box-shadow: var(--shadow); }
.article__cover img { width: 100%; max-height: 540px; object-fit: cover; }
.article__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; margin-top: 3rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--c-cream); border: 1px solid var(--c-border); }

/* Typographie des contenus éditoriaux */
.prose { font-size: 1.075rem; line-height: 1.85; color: #262b3d; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin-bottom: 0; }
.prose > p:first-child::first-letter { float: left; margin: 0.08em 0.12em 0 0; font-family: var(--font-heading); font-weight: 800; font-size: 3.4em; line-height: 0.85; color: var(--c-navy-900); }
.prose h2 { position: relative; font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); margin: 2.1em 0 0.7em; padding-left: 1rem; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--c-gold-400), var(--c-red-600)); }
.prose h3 { font-size: 1.2rem; margin: 1.75em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--c-gold-500); }
.prose a { text-decoration: underline; text-decoration-color: rgba(214, 45, 45, 0.35); text-underline-offset: 3px; }
.prose blockquote {
  position: relative; margin: 2.2em 0; padding: 1.75rem 2rem 1.75rem 3.4rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--c-cream), #fff); border: 1px solid var(--c-border);
  font-family: var(--font-heading); font-size: 1.15rem; font-style: italic; line-height: 1.6; color: var(--c-navy-900);
}
.prose blockquote::before { content: "\201C"; position: absolute; left: 1rem; top: 0.6rem; font-family: Georgia, serif; font-size: 3.6rem; line-height: 1; font-style: normal; color: var(--c-gold-500); }
.prose blockquote p { margin: 0; }

/* Images insérées dans le contenu d'un article */
.prose figure { margin: 2.4em 0; }
/* Jamais agrandie au-delà de sa taille réelle (évite le flou), centrée, sans recadrage */
.prose figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 620px; margin-inline: auto; border-radius: var(--radius); background: var(--c-navy-100); box-shadow: var(--shadow); }
.prose figcaption { margin-top: 0.8rem; padding-left: 0.9rem; border-left: 3px solid var(--c-gold-500); font-size: var(--fs-sm); line-height: 1.55; color: var(--c-text-muted); }
.prose figcaption a { color: inherit; text-decoration: underline; text-decoration-color: rgba(91, 97, 115, 0.4); }
.prose figcaption a:hover { color: var(--c-accent); }
.prose hr { margin: 2.5em 0 1.25em; border: 0; height: 6px; border-radius: 6px; background: var(--flag-band); opacity: 0.85; }
.prose hr + p { font-size: var(--fs-sm); color: var(--c-text-muted); }

.share { display: flex; align-items: center; gap: 0.5rem; color: var(--c-text-muted); font-size: var(--fs-sm); }
.share a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; border: 1px solid var(--c-border); color: var(--c-navy-900); transition: all 0.25s var(--ease-out); }
.share a:hover { background: var(--c-navy-900); border-color: var(--c-navy-900); color: #fff; transform: translateY(-3px); }

.related { margin-top: var(--space-section); padding-top: 3.25rem; border-top: 1px solid var(--c-border); }

/* Barre latérale */
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.widget { position: relative; padding: 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.widget__title { position: relative; display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; margin-bottom: 1.1rem; }
.widget__title::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 3px; transform: rotate(45deg); background: var(--c-gold-500); }
.widget__list { list-style: none; margin: 0; padding: 0; }
.widget__list a { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0.5rem; border-radius: 10px; color: var(--c-text); transition: background-color 0.2s, padding-left 0.2s, color 0.2s; }
.widget__list li + li a { border-top: 1px dashed var(--c-border); border-radius: 0; }
.widget__list a:hover, .widget__list a[aria-current] { color: var(--c-accent); padding-left: 0.85rem; }
.widget__list .count { min-width: 1.9rem; padding: 0 0.45rem; border-radius: 999px; background: var(--c-cream); color: var(--c-text-muted); font-size: 0.78rem; font-weight: 600; text-align: center; line-height: 1.6rem; }

.search-form { display: flex; padding: 0.3rem; border-radius: 999px; background: var(--c-cream); border: 1px solid var(--c-border); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.search-form:focus-within { background: #fff; border-color: var(--c-gold-500); box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.18); }
.search-form input { flex: 1; min-width: 0; padding: 0.55rem 0.9rem; border: 0; background: transparent; }
.search-form input:focus { outline: none; }
.search-form button { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--c-navy-900); color: #fff; transition: background-color 0.2s, transform 0.2s; }
.search-form button:hover { background: var(--c-red-600); transform: scale(1.05); }

.recent-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.recent-posts li { display: flex; gap: 0.9rem; align-items: flex-start; }
.recent-posts img { width: 76px; height: 60px; flex-shrink: 0; object-fit: cover; border-radius: 12px; transition: transform 0.4s var(--ease-out); }
.recent-posts li:hover img { transform: scale(1.06); }
.recent-posts a { display: block; color: var(--c-heading); font-weight: 600; font-size: 0.9rem; line-height: 1.38; }
.recent-posts a:hover { color: var(--c-accent); }
.recent-posts time { font-size: 0.78rem; color: var(--c-text-muted); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.tag-list a { display: block; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--c-cream); border: 1px solid var(--c-border); color: var(--c-text); font-size: 0.84rem; transition: all 0.25s var(--ease-out); }
.tag-list a:hover, .tag-list a[aria-current] { background: var(--c-navy-900); border-color: var(--c-navy-900); color: #fff; transform: translateY(-2px); }

/* 8. Formulaires
   ========================================================================== */
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--c-heading); }
.form-control { padding: 0.85rem 1.05rem; border-radius: 14px; border-color: var(--c-border); background-color: #fffdf9; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.form-control:focus { background-color: #fff; border-color: var(--c-gold-500); box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.18); }
.form-control[aria-invalid="true"] { border-color: var(--c-danger); }

.contact-form { position: relative; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow); overflow: hidden; }
.contact-form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--flag-band); }
.contact-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-info li { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.contact-info li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact-info .feature-card__icon { margin: 0; width: 3rem; height: 3rem; font-size: 1.2rem; }
.contact-info h2 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-info p { margin: 0; color: var(--c-text-muted); overflow-wrap: anywhere; }

.form-status { margin: 0; font-size: 0.925rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--c-success); }
.form-status.is-error { color: var(--c-danger); }
.site-footer .form-status.is-success { color: #7ee2a8; }
.site-footer .form-status.is-error { color: #ff9c9c; }

/* Champ piège anti-robots : masqué visuellement et aux technologies d'assistance */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 9. Pied de page
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(4rem, 7vw, 5.5rem); background: var(--c-navy-950); color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--flag-band); }
.site-footer::after { content: ""; position: absolute; inset: 8px 0 0; background: var(--pattern) 0 0 / 160px auto; opacity: 0.05; pointer-events: none; }
.site-footer > * { position: relative; z-index: 1; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--c-gold-400); }
.brand--footer { margin-bottom: 1.4rem; color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__tag { color: rgba(255, 255, 255, 0.5); }
.site-footer__text { margin-bottom: 0.8rem; }
.site-footer__text .bi { color: var(--c-gold-400); margin-right: 0.35rem; }
.site-footer__title { position: relative; font-size: 1rem; color: #fff; margin-bottom: 1.3rem; padding-bottom: 0.75rem; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.2rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-gold-400), var(--c-red-600)); }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 0.45rem; transition: color 0.2s, transform 0.25s var(--ease-out); }
.site-footer__links a::before { content: ""; width: 5px; height: 5px; border-radius: 1px; transform: rotate(45deg); background: var(--c-gold-500); opacity: 0.6; }
.site-footer__links a:hover { transform: translateX(4px); }
.social-links { display: flex; gap: 0.6rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.social-links a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.25s var(--ease-out); }
.social-links a:hover { background: var(--c-gold-500); border-color: var(--c-gold-500); color: var(--c-navy-950); transform: translateY(-3px); }

.newsletter-card { padding: 1.75rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.1); }
.newsletter-form__row { display: flex; gap: 0.5rem; padding: 0.35rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); transition: border-color 0.2s, box-shadow 0.2s; }
.newsletter-form__row:focus-within { border-color: var(--c-gold-400); box-shadow: 0 0 0 4px rgba(245, 185, 22, 0.15); }
.newsletter-form input[type="email"] { flex: 1; min-width: 0; padding: 0.5rem 0.95rem; border: 0; background: transparent; color: #fff; }
.newsletter-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter-form input[type="email"]:focus { outline: none; }
.newsletter-form .btn-brand { padding: 0.65rem 1.2rem; box-shadow: none; }
.newsletter-form .form-status { margin-top: 0.75rem; }

.site-footer__bottom { margin-top: 3.75rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.55); }
.site-footer__bottom p { margin: 0; }

/* 10. Animations & utilitaires
   ========================================================================== */
.scroll-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900; display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem; border-radius: 16px; background: var(--c-navy-900); color: #fff; font-size: 1.6rem;
  box-shadow: 0 14px 30px -12px rgba(18, 24, 54, 0.7); opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: all 0.35s var(--ease-out);
}
.scroll-top::before { content: ""; position: absolute; inset: -3px; border-radius: 18px; padding: 3px; background: conic-gradient(var(--c-gold-400) calc(var(--progress, 0) * 360deg), transparent 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.scroll-top:hover { background: var(--c-gold-500); color: var(--c-navy-950); }
.is-scrolled .scroll-top { opacity: 1; visibility: visible; transform: none; }

.error-page { min-height: 70vh; display: flex; align-items: center; background: radial-gradient(700px 360px at 50% 0%, var(--c-cream), transparent 70%); }
.error-page__code { font-family: var(--font-heading); font-weight: 800; font-size: clamp(6rem, 16vw, 11rem); line-height: 1; letter-spacing: -0.06em; margin-bottom: 0.5rem; background: var(--flag-band); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page__icon { font-size: 4.5rem; margin-bottom: 0.5rem; }
.error-page__icon.is-ok { color: var(--c-success); }
.error-page__icon.is-error { color: var(--c-danger); }

/* Apparition au défilement (activée par JavaScript uniquement) */
.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.js .reveal[data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js .reveal[data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js .reveal[data-reveal="zoom"] { transform: scale(0.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 185, 22, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(245, 185, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 185, 22, 0); } }
@keyframes float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.94) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Entrée du hero au chargement */
.hero__content > * { animation: hero-in 0.9s var(--ease-out) both; }
.hero__content > *:nth-child(2) { animation-delay: 0.08s; }
.hero__content > *:nth-child(3) { animation-delay: 0.16s; }
.hero__content > *:nth-child(4) { animation-delay: 0.24s; }
.hero__featured { animation: hero-in 1s 0.3s var(--ease-out) both; }

@media (max-width: 575.98px) {
  .photo-mosaic img:nth-child(even), .photo-mosaic img:nth-child(even):hover { transform: none; }
  .hero__actions > * { flex: 1 1 100%; }
  .article__footer { flex-direction: column; align-items: flex-start; }
  .prose > p:first-child::first-letter { font-size: 2.8em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg, .cta__bg { transform: none; }
}

@media print {
  .site-header, .site-footer, .sidebar, .scroll-top, .share, .related, .read-progress, .page-loader { display: none !important; }
  .main { padding-top: 0; }
  .page-hero { padding: 0; background: none; color: #000; }
  .page-hero::before, .page-hero::after { display: none; }
  .page-hero__title { color: #000; }
}

/* Loader de navigation — calques et opacité pour limiter les recalculs de mise en page */
.page-loader { display: none; }
.js .page-loader {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; overflow: hidden;
  background: #fff; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, visibility 0s linear .28s;
}
.js .page-loader.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.js .page-loader.is-visible.is-leaving { opacity: 0; visibility: hidden; transition-delay: 0s, .28s; }
.page-loader__content { position: relative; display: grid; justify-items: center; gap: 1.6rem; padding: 2rem; }
.page-loader__logo { position: relative; z-index: 1; display: block; width: clamp(88px, 23vw, 112px); height: clamp(88px, 23vw, 112px); object-fit: contain; border-radius: 24px; box-shadow: 0 16px 38px rgba(18, 24, 54, .16); animation: loader-pulse 1.8s ease-in-out infinite; will-change: transform; }
.page-loader__caption { display: grid; justify-items: center; margin-top: -.8rem; color: var(--c-navy-900); font-family: var(--font-heading); font-size: 1rem; font-weight: 800; letter-spacing: .015em; }
.page-loader__caption strong { display: inline; color: var(--c-red-600); }
.page-loader__caption small { margin-top: .18rem; color: var(--c-text-muted); font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.page-loader__halo { position: absolute; top: 50%; left: 50%; width: 154px; height: 154px; border: 1px solid rgba(240, 165, 0, .25); border-radius: 50%; transform: translate(-50%, -68%); box-shadow: 0 0 0 9px rgba(240, 165, 0, .035), 0 0 48px rgba(240, 165, 0, .12); }
.page-loader__line { display: block; width: 76px; height: 3px; overflow: hidden; border-radius: 999px; background: #eceaf0; }
.page-loader__line span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f0a500, #d9272e); animation: loader-progress 1.35s ease-in-out infinite; }
@keyframes loader-pulse { 0%, 100% { transform: scale(.97) rotate(-.5deg); } 50% { transform: scale(1.025) rotate(.5deg); } }
@keyframes loader-progress { 0% { transform: translateX(-110%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  .page-loader__logo, .page-loader__line span { animation: none; }
  .page-loader__logo { transform: none; }
}

/* Ajustements responsive : contenir le tiroir de navigation hors écran et
   préserver une mise en page lisible sur les téléphones étroits. */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
}

@media (max-width: 575.98px) {
  .container, .container-fluid { width: 100%; max-width: 100%; }
  .site-header__inner { gap: .65rem; }
  .brand { min-width: 0; gap: .55rem; }
  .brand img { width: auto; height: 40px; flex: 0 0 auto; object-fit: contain; }
  .brand__name { white-space: nowrap; font-size: clamp(1.05rem, 5vw, 1.2rem); }
  .nav-toggle { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; }

  .hero { min-height: auto; padding: clamp(2.75rem, 10vw, 4rem) 0 2.75rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .hero__content, .hero__featured { min-width: 0; }
  .hero .eyebrow { max-width: 100%; width: fit-content; white-space: normal; }
  .hero__title { font-size: clamp(2.05rem, 9vw, 2.75rem); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: anywhere; }
  .hero__lead { font-size: 1rem; line-height: 1.65; margin-bottom: 1.4rem; }
  .hero__actions { gap: .65rem; }
  .hero__actions > * { width: 100%; justify-content: center; }
  .hero__featured { padding: 1.15rem; border-radius: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .hero__featured::before { left: 1.15rem; right: 1.15rem; }
  .mini-post { min-width: 0; gap: .75rem; padding: .55rem; }
  .mini-post img { width: 76px; height: 62px; }
  .mini-post__title { overflow-wrap: anywhere; }

  .section { padding-block: clamp(3rem, 10vw, 4rem); }
  .section-head { margin-bottom: 2rem; }
  .section-head--split { align-items: flex-start; gap: 1rem; }
  .section-head--split > * { min-width: 0; }
  .section-title { overflow-wrap: anywhere; }
  .filter-bar { width: 100%; justify-content: flex-start; border-radius: 16px; }
  .filter-bar__btn { padding-inline: .8rem; }
  .resource-card__body { padding: 1.1rem; }
  .contact-form { padding: 1.5rem 1.1rem; }
  .newsletter-form__row { flex-wrap: wrap; border-radius: 16px; }
  .newsletter-form input[type="email"] { flex-basis: 100%; min-height: 2.8rem; }
  .newsletter-form .btn-brand { width: 100%; justify-content: center; }
  .faq__item summary { gap: .65rem; padding: 1rem; }
  .faq__item p { padding: 0 1rem 1rem; }
  .pwa-update { right: .65rem; left: .65rem; bottom: calc(.65rem + env(safe-area-inset-bottom)); max-width: none; flex-wrap: wrap; }
}

@media (max-width: 359.98px) {
  .site-header__inner { gap: .45rem; }
  .brand { gap: .4rem; }
  .brand img { width: auto; height: 36px; flex-basis: auto; }
  .brand__name { font-size: 1rem; }
  .hero__featured { padding: .9rem; }
}
