html { scroll-behavior: auto !important; }
#accueil, #a-propos, #services, #processus, #pourquoi-nous, #faq, #contact { scroll-margin-top: 120px; }

/* Menu blanc tant que le header est en haut de page */
.elementor-location-header .elementor-sticky--active:not(.elementor-sticky--effects) .elementor-nav-menu--main .elementor-item,
.elementor-location-header .elementor-sticky--active:not(.elementor-sticky--effects) .elementor-menu-toggle {
	color: #ffffff !important;
	fill: #ffffff !important;
}


/* Titres des cartes de services : taille harmonisee sur mobile
   (evite que "Agrandissement" et "Construction neuve" debordent a droite) */
@media (max-width: 767px) {
  .elementor-element.elementor-element-486313c8 .elementor-heading-title,
  .elementor-element.elementor-element-39b5bc83 .elementor-heading-title,
  .elementor-element.elementor-element-32dfe7c5 .elementor-heading-title,
  .elementor-element.elementor-element-2c6c55b9 .elementor-heading-title {
    font-size: min(32px, 8vw) !important;
    line-height: 1.2 !important;
    overflow-wrap: break-word;
  }
}

/* Textes animes : empeche la page de sauter de haut en bas sur mobile.
   Le mot anime est isole sur sa propre ligne et sa hauteur est figee. */
@media (max-width: 767px) {
  .elementor-element-df89f76 .wpr-advanced-text-preffix,
  .elementor-element-803dee9 .wpr-advanced-text-preffix {
    display: block;
  }
  .elementor-element-df89f76 .wpr-anim-text,
  .elementor-element-803dee9 .wpr-anim-text {
    display: inline-block;
    vertical-align: top;
    height: 1.7em;
    line-height: 1.7em;
    overflow: hidden;
  }
  .elementor-element-df89f76 .wpr-anim-text-inner,
  .elementor-element-803dee9 .wpr-anim-text-inner {
    display: inline-block;
    height: 1.7em;
    line-height: 1.7em;
    white-space: nowrap;
  }
  .elementor-element-df89f76 .wpr-anim-text-cursor,
  .elementor-element-803dee9 .wpr-anim-text-cursor {
    height: 1.7em;
    line-height: 1.7em;
  }
}

/* Photo "Qui sommes-nous" : meme rendu que les photos de "Pourquoi nous choisir" sur mobile */
@media (max-width: 767px) {
  .elementor-369 .elementor-element.elementor-element-1b00356 {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
    margin: 0 auto 40px !important;
    height: 250px !important;
    min-height: 250px !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  .elementor-369 .elementor-element.elementor-element-1b00356 .elementor-widget-spacer { display: none !important; }
}
