/* Les cinq pages réutilisent serrurier-home.css. Ici, uniquement leur scène hero
   et les ajustements fonctionnels communs ; aucun style de section redessiné. */
.mt-page .sr-hero {
  isolation: isolate;
  background: #eaf5fa;
}
.mt-page .sr-hero::before {
  content: "";
  position: absolute;
  inset: -36px;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: right center;
  background-size: cover;
  filter: blur(28px);
  opacity: .4;
}
.mt-page .sr-hero::after {
  z-index: 1;
  background: linear-gradient(90deg, #edf8ff 0%, rgba(237,248,255,.98) 31%, rgba(237,248,255,.91) 43%, rgba(237,248,255,.1) 62%, transparent 73%);
}
.mt-hero-scene {
  position: absolute;
  z-index: 0;
  inset: 0 max(0px, calc((100% - 1440px) / 2)) 0 auto;
  width: auto;
  aspect-ratio: 1122 / 1402;
  max-width: none;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 96%, transparent);
}
.mt-hero-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}
.mt-page .sr-hero-inner { min-height: 860px; }
.mt-page .sr-hero-copy { min-width: 0; width: 100%; }
.mt-page .sr-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
.mt-send-actions { display: grid; gap: 10px; margin: 20px 0; }
.mt-send-actions .btn { width: 100%; }
.mt-page .sr-postal-status a { text-decoration: underline; font-weight: 700; }
.mt-page :focus-visible { outline: 3px solid #ff751f; outline-offset: 3px; }
.mt-page .sr-delay strong { font-size: 14px; }
@media (max-width: 1100px) {
  .mt-page .sr-hero-inner { min-height: 850px; }
  .mt-hero-scene {
    top: auto;
    width: 52%;
    height: auto;
    mask-image: linear-gradient(90deg, transparent, #000 14%), linear-gradient(180deg, transparent, #000 15%);
    mask-composite: intersect;
  }
}
@media (max-width: 900px) {
  .mt-page .sr-hero-inner { min-height: 0; }
  .mt-page .sr-hero::before { background-position: center bottom; }
  .mt-page .sr-hero::after {
    background: linear-gradient(180deg, #edf8ff 0%, rgba(237,248,255,.98) 37%, transparent 80%);
  }
  .mt-hero-scene {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1122 / 1402;
    max-width: none;
    right: auto;
    margin: -30px 0 0;
    mask-image: linear-gradient(180deg, transparent, #000 12%);
    order: 2;
  }
  .mt-hero-scene img { object-position: center bottom; }
  .mt-page .sr-hero { display: flex; flex-direction: column; }
  .mt-page .sr-hero-inner { order: 1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mt-page *, .mt-page *::before, .mt-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Ces titres reviennent à la ligne uniquement entre les mots. */
.mt-page[data-trade="assainissement"] .sr-hero h1,
.mt-page[data-trade="nuisibles"] .sr-hero h1 {
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
