/* MonRFS — typographie validee par Elise le 17/10/2026.
   Extension aux pages du site. main.css, familles et palettes restent intacts.
   Menu blanc avec filet bleu discret ; aucun changement de contenu. */
header.header .nav > ul > li > a {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
header.header .nav > ul > li:not(.cta) > a {
  color: var(--surface, #fff);
  -webkit-text-fill-color: var(--surface, #fff);
  -webkit-text-stroke: 1px var(--blue-action-deep, #34467f);
  paint-order: stroke fill;
}
header.header .nav > ul > li:not(.cta) > a:hover,
header.header .nav > ul > li:not(.cta) > a.nav-active {
  color: var(--surface, #fff);
  background: rgba(52, 70, 127, .18);
  text-decoration: none;
}
header.header .nav > ul > li > a:focus-visible {
  outline: 2px solid var(--surface, #fff);
  outline-offset: 2px;
}
header.header .nav > ul > li.cta > a {
  color: var(--blue-deep, #3f519b);
  background: var(--surface, #fff);
}
header.header .nav > ul > li.cta > a:hover { background: var(--lavender, #ecf0ff); }
header.header .nav .user-avatar { -webkit-text-stroke: 0; }
body #hero-slogan {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
body .blog-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
body .section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
}
body .home-statut-title { font-weight: 600; }
@media (max-width: 56.25em) {
  header.header .nav:not(.open) > ul > li.cta > a,
  header.header .nav:not(.open) > ul > li.user-menu > a { font-size: 0; }
  header.header .nav.open .has-dropdown > .dropdown li a,
  header.header .nav.open .has-dropdown > .dropdown li a:hover {
    color: var(--surface, #fff) !important;
    -webkit-text-fill-color: var(--surface, #fff);
    -webkit-text-stroke: 1px var(--blue-action-deep, #34467f);
    paint-order: stroke fill;
    font-weight: 600;
  }
}
@media (max-width: 40em) {
  body #hero-slogan { font-size: 2rem; line-height: 1.25; }
  body .blog-hero h1 { font-size: 1.5rem; line-height: 1.3; }
  body .section-header h2 { font-size: 1.5rem; line-height: 1.3; }
}
@supports not (paint-order: stroke fill) {
  header.header .nav > ul > li:not(.cta) > a {
    -webkit-text-stroke: 0;
    text-shadow: -.5px -.5px var(--blue-action-deep, #34467f), .5px -.5px var(--blue-action-deep, #34467f), -.5px .5px var(--blue-action-deep, #34467f), .5px .5px var(--blue-action-deep, #34467f);
  }
}
@media (forced-colors: active) {
  header.header .nav a,
  header.header .nav.open .has-dropdown > .dropdown li a {
    color: LinkText !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }
  header.header .nav > ul > li > a:focus-visible { outline-color: Highlight; }
}

/* Keep the common header on one line before each template's mobile breakpoint. */
@media (min-width: 51.251em) and (max-width: 64em) {
  header.header .logo { flex: 0 0 auto; }
  header.header .nav > ul { gap: 0; }
  header.header .nav > ul > li > a { padding-inline: .3rem; white-space: nowrap; }
  header.header .nav > ul > .cta > a { padding-inline: .6rem; }
}
/* Interior heroes keep the established Open Sans and accent colors. */
body .page-hero h1,
body .article-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
body main > section.hero h1,
body .newsletter-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
}
body .lf-hero h1,
body .prof-hero h1 {
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.25;
}
/* Archive headings have legacy inline sizes. This exception is limited to them. */
body .blog-hub-hero h1 { font-size: 2.25rem !important; font-weight: 700; }
/* Only roles observed at 800/900 are lightened. Compact titles keep their size. */
body .eva-band h1,
body .emma-band h1,
body .noe-band h1,
body .gauthier-band h1,
body .monrfs-band h1,
body .fe-wrap h1,
body .eva-art h2,
body .emma-art h2,
body .noe-art h2,
body .gauthier-art h2,
body .monrfs-art h2,
body .fe-wrap h2,
body .article-body h2,
body .article-quick-answer h2,
body .leo-body h2,
body .isa-body h2,
body .noe-body h2,
body .tldr h2,
body .faq-section > h2,
body .hub-card h2,
body .tool-group-head h2,
body .tool-feature-body h2,
body .tool-feature h2,
body .emma-level h2,
body .cmp-head h2 { font-weight: 700; }
@media (max-width: 40em) {
  body .page-hero h1,
  body .article-hero h1 { font-size: 1.6rem; line-height: 1.3; }
  body main > section.hero h1,
  body .newsletter-hero h1 { font-size: 2rem; line-height: 1.25; }
  body .lf-hero h1,
  body .prof-hero h1 { font-size: 1.5rem; line-height: 1.3; }
  body .blog-hub-hero h1 { font-size: 1.5rem !important; }
}
