/* Page « Nos clients » (gabarit clients). Feuille autonome : la chaîne gulp/node-sass du thème
   ne compile plus sur un Node récent. Base 1rem = 10px (html { font-size: 62.5% }). */

#main-content.clients-page {
  --rose: #E6007E;
  --rose-fonce: #A2185A;
  --rose-clair: #D862A2;
  --gris: #878787;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #000;
}

#main-content.clients-page p { margin: 0; }

#main-content.clients-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#main-content.clients-page .chiffre {
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

/* Flèche du hero devenue lien vers les chiffres */
.page.clients #parallax .icon a { color: inherit; }

/* Chiffres clés */
#main-content.clients-page .chiffres-cles {
  max-width: 1000px;
  margin: 4.8rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border: 2px solid var(--rose);
  border-radius: 8px;
  background: #fff;
}

#main-content.clients-page .chiffre-cle {
  padding: 4rem 2.8rem;
  text-align: center;
}

#main-content.clients-page .chiffre-cle + .chiffre-cle { border-left: 1px solid var(--rose-clair); }

#main-content.clients-page .chiffre-cle .chiffre { font-size: 5.6rem; }

#main-content.clients-page .chiffre-cle p:not(.chiffre) {
  max-width: 240px;
  margin: 1.4rem auto 0;
  font-size: 1.6rem;
  line-height: 1.45;
}

/* Accès rapide gaz / eau */
#main-content.clients-page .familles { padding: 4.8rem 2.4rem 7.2rem; }

#main-content.clients-page .familles ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Neutralise les puces icomoon et soulignés animés du thème (#main-content ul li) */
#main-content.clients-page .familles li,
#main-content.clients-page .acteurs li { padding-left: 0; }

#main-content.clients-page .familles li::before,
#main-content.clients-page .familles li::after,
#main-content.clients-page .familles li a::after,
#main-content.clients-page .acteurs li::before,
#main-content.clients-page .acteurs li::after { content: none; }

#main-content.clients-page .familles a {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0 2.6rem;
  border: 2px solid var(--rose);
  border-radius: 999px;
  color: var(--rose);
  font-size: 1.4rem;
  letter-spacing: .05rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s ease-out, color .2s ease-out;
}

#main-content.clients-page .familles a:hover,
#main-content.clients-page .familles a:focus-visible {
  background: var(--rose);
  color: #fff;
}

#main-content.clients-page .familles a:hover path,
#main-content.clients-page .familles a:focus-visible path { stroke: #fff; }

/* Bandeaux photo des familles */
/* Ancres : laisse la place au header fixe */
#main-content.clients-page .famille,
#main-content.clients-page .chiffres-cles { scroll-margin-top: 12rem; }

#main-content.clients-page .famille + .famille { margin-top: 4.8rem; }

#main-content.clients-page .famille-bandeau {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}

#main-content.clients-page .famille-bandeau img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main-content.clients-page .famille-bandeau::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  content: "";
}

#main-content.clients-page .bandeau-in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2.4rem 3.2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 5.6rem 2.4rem;
}

#main-content.clients-page .pastille {
  display: flex;
  flex: 0 0 96px;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 3px solid var(--rose);
  border-radius: 50%;
  background: #fff;
}

#main-content.clients-page .famille-bandeau h2 {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
}


#main-content.clients-page .famille-bandeau h2 strong {
  font-weight: 600;
  color: var(--rose);
}

/* Fiches clients en frise */
#main-content.clients-page .clients-liste {
  max-width: 1000px;
  margin: 0 auto;
  padding: 7.2rem 2.4rem 4rem;
}

#main-content.clients-page #eau .clients-liste { padding-bottom: 8.8rem; }

#main-content.clients-page .client {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.6rem 4rem;
}

#main-content.clients-page .annee {
  flex: 0 0 150px;
  padding-top: .4rem;
  text-align: right;
}

#main-content.clients-page .annee p:first-child {
  font-size: 1.2rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
}

#main-content.clients-page .annee .chiffre {
  margin-top: .6rem;
  font-size: 4.6rem;
}

#main-content.clients-page .fiche {
  position: relative;
  flex: 999 1 520px;
  min-width: 0;
  padding: 0 0 5.6rem 4rem;
  border-left: 2px solid var(--gris);
}

#main-content.clients-page .client:not(.dernier) .fiche::after {
  display: block;
  height: 1px;
  margin-top: 5.6rem;
  background: var(--gris);
  content: "";
}

#main-content.clients-page .client.dernier .fiche { padding-bottom: 1.6rem; }

#main-content.clients-page .fiche > .power {
  position: absolute;
  top: .4rem;
  left: -16px;
  width: 30px;
  height: 30px;
  padding: 2px;
  background: #fff;
  box-sizing: border-box;
}

#main-content.clients-page .logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.8rem;
}

#main-content.clients-page .logos img {
  display: block;
  width: auto;
  max-width: 160px;
  height: 56px;
  object-fit: contain;
}

#main-content.clients-page .etiquette {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 1.2rem;
  padding: 0 1.4rem;
  border: 1px solid var(--rose);
  border-radius: 999px;
  font-size: 1.2rem;
  letter-spacing: .05rem;
  text-transform: uppercase;
  color: var(--rose-fonce);
}

#main-content.clients-page .texte {
  margin-top: 1.8rem;
  line-height: 1.6;
}

#main-content.clients-page .reperes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2rem 4.8rem;
  margin-top: 2.4rem;
}

#main-content.clients-page .reperes > div { text-align: center; }

#main-content.clients-page .reperes .chiffre {
  font-size: 3.8rem;
  white-space: nowrap;
}

#main-content.clients-page .reperes p:not(.chiffre) {
  margin-top: .8rem;
  font-size: 1.5rem;
}

#main-content.clients-page .mutualisation { margin-top: 3.2rem; }

#main-content.clients-page .acteurs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

#main-content.clients-page .acteurs li {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 2rem;
  border: 1px solid var(--gris);
  border-radius: 6px;
  list-style: none;
}

#main-content.clients-page .acteurs svg {
  flex: 0 0 24px;
  margin-top: .2rem;
}

#main-content.clients-page .acteurs p {
  font-size: 1.6rem;
  line-height: 1.5;
}

#main-content.clients-page .acteurs strong {
  font-weight: 600;
  color: var(--rose);
}

@media (max-width: 700px) {
  #main-content.clients-page .chiffres-cles { margin: 4.8rem 2.4rem 0; }

  #main-content.clients-page .chiffre-cle + .chiffre-cle {
    border-top: 1px solid var(--rose-clair);
    border-left: 0;
  }

  #main-content.clients-page .chiffre-cle .chiffre { font-size: 4.4rem; }

  #main-content.clients-page .bandeau-in {
    flex-direction: column;
    align-items: flex-start;
    padding: 3.6rem 2rem;
  }

  #main-content.clients-page .famille-bandeau h2 {
    font-size: 2.6rem;
    line-height: 3.4rem;
  }

  #main-content.clients-page .annee {
    flex-basis: 100%;
    text-align: left;
  }

  #main-content.clients-page .annee .chiffre { font-size: 3.4rem; }

  #main-content.clients-page .fiche { padding-left: 2.8rem; }

  #main-content.clients-page .reperes .chiffre { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  #main-content.clients-page .familles a { transition: none; }
}
