/*
@author UBPartner
*/
/* ==========================================================
   RÉSEAU - contenu de la page network.html
   Le header, le footer, les boutons, les cartes de chiffres
   clés et le rythme des sections viennent de style.css /
   header.css / footer.css : ne rien redéfinir ici.
   ========================================================== */


/* ==========================================================
   EN-TÊTES DE SECTION
   ========================================================== */
.reseau-tag {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
}

.reseau-heading {
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
}

.reseau-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--inkSoft);
}

/* ==========================================================
   CLIENTS - cartes logo + description
   ========================================================== */
/* la grille de cartes ne dépasse pas 1000px */
.client-grid {
  max-width: 1000px;
  margin-inline: auto;
}

.client-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 18px 26px;
  border: 1px solid rgba(115, 71, 179, 0.1);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(36, 27, 61, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115, 71, 179, 0.28);
  box-shadow: 0 24px 48px rgba(115, 71, 179, 0.16);
}

.client-logo {
  display: grid;
  place-items: center;
  height: 160px;
  margin-bottom: 22px;
  padding: 24px;
  border-radius: 12px;
  background: #f2effc;
}

.client-logo-img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

/* placeholder en attendant les vrais logos */
.client-wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: rgba(115, 71, 179, 0.45);
}

.client-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.client-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--inkSoft);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 575.98px) {
  .client-logo {
    height: 130px;
  }
}

/* ==========================================================
   IMPACT - carrousel de témoignages
   ========================================================== */
.impact-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 44px 46px 34px;
  border: 1px solid rgba(115, 71, 179, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(36, 27, 61, 0.08);
}

.impact-track {
  position: relative;
}

.impact-slide {
  display: none;
}

.impact-slide.is-active {
  display: block;
  animation: impactIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes impactIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* guillemet dégradé */
.impact-quote {
  display: block;
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  line-height: 0.6;
  background: linear-gradient(147deg, var(--primary) 10%, var(--logoCyan) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

.impact-logo {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 26px;
}

.impact-logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.impact-text {
  max-width: 860px;
  margin: 0 0 32px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.2px;
  color: var(--ink);
}

/* guillemets typographiques ajoutés autour du verbatim */
.impact-text::before {
  content: "\201C";
}

.impact-text::after {
  content: "\201D";
}

.impact-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.impact-avatar {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.impact-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.impact-role {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--inkSoft);
}

/* ── Commandes ── */
.impact-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 27, 61, 0.08);
}

.impact-dots {
  display: flex;
  gap: 8px;
}

.impact-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(115, 71, 179, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.impact-dot.is-active {
  width: 26px;
  border-radius: 10px;
  background: var(--primary);
}

.impact-arrows {
  display: flex;
  gap: 10px;
}

.impact-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(115, 71, 179, 0.2);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.impact-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.impact-arrow:focus-visible,
.impact-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .impact-slide.is-active {
    animation: none;
  }
}

@media (max-width: 767.98px) {
  p{
    font-size: 13px !important;
  }
  .impact-slider {
    padding: 30px 24px 24px;
  }
  .impact-text {
    font-size: 17px;
  }
  .impact-quote {
    font-size: 58px;
  }
  .impact-avatar {
    width: 48px;
    height: 48px;
  }

  .reseau-lead {
    font-size: 15px;
  }

  .client-card {
    padding: 16px 16px 22px;
  }

  .client-logo {
    height: 120px;
    margin-bottom: 18px;
    padding: 18px;
  }

  /* auteur empilé, sinon l'avatar et deux lignes de texte ne
     tiennent pas côte à côte sur un petit écran */
  .impact-author {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .impact-controls {
    flex-direction: column-reverse;
    gap: 18px;
  }
}
