/* Accueil uniquement : décor fixe et avis Google dans le héros. */
.hero--signature {
  background: #080a0a;
  /* Le clip suit la section ; le décor reste ancré à la fenêtre. */
  clip-path: inset(0);
}

.hero--signature .hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.hero--signature .hero-backdrop img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero--signature .hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0709095c, #07090912 65%, #07090926);
}

.hero--signature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #080a0a00 66%, #0b0d0e);
}

.hero--signature.is-away .hero-backdrop {
  visibility: hidden;
}

.hero--signature .hero-layout {
  min-height: 640px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.hero--signature .hero-description {
  color: #c3c5c1;
}

.hero--signature .hero-copy {
  text-shadow: 0 2px 22px #0005;
}

.hero--signature .hero-reviews {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 465px;
  justify-self: end;
  align-self: end;
  margin: 64px 0 12px;
  padding: 27px 28px 9px;
  border: 1px solid #dec29145;
  border-radius: 23px;
  background: linear-gradient(145deg, #171a17f0, #0b0d0ded);
  box-shadow: 0 24px 65px #0005, inset 0 1px 0 #fff7e80a;
  animation-delay: .14s;
}

.hero--signature .hero-reviews-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero--signature .hero-reviews-kicker {
  color: #c3b291;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.65px;
  line-height: 1.8;
}

.hero--signature .hero-google-logo {
  flex-shrink: 0;
  width: 85px;
  height: auto;
  padding: 7px 9px;
  border-radius: 6px;
  background: #fff;
}

.hero--signature .hero-reviews h2 {
  margin-top: 24px;
  font-size: clamp(28px, 2.5vw, 35px);
  letter-spacing: -1.3px;
  line-height: 1.14;
}

.hero--signature .hero-reviews h2 span {
  color: #d9bb88;
}

.hero--signature .hero-reviews-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 23px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dac49824;
}

.hero--signature .hero-reviews-star {
  align-self: center;
  margin-right: 5px;
  color: #e5bd73;
  font-size: 24px;
  line-height: 1;
}

.hero--signature #google-note {
  color: #f4efe4;
  font-size: 39px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1.5px;
  line-height: 1;
}

.hero--signature .hero-reviews-scale {
  color: #a8aaa4;
  font-size: 13px;
}

.hero--signature #google-nombre-avis {
  margin-left: auto;
  color: #b8bcb2;
  font-size: 11px;
}

.hero--signature .google-avis-liste {
  display: flex;
  align-items: stretch;
  gap: 22px;
  min-height: 220px;
  margin-top: 21px;
  padding: 3px 2px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.hero--signature .google-avis-liste::-webkit-scrollbar {
  display: none;
}

.hero--signature .google-avis-carte {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero--signature .google-avis-auteur {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hero--signature .google-avis-avatar {
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border: 1px solid #e1c9962b;
  border-radius: 50%;
  object-fit: contain;
}

.hero--signature .google-avis-auteur-textes {
  min-width: 0;
}

.hero--signature .google-avis-auteur-nom {
  display: block;
  color: #edece4;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hero--signature .google-avis-meta {
  color: #9b9f97;
  font-size: 10px;
  line-height: 1.6;
}

.hero--signature .google-avis-etoiles {
  margin: 14px 0 9px;
  color: #e5bd73;
  font-size: 15px;
  letter-spacing: 2px;
}

.hero--signature .google-avis-texte {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: #c9cbc4;
  font-size: 12px;
  line-height: 1.9;
}

.hero--signature .google-avis-traduction {
  margin-top: 9px;
  color: #a4a89f;
  font-size: 10px;
}

.hero--signature .google-avis-source {
  align-self: flex-start;
  margin-top: 14px;
  color: #dbc18f;
  font-size: 11px;
  line-height: 1.7;
}

.hero--signature .google-avis-source:hover,
.hero--signature a.google-avis-auteur-nom:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero--signature .google-avis-etat,
.hero--signature .google-avis-erreur {
  flex: 0 0 100%;
  align-self: center;
  color: #b7bcb1;
  font-size: 12px;
  line-height: 1.9;
}

.hero--signature .google-avis-erreur .google-avis-source {
  display: inline-block;
}

.hero--signature .hero-reviews-info {
  margin: 9px 0 16px;
  color: #9b9f97;
  font-size: 9px;
  line-height: 1.7;
}

.hero--signature .hero-reviews-hint {
  display: block;
  margin-bottom: 4px;
  color: #b7b8ac;
  font-size: 10px;
}

.hero--signature .hero-reviews-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 51px;
  border-top: 1px solid #dac49824;
  color: #e2c798;
  font-size: 11px;
  font-weight: 600;
}

.hero--signature .hero-reviews-link span {
  font-size: 21px;
}

.hero--signature .hero-reviews-link:hover {
  color: #fff0d4;
}

@media (max-width: 960px) {
  .hero--signature .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .hero--signature .hero-reviews {
    padding: 23px 21px 8px;
  }

  .hero--signature .hero-reviews-topline {
    gap: 14px;
  }

  .hero--signature .hero-reviews-kicker {
    font-size: 7px;
    letter-spacing: 1.25px;
  }

  .hero--signature .hero-google-logo {
    width: 76px;
  }

  .hero--signature #google-nombre-avis {
    width: 100%;
    margin-left: 0;
    margin-top: 5px;
  }
}

@media (max-width: 700px) {
  .hero--signature .hero-backdrop img {
    /* Un cadre plus large sur téléphone, sans déplacer le décor au scroll. */
    position: absolute;
    top: 12%;
    height: 78%;
    object-position: 86% center;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
  }

  .hero--signature .hero-backdrop::after {
    background: linear-gradient(90deg, #060808c7 0%, #06080859 53%, #0608081a);
  }

  .hero--signature .hero-layout {
    display: block;
    min-height: 0;
  }

  .hero--signature .hero-reviews {
    max-width: 500px;
    margin: 36px auto 0;
    padding: 23px 22px 8px;
    border-radius: 20px;
  }

  .hero--signature .hero-reviews h2 {
    margin-top: 23px;
    font-size: 30px;
  }

  .hero--signature #google-nombre-avis {
    width: auto;
    margin-left: auto;
    margin-top: 0;
  }

  .hero--signature .google-avis-liste {
    min-height: 222px;
  }
}

@media (max-width: 370px) {
  .hero--signature .hero-reviews {
    padding-inline: 18px;
  }

  .hero--signature .hero-reviews h2 {
    font-size: 28px;
  }

  .hero--signature #google-nombre-avis {
    width: 100%;
    margin: 5px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--signature .google-avis-liste {
    scroll-behavior: auto;
  }
}
