/* Accueil uniquement : diaporama Studio-Phonic, assets locaux. */
#homePageFirstLine.sc-home-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 70fr) minmax(0, 27fr);
  gap: 3%;
  height: auto;
  align-items: stretch;
}
.sc-home-hero-row > #presentation { width: auto; height: auto; overflow: visible; min-width: 0; }
.sc-hero {
  container-type: inline-size;
  position: relative;
  min-width: 0;
  background: #fcf9f7;
  border: 1px solid #e9e1e5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(52, 19, 37, .09);
  color: #29232b;
}
.sc-hero__slides { display: grid; height: 100%; }
.sc-hero__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1), visibility .6s;
}
.sc-hero__slide.is-active { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.sc-hero__copy { align-self: center; padding: 18px 24px 36px; min-width: 0; }
.sc-hero .sc-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8e1653;
  margin: 0 0 8px;
}
#content .sc-hero :is(h1, h2) {
  color: #29232b;
  font-size: clamp(28px, 4cqi, 36px);
  line-height: 1.17;
  font-weight: 700;
  letter-spacing: -.035em;
  margin: 0 0 8px;
  text-align: left;
}
.sc-hero :is(h1, h2) span { color: #911455; }
.sc-hero .sc-hero__description { font-size: 16px; line-height: 1.55; margin: 0 0 10px; max-width: 52ch; color: #5c535d; }
.sc-hero .sc-hero__price, .sc-hero .sc-hero__detail { font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
.sc-hero__price strong { display: inline-block; margin-left: 5px; color: #29232b; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.sc-hero__detail { font-weight: 600; color: #67505e; }
.sc-hero a.sc-hero__cta { display: inline-flex; align-items: center; gap: 18px; padding: 9px 15px; border-radius: 8px; background: #911455; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.5; }
.sc-hero a.sc-hero__cta:hover { background: #701040; }
.sc-hero__cta span { font-size: 19px; line-height: 1; }
.sc-hero__visual { position: relative; min-height: 270px; min-width: 0; overflow: hidden; }
.sc-hero__visual img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 43% center; }
.sc-hero__slide:nth-child(2) .sc-hero__visual img { object-position: 50% center; }
.sc-hero__slide:nth-child(3) .sc-hero__visual img { object-position: 50% center; }
.sc-hero__controls {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sc-hero:hover .sc-hero__controls, .sc-hero:focus-within .sc-hero__controls, .sc-hero.is-touch-active .sc-hero__controls { opacity: .5; pointer-events: auto; }
.sc-hero__controls:hover { opacity: .85; }
.sc-hero__controls:focus-within { opacity: 1; }
.sc-hero__controls[hidden] { display: none; }
.sc-hero button { font-family: inherit; cursor: pointer; }
.sc-hero__arrows { display: flex; gap: 2px; }
.sc-hero__arrows button { width: 26px; height: 26px; border: 0; background: transparent; border-radius: 6px; font-size: 14px; color: #6c5361; }
.sc-hero button:hover { background: #f7eaf1; }
.sc-hero__visual img { transform: scale(1.045); transition: transform 4s linear; }
.sc-hero__slide.is-active .sc-hero__visual img { transform: scale(1); }
.sc-hero :is(a, button):focus-visible { outline: 3px solid #f0a000; outline-offset: 3px; }
@container (max-width: 620px) {
  .sc-hero__slide { grid-template-columns: minmax(0, 1fr); }
  .sc-hero__visual { grid-row: 1; min-height: 130px; height: 130px; }
  .sc-hero__visual img { object-position: 50% 42%; }
  .sc-hero__copy { padding: 18px 20px 36px; }
  #content .sc-hero :is(h1, h2) { font-size: 28px; }
  .sc-hero__description { max-width: none; }
}
@media (max-width: 850px) {
  #homePageFirstLine.sc-home-hero-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-hero__slide, .sc-hero__visual img { transition: none; transform: none; }
  .sc-hero__controls { transition: none; }
  .sc-hero__slide.is-active .sc-hero__visual img { transform: none; }
}

/* Espace pour les deux flèches, sans recouvrir les liens. */
.sc-hero__copy { padding-bottom: 36px; }

/* Espacement court entre le menu, le bandeau et les services. */
#homePageFirstLine.sc-home-hero-row { margin-top: 16px; margin-bottom: 16px; }
