/*
 * Refonte — éléments communs des pages internes (Formation, Solution digitale, Actualités).
 * En-tête de page : bandeau photo assombri, fil d'Ariane, titre H1.
 * Utilise les variables --aj-* de header.css et les animations de animations.css.
 */

.aj-page-head {
  position: relative;
  margin-top: var(--aj-header-height);
  overflow: hidden;
  background: var(--texte-fort) url("/images/avocat-banner.webp") center / cover no-repeat; /* image de bannière existante du site */
  font-family: var(--font-interface);
  color: var(--blanc);
}

/* Voile sombre + léger dégradé vert du site pour la lisibilité */
.aj-page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(25, 135, 84, 0.45) 100%);
}

.aj-page-head__inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 88px var(--space-8) 80px;
}

.aj-page-head__fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.aj-page-head__fil a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.aj-page-head__fil a:hover { color: var(--blanc); }

.aj-page-head__fil a:focus-visible {
  outline: 2px solid var(--blanc);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.aj-page-head__fil .bi { font-size: 11px; }

.aj-page-head__fil [aria-current] { color: var(--blanc); }

/* Charte §2.2 : H1 Manrope 44 px / 1.15, 700 ; 32 px sur mobile */
.aj-page-head__title {
  margin: 0;
  font-family: var(--font-titres);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--blanc);
}

@media (max-width: 991.98px) {
  .aj-page-head__inner { padding: 64px var(--space-6) 56px; }
}

@media (max-width: 767.98px) {
  .aj-page-head__inner { padding: 48px var(--space-4) 44px; }
  .aj-page-head__title { font-size: 32px; }
}
