/* Hero vidéo décoratif commun — release heroes-2026-08-31-v01. */
.sector-hero {
  position: relative !important;
  isolation: isolate;
  display: flex !important;
  align-items: center;
  min-height: 720px !important;
  height: auto !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden;
  background: #071321;
  color: #fff;
}

.sector-hero::before,
.sector-hero::after {
  content: none !important;
}

.sector-hero > .sector-hero__poster,
.sector-hero > .sector-hero__video,
.sector-hero > .sector-hero__shade {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

.sector-hero__poster {
  z-index: 0 !important;
  display: block !important;
  overflow: hidden;
  background: #071321;
}

.sector-hero__poster img,
.sector-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sector-hero__video {
  z-index: 1 !important;
  border: 0;
  opacity: 0;
  transition: opacity 240ms ease;
}

.sector-hero__video.is-ready {
  opacity: 1;
}

.sector-hero__shade {
  z-index: 2 !important;
  background: linear-gradient(90deg, rgba(4, 12, 22, .9) 0%, rgba(4, 12, 22, .72) 46%, rgba(4, 12, 22, .2) 78%, rgba(4, 12, 22, .08) 100%);
}

.sector-hero > .sector-hero__content {
  position: relative !important;
  z-index: 3 !important;
  width: min(64%, 980px) !important;
  min-width: 0;
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.2rem, 7vw, 8rem) clamp(3.5rem, 8vh, 6rem) !important;
}

.sector-hero .sector-hero__content h1 {
  max-width: 920px;
  margin-top: 0;
  color: #fff;
  font-size: clamp(2.8rem, 4.7vw, 5.2rem);
  line-height: .99;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.sector-hero .sector-hero__content p,
.sector-hero .sector-hero__content .rm-lead,
.sector-hero .sector-hero__content .lead-hero__copy,
.sector-hero .sector-hero__content .trust-line {
  max-width: 780px;
  color: rgba(255, 255, 255, .9) !important;
}

.sector-hero .sector-hero__content a:not(.rm-button):not(.button) {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  color: #fff;
  text-underline-offset: .18em;
}

.sector-hero__legacy-caption {
  display: block;
  width: fit-content;
  margin-top: 1.2rem;
  padding: .65rem .8rem;
  border-left: 3px solid rgba(255, 255, 255, .75);
  font-weight: 800;
}

.sector-hero__legacy-caption small {
  display: block;
  margin-top: .18rem;
  font-size: .72rem;
  font-weight: 500;
}

.sector-hero .rm-button,
.sector-hero .button {
  min-height: 44px;
}

.sector-hero a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.sector-hero__motion-control {
  position: absolute;
  top: clamp(1rem, 3vw, 2.25rem);
  right: clamp(1rem, 3vw, 2.25rem);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: .35rem;
  background: rgba(4, 12, 22, .82);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
}

.sector-hero__motion-control:hover {
  background: rgba(4, 12, 22, .96);
}

.sector-hero__motion-control:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.sector-hero__motion-control[hidden] {
  display: none !important;
}

.rm-page .rm-footer > a.sector-hero-credit-link {
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 44px !important;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (max-width: 900px), (orientation: portrait) {
  .sector-hero {
    align-items: flex-start;
    min-height: max(720px, 100svh) !important;
    height: auto !important;
  }

  .sector-hero__shade {
    background: linear-gradient(180deg, rgba(4, 12, 22, .9) 0%, rgba(4, 12, 22, .64) 58%, rgba(4, 12, 22, .32) 100%);
  }

  .sector-hero .sector-hero__content {
    width: 100% !important;
    padding: clamp(5.75rem, 12vh, 7.5rem) 1rem 3.5rem !important;
  }

  .sector-hero .sector-hero__content h1 {
    max-width: 680px;
    font-size: clamp(2.15rem, 9vw, 3.45rem);
    line-height: 1;
  }

  .sector-hero .rm-actions,
  .sector-hero .lead-hero__actions {
    width: min(100%, 460px);
  }

  .sector-hero__motion-control {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 520px) {
  .sector-hero .rm-actions,
  .sector-hero .lead-hero__actions {
    display: grid;
  }

  .sector-hero .rm-actions > *,
  .sector-hero .lead-hero__actions > * {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sector-hero__video {
    display: none !important;
    transition: none;
  }

  .sector-hero.is-motion-enabled .sector-hero__video {
    display: block !important;
  }
}
