/* MATERIUM opening: client-supplied film, native scroll, existing B2B shell below. */
html.intro-home {
  --intro-header-height: 128px;
  --intro-shell-height: 157px;
  scroll-padding-top: 0;
}
html.intro-home #contenu,
html.intro-home #site-accueil { scroll-margin-top: var(--intro-header-height); }
.site-intro {
  --intro-shift: 0px;
  --intro-scale: 1.025;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--intro-shell-height));
  min-height: calc(100svh - var(--intro-shell-height));
  overflow: hidden;
  background: #202c31;
  color: #fff;
}
.site-intro-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.site-intro-poster, .site-intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: translateY(var(--intro-shift)) scale(var(--intro-scale));
}
.site-intro-video { opacity: 0; transition: opacity 320ms ease-out; }
.site-intro.has-video .site-intro-video { opacity: 1; }
.site-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, #202c31 0%, rgba(13,24,30,.52) 17%, transparent 45%, rgba(9,20,27,.3) 100%),
    linear-gradient(90deg, rgba(9,20,27,.91) 0%, rgba(9,20,27,.76) 35%, rgba(9,20,27,.28) 76%, rgba(9,20,27,.22) 100%);
}
.site-intro-inner { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.site-intro-content { flex: 1; display: flex; align-items: center; padding-block: 72px 84px; }
.site-intro-copy { max-width: 770px; }
.site-intro-kicker { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #f2f4f5; margin: 0 0 27px; }
.site-intro-kicker::before { content: ""; width: 32px; height: 2px; background: #ffe600; }
.site-intro h1 { color: #fff; font-size: clamp(54px, 6.25vw, 96px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; margin: 0; text-shadow: none; }
.site-intro h1 span { color: #ffe600; display: block; }
.site-intro-description { color: #e2e7e9; font-size: 17px; line-height: 1.75; margin: 27px 0 32px; max-width: 540px; }
.site-intro-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.site-intro-entry, .site-intro-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 23px;
  gap: 18px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}
.site-intro-entry { background: #ffe600; color: #202c31; border: 1px solid #ffe600; }
.site-intro-entry:hover { background: #ffed48; border-color: #ffed48; color: #202c31; }
.site-intro-request { color: #fff; border: 1px solid rgba(255,255,255,.5); background: rgba(15,27,34,.25); }
.site-intro-request:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.site-intro-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0 28px; border-top: 1px solid rgba(255,255,255,.16); }
.site-intro-range { font-size: 10px; font-weight: 600; color: #d6dfe2; letter-spacing: .035em; }
.site-intro-range b { color: #ffe600; font-size: 13px; margin-right: 5px; }
.site-intro-scroll { color: #fff; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 11px; font-weight: 500; }
.site-intro-scroll span { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: border-color 120ms ease-out; }
.site-intro-scroll:hover { color: #ffe600; }
.site-intro-scroll:hover span { border-color: #ffe600; }







.site-intro a:focus-visible, .site-intro button:focus-visible { outline: 2px solid #ffe600; outline-offset: 5px; }
body.route-home .floating-phone { visibility: hidden; }
body.route-home.intro-passed .floating-phone { visibility: visible; }
/* Heading levels change because the opening now owns the page H1. */
#home-welcome-title { color: #202c31; text-align: center; font-size: 30px; line-height: 1.25; letter-spacing: -.025em; margin: 0; font-weight: 700; }
.banner-main .banner-copy h2 { color: #fff; }
.banner-main .banner-copy p { color: #e2e7e9; }
@media (max-width: 960px) {
  html.intro-home { --intro-header-height: 122px; --intro-shell-height: 151px; }
  .site-intro-inner { width: calc(100% - 48px); }
  .site-intro-content { padding-block: 70px; }
  .site-intro h1 { font-size: clamp(54px, 7.5vw, 78px); }
  .site-intro-description { font-size: 16px; }
  .site-intro-bottom { gap: 15px; }
  #home-welcome-title { font-size: 27px; }
}
@media (max-width: 700px) {
  html.intro-home { --intro-header-height: 160px; --intro-shell-height: 186px; }
  .site-intro-inner { width: calc(100% - 40px); }
  .site-intro { min-height: max(570px, calc(100svh - var(--intro-shell-height))); }
  .site-intro-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
  .site-intro-content { padding-block: 64px 38px; }
  .site-intro-copy { width: 100%; max-width: none; }
  .site-intro-kicker { font-size: 8px; letter-spacing: .1em; margin-bottom: 18px; gap: 9px; }
  .site-intro-kicker::before { width: 22px; }
  .site-intro h1 { font-size: clamp(34px, 9.5vw, 42px); line-height: 1.06; letter-spacing: -.045em; }
  .site-intro-description { font-size: 13px; line-height: 1.7; margin: 18px 0; max-width: none; }
  .site-intro-actions { gap: 8px; flex-direction: column; align-items: flex-start; }
  .site-intro-entry { padding: 14px 18px; font-size: 12px; min-height: 48px; }
  .site-intro-request { border: 0; background: transparent; padding: 9px 0; font-size: 12px; min-height: 44px; font-weight: 500; gap: 14px; }
  .site-intro-request:hover { background: transparent; }
  .site-intro-poster, .site-intro-video { object-fit: cover; object-position: 62% 50%; transform: none; }
  .site-intro::before { display: block; background: linear-gradient(180deg, #0b1b2540 0%, #0b1b25b8 70%, #202c31 100%), linear-gradient(90deg, #09141b8f 0%, #09141b26 100%); }
  .site-intro-bottom { display: grid; grid-template-columns: 1fr auto; padding: 10px 0 calc(12px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .site-intro-range { display: none; }
  .site-intro-scroll { font-size: 10px; gap: 10px; }
  .site-intro-scroll span { width: 34px; height: 34px; }

.site-intro .intro-video-control { width: 40px; height: 40px; min-height: 40px; color: #fff; background: #0e1c2455; border: 1px solid #ffffff70; border-radius: 5px; }

#home-welcome-title { font-size: 24px; line-height: 1.2; max-width: 490px; margin-inline: auto; }
}
@media (max-width: 359px) {
  .site-intro-inner { width: calc(100% - 32px); }
  .site-intro h1 { font-size: 34px; }
  .site-intro-description { font-size: 13px; }
  .site-intro-kicker { font-size: 8px; }
}
@media (max-height: 600px) and (min-width: 701px) {
  .site-intro-content { padding-block: 38px; }
  .site-intro h1 { font-size: 56px; }
  .site-intro-description { margin-block: 20px; font-size: 15px; }
  .site-intro-bottom { padding-block: 14px; }
}
@media (max-height: 700px) and (max-width: 700px) {
  .site-intro .site-intro-content { padding-block: 42px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro-poster, .site-intro-video { transform: none; }
  .site-intro-video, .site-intro a, .site-intro button { transition: none; }
}
/* One opening surface: clear navigation at the top, familiar colors on scroll. */
html.intro-home body.route-home .site-header {
  transition: background-color 220ms ease-out, box-shadow 220ms ease-out;
}
html.intro-home body.route-home .main-navigation {
  transition: background-color 220ms ease-out, border-color 220ms ease-out;
}
html.intro-home body.route-home .desktop-nav>a,
html.intro-home body.route-home .nav-brochure {
  transition: color 160ms ease-out, background-color 160ms ease-out;
}
html.intro-home body.route-home .topbar { position: relative; z-index: 61; }
html.intro-home body.route-home.intro-header-clear .site-header:not(.menu-is-open) {
  background: transparent!important;
  box-shadow: none!important;
}
html.intro-home body.route-home.intro-header-clear .topbar {
  background: transparent;
  color: #e1e8eb;
}
html.intro-home body.route-home.intro-header-clear .site-header:not(.menu-is-open) .main-navigation {
  background: transparent;
  color: #fff;
  border-bottom-color: #ffffff28;
}
html.intro-home body.route-home.intro-header-clear .site-header:not(.menu-is-open) .desktop-nav>a,
html.intro-home body.route-home.intro-header-clear .site-header:not(.menu-is-open) .nav-brochure {
  color: #fff!important;
}
html.intro-home body.route-home.intro-header-clear .site-header:not(.menu-is-open) .desktop-nav>a:hover {
  background: #ffffff12!important;
  color: #fff!important;
}
@media(min-width:701px) {
  html.intro-home .site-intro {
    margin-top: calc(-1 * var(--intro-shell-height));
    padding-top: var(--intro-shell-height);
    min-height: 100vh;
    min-height: 100svh;
  }
  html.intro-home .site-intro::before {
    background:
      linear-gradient(180deg, #09141bb3 0, #09141b99 var(--intro-shell-height), transparent calc(var(--intro-shell-height) + 90px)),
      linear-gradient(0deg, #202c31 0%, #0d181e85 17%, transparent 45%),
      linear-gradient(90deg, #09141be8 0%, #09141bc2 35%, #09141b47 76%, #09141b38 100%);
  }
}
@media(max-width:700px) {
  html.intro-home body.route-home.intro-header-clear .topbar,
  html.intro-home body.route-home.intro-header-clear .site-header:not(.menu-is-open) {
    background: #202c31!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  html.intro-home body.route-home .site-header,
  html.intro-home body.route-home .main-navigation,
  html.intro-home body.route-home .desktop-nav>a,
  html.intro-home body.route-home .nav-brochure { transition: none; }
}
