/* MonRFS — typographie validee par Elise le 17/10/2026.
   Module additionnel : accueil, blog, catalogue. main.css reste intact.
   Menu blanc avec filet bleu discret ; aucun changement de contenu. */
.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 .nav > ul > li:not(.cta) > a {
  color: var(--surface);
  -webkit-text-fill-color: var(--surface);
  -webkit-text-stroke: 1px var(--blue-action-deep);
  paint-order: stroke fill;
}
.header .nav > ul > li:not(.cta) > a:hover,
.header .nav > ul > li:not(.cta) > a.nav-active {
  color: var(--surface);
  background: rgba(52, 70, 127, .18);
  text-decoration: none;
}
.header .nav > ul > li > a:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 2px;
}
.header .nav > ul > li.cta > a {
  color: var(--blue-deep);
  background: var(--surface);
}
.header .nav > ul > li.cta > a:hover { background: var(--lavender); }
.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 .nav:not(.open) > ul > li.cta > a,
  .header .nav:not(.open) > ul > li.user-menu > a { font-size: 0; }
  .header .nav.open .has-dropdown > .dropdown li a,
  .header .nav.open .has-dropdown > .dropdown li a:hover {
    color: var(--surface) !important;
    -webkit-text-fill-color: var(--surface);
    -webkit-text-stroke: 1px var(--blue-action-deep);
    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 .nav > ul > li:not(.cta) > a {
    -webkit-text-stroke: 0;
    text-shadow: -.5px -.5px var(--blue-action-deep), .5px -.5px var(--blue-action-deep), -.5px .5px var(--blue-action-deep), .5px .5px var(--blue-action-deep);
  }
}
@media (forced-colors: active) {
  .header .nav a,
  .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 .nav > ul > li > a:focus-visible { outline-color: Highlight; }
}
