/* Accueil MicroMontréal : wallpaper minimaliste approuvé, 23 octobre 2026, V11 : bouton Nous contacter plus sombre au survol. */
.hero--wallpaper {
  color: #102f43;
  background: linear-gradient(90deg, #99c2e6 0.00%, #9dc8ec 6.25%, #90c1e9 12.50%, #8fbfe7 18.75%, #87b8e4 25.00%, #7fb2df 31.25%, #76aad8 37.50%, #6b9fcf 43.75%, #6195c6 50.00%, #588cbf 56.25%, #5484b5 62.50%, #5181b2 68.75%, #4d79a8 75.00%, #4a74a1 81.25%, #486e9b 87.50%, #466a94 93.75%, #45668a 100.00%);
  min-height: 650px;
}
.hero--wallpaper .hero__media { display: block; }
.hero--wallpaper .hero__media img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 100%);
}
.hero--wallpaper .hero__overlay {
  background: none;
}
.hero--wallpaper .hero__content { padding-block: 3rem; }
.hero--wallpaper h1 {
  color: #000000;
  max-width: 62%;
  font-size: clamp(2.65rem, 5.8vw, 4.65rem);
  text-shadow: none;
}
.hero--wallpaper h1 .accent {
  color: #e8791c;
  text-shadow: none;
  filter: none;
}
.hero--wallpaper p:not(.eyebrow) {
  color: #000000;
  text-shadow: none;
  font-weight: 700;
  max-width: 59%;
  font-size: 1.375rem;
  line-height: 1.6;
}
.hero--wallpaper .eyebrow { color: #00e3fa; text-shadow: 0 1px 1px rgba(0,30,48,.45); }
.hero--wallpaper .btn { font-size: 1.03rem; padding: .9rem 1.15rem; }
.hero--wallpaper .btn--secondary {
  color: #102f43;
  background: #f6fbfd;
  opacity: 1;
  filter: none;
  backdrop-filter: none;
  border-color: #446176;
}
.hero--wallpaper .btn--secondary:hover { background: #cedde6; border-color: #315366; }
.hero--wallpaper .hero__facts {
  color: #183b50;
  max-width: 60%;
  font-size: .95rem;
  line-height: 1.45;
  margin-top: 1.6rem;
  gap: .5rem 1.3rem;
  padding: .85rem 1rem;
  background: rgba(237,247,252,.88);
  border: 1px solid rgba(81,126,149,.28);
  border-radius: 12px;
}
.hero--wallpaper .hero__facts span::before { background: #007f8b; }
@media (min-width: 901px) and (max-width: 1199px) {
  .hero--wallpaper .hero__content { padding-block: 2rem; }
  .hero--wallpaper h1 { max-width: 62%; font-size: clamp(2.65rem,5.8vw,4.2rem); }
  .hero--wallpaper p:not(.eyebrow), .hero--wallpaper .hero__facts { max-width: 60%; }
}
@media (max-width: 900px) {
  .hero--wallpaper { min-height: 0; background: #d9eaf4; padding-bottom: 280px; }
  .hero--wallpaper .hero__content { padding-block: 2.5rem 1rem; }
  .hero--wallpaper .hero__media img {
    width: auto; height: 280px; max-width: none; left: auto; right: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
  }
  .hero--wallpaper .hero__overlay { background: none; }
  .hero--wallpaper h1, .hero--wallpaper p:not(.eyebrow), .hero--wallpaper .hero__facts { max-width: 100%; }
  .hero--wallpaper h1 { font-size: clamp(2.65rem,7.2vw,4.3rem); }
  .hero--wallpaper p:not(.eyebrow) { font-size: 1.2rem; }
  .hero--wallpaper .eyebrow { white-space: normal; text-wrap: wrap; }
}
@media (max-width: 650px) {
  .hero--wallpaper .hero__content { padding-top: 2rem; }
  .hero--wallpaper h1 { font-size: clamp(2.45rem,10.7vw,3.5rem); }
  .hero--wallpaper .hero__facts { font-size: .9rem; }
}

/* Ville à la même échelle; logo et circuits indépendants sur tous les écrans. */
.hero--wallpaper .hero__media .hero__city {
  display: block;
  aspect-ratio: 1931 / 814;
  object-fit: fill;
  filter: none;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero--wallpaper .hero__media .hero__brand {
  display: block;
  width: min(100%, 1600px);
  height: auto;
  left: 50%;
  right: auto;
  bottom: 0;
  transform: translateX(-50%);
  object-fit: contain;
  -webkit-mask-image: radial-gradient(circle closest-side at 76.5% 48.5%, #000 0 55%, rgba(0,0,0,.58) 63%);
  mask-image: radial-gradient(circle closest-side at 76.5% 48.5%, #000 0 55%, rgba(0,0,0,.58) 63%);
}
@media (max-width: 900px) {
  .hero--wallpaper .hero__media .hero__city,
  .hero--wallpaper .hero__media .hero__brand {
    width: auto;
    height: 280px;
    left: auto;
    right: 0;
    transform: none;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

/* L’estompage suit le bandeau visible, indépendamment du cadrage de la ville. */
.hero--wallpaper .hero__media {
  z-index: 0;
  isolation: isolate;
}
.hero--wallpaper .hero__media .hero__city { z-index: 0; }
.hero--wallpaper .hero__media .hero__brand { z-index: 2; }
.hero--wallpaper .hero__media::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + clamp(0px, (100vw - 1600px) * .05, 170px));
  width: min(1800px, 100%);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(221,238,248,0) 0%,
    rgba(221,238,248,.48) 12%,
    rgba(221,238,248,.48) 43%,
    rgba(140,184,210,.20) 56%,
    rgba(21,59,83,.45) 66%,
    rgba(21,59,83,.45) 89%,
    rgba(21,59,83,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 90%, transparent 100%);
}
@media (max-width: 900px) {
  /* Sur téléphone, l’illustration reste sous les textes. */
  .hero--wallpaper .hero__media::after { content: none; }
}
