/* Correctifs ciblés v9 : comparateurs et pied de page. */
.comparison {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.comparison-after-base,
.comparison-before-layer,
.comparison-before-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comparison-after-base { z-index: 1; }
.comparison-before-layer {
  z-index: 2;
  clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
  will-change: clip-path;
}
.comparison-label,
.comparison-line,
.comparison-range { z-index: 3; }
.comparison-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.social-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}
.social-links a {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  width: auto !important;
  min-height: 44px;
  color: #fff;
}
.social-links a + a {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.social-links svg {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: var(--gold2);
  filter: drop-shadow(0 0 5px rgba(229,171,63,.25));
}
@media (max-width: 620px) {
  .footer-grid { gap: 20px; }
  .footer-grid > div { gap: 6px; }
  .social-links { margin-top: 10px !important; }
  .footer-grid > div:last-child > a[href^="mailto:"] { margin-top: 2px; }
}

/* Prévisualisation prioritaire : le salon et le plancher restent lisibles sur mobile. */
@media (max-width: 620px) {
  .hero {
    min-height: 560px;
    background: #020202;
  }

  .hero-bg {
    inset: 76px 0 auto;
    height: 484px;
    object-fit: cover;
    object-position: 52% 68%;
    filter: saturate(1.02) contrast(1.02) brightness(1.08);
  }

  .hero-shade {
    inset: 76px 0 0;
    background:
      linear-gradient(90deg, rgba(2, 2, 2, .94) 0%, rgba(2, 2, 2, .78) 35%, rgba(2, 2, 2, .38) 58%, rgba(2, 2, 2, .07) 82%, transparent 100%),
      linear-gradient(0deg, rgba(2, 2, 2, .42) 0%, rgba(2, 2, 2, .08) 34%, transparent 58%);
  }

  .hero-copy {
    padding: 128px 0 24px;
  }

  .hero h1 {
    max-width: 74%;
  }

  .lead {
    max-width: 69%;
  }

  .actions {
    width: 68%;
  }
}

@media (max-width: 380px) {
  .hero { min-height: 535px; }
  .hero-bg { height: 459px; object-position: 50% 68%; }
  .hero-copy { padding-top: 118px; }
}
/* Preserve the intrinsic logo ratio in the footer. */
.footer-grid img { height: auto; }

