
/* BP_H2_FIT_FR_V1
   French staging: safe H2 wrapping.
   Existing font sizes and motion remain unchanged.
   Excludes footer and cookie controls.
*/

main h2 {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

main h2 .bp-focus-word,
main h2 [data-bp-focus-word] {
  max-width: 100%;
  white-space: normal;
}

/* Preserve the existing authored line structure,
   but permit wrapping within each line. */
main h2 > span {
  max-width: 100%;
  white-space: normal;
}

/* Flex/grid heading wrappers may shrink rather
   than forcing their parent beyond available width. */
main :is(
  .services-editorial__heading,
  .process-editorial__intro,
  .service-expertise__heading,
  .service-diagnostic__heading,
  .service-method__editorial,
  .service-decision__editorial,
  .service-urgence__editorial,
  .service-local__editorial,
  .commune-body-process__heading
) {
  min-width: 0;
  max-width: 100%;
}
