/* =========================================================
   RESILINER - PAGE RÉFÉRENCES / RÉALISATIONS
   Design cohérent avec les pages C.A.R.E.
   ========================================================= */
/* Général */ .references-ia-section-soft, .references-ia-section-alt  {
  position: relative;
  overflow: hidden;
}

.references-ia-section-soft  {
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.references-ia-section-alt  {
  background: linear-gradient(135deg, rgba(83, 143, 187, 0.08) 0%, rgba(27, 133, 143, 0.08) 100%);
}

.references-ia-section-soft::before, .references-ia-section-alt::before  {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 143, 187, 0.16) 0%, rgba(83, 143, 187, 0) 70%);
  pointer-events: none;
}

.references-ia-section-soft::after, .references-ia-section-alt::after  {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 133, 143, 0.14) 0%, rgba(27, 133, 143, 0) 72%);
  pointer-events: none;
}

.references-ia-section-soft > .container, .references-ia-section-alt > .container  {
  position: relative;
  z-index: 1;
}

.references-ia-section-soft h2, .references-ia-section-alt h2, .bg_white h2  {
  color: #04292b;
  font-weight: 800;
  line-height: 1.2;
}

.references-ia-section-soft p, .references-ia-section-alt p, .bg_white p  {
  color: #195a5e;
}

.row-spaced  {
  row-gap: 30px;
}

.flex-gap-3  {
  gap: 1rem;
}
/* =========================================================
   ANCHOR BAR
   ========================================================= */ .references-ia-anchorbar  {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 10px 30px rgba(4, 41, 43, 0.06);
  backdrop-filter: blur(8px);
}

.references-ia-anchorbar .nav  {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.references-ia-anchorbar .nav-link  {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 108, 160, 0.08);
  color: #076ca0;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.references-ia-anchorbar .nav-link:hover, .references-ia-anchorbar .nav-link:focus  {
  color: #ffffff;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  transform: translateY(-2px);
  text-decoration: none;
}
/* =========================================================
   INTRO / BOX SHADOW
   ========================================================= */ .box_shadow_1  {
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
}

.references-ia-checklist li  {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: #195a5e;
}

.references-ia-checklist li:last-child  {
  margin-bottom: 0;
}

.references-ia-checklist i  {
  position: absolute;
  top: 4px;
  left: 0;
  color: #1b858f;
}
/* =========================================================
   LOGOS CLIENTS
   ========================================================= */ .references-ia-logo-card  {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  padding: 26px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.references-ia-logo-card:hover  {
  transform: translateY(-5px);
  border-color: rgba(7, 108, 160, 0.22);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.12);
}

.references-ia-logo-card img  {
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.references-ia-logo-card:hover img  {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}
/* =========================================================
   SUPPORT CARDS
   ========================================================= */ .support-card  {
  position: relative;
  height: 100%;
  padding: 28px;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.support-card::after  {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 133, 143, 0.12) 0%, rgba(27, 133, 143, 0) 70%);
  pointer-events: none;
}

.support-card:hover  {
  transform: translateY(-5px);
  border-color: rgba(7, 108, 160, 0.22);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.12);
}

.support-card-icon  {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}

.support-card-title  {
  margin-bottom: 12px;
  color: #04292b;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.support-card-text  {
  margin-bottom: 0;
  color: #195a5e;
}
/* =========================================================
   DOMAINES D’INTERVENTION
   ========================================================= */ .references-ia-step-card  {
  height: 100%;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.references-ia-step-card:hover  {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.12);
}

.references-ia-step-icon  {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #538fbb 0%, #1b858f 100%);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(83, 143, 187, 0.22);
}

.references-ia-step-card h4  {
  margin-bottom: 14px;
  color: #04292b;
  font-weight: 800;
}

.references-ia-step-card li  {
  position: relative;
  padding-left: 20px;
  color: #195a5e;
}

.references-ia-step-card li::before  {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1b858f;
}
/* =========================================================
   AVANT / APRÈS
   ========================================================= */ .references-ia-beforeafter-card  {
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.references-ia-beforeafter-card:hover  {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.12);
}

.references-ia-beforeafter-visual  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 185px;
  background: #f8fbfc;
}

.references-ia-beforeafter-pane  {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(4, 41, 43, 0.92) 0%, rgba(25, 90, 94, 0.9) 100%);
  color: #ffffff;
  text-align: center;
  font-weight: 800;
}

.references-ia-beforeafter-pane::before  {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
}

.references-ia-beforeafter-pane.is-after  {
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
}

.references-ia-beforeafter-pane span  {
  position: relative;
  z-index: 1;
}

.references-ia-beforeafter-content  {
  padding: 24px;
}

.references-ia-beforeafter-content h4  {
  margin-bottom: 10px;
  color: #04292b;
  font-weight: 800;
}

.references-ia-beforeafter-content p  {
  color: #195a5e;
}
/* =========================================================
   CAS D’USAGE
   ========================================================= */ .references-ia-case-card  {
  height: 100%;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.references-ia-case-card:hover  {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.12);
}

.references-ia-mini-label  {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 133, 143, 0.1);
  color: #1b858f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.references-ia-case-card h4  {
  margin-bottom: 18px;
  color: #04292b;
  font-weight: 800;
}

.references-ia-case-card p  {
  color: #195a5e;
}

.references-ia-case-card strong  {
  color: #04292b;
}
/* =========================================================
   TRAÇABILITÉ
   ========================================================= */ .references-ia-proof-card  {
  height: 100%;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.references-ia-proof-card:hover  {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.12);
}

.references-ia-proof-card i  {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff !important;
  font-size: 1.35rem !important;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}

.references-ia-proof-card h4  {
  color: #04292b;
  font-weight: 800;
}

.references-ia-proof-card p  {
  color: #195a5e;
}
/* =========================================================
   CTA FINAL
   ========================================================= */ .references-ia-cta-box  {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #04292b 0%, #195a5e 52%, #076ca0 100%);
}

.references-ia-cta-box::before  {
  content: "";
  position: absolute;
  top: -130px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.references-ia-cta-box::after  {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 179, 175, 0.22) 0%, rgba(108, 179, 175, 0) 72%);
  pointer-events: none;
}

.references-ia-cta-box .container  {
  position: relative;
  z-index: 1;
}

.references-ia-cta-box h2  {
  color: #ffffff;
  font-weight: 800;
}

.references-ia-cta-box p  {
  color: rgba(255, 255, 255, 0.9);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.references-ia-cta-box .btn  {
  padding: 12px 24px;
  font-weight: 700;
}
/* =========================================================
   BOUTONS / LIENS
   ========================================================= */ .references-ia-cta-box .btn-outline-light:hover, .references-ia-cta-box .btn-outline-light:focus  {
  color: #04292b;
}

.text-primary  {
  color: #076ca0 !important;
}
/* =========================================================
   RESPONSIVE
   ========================================================= */ @media (max-width: 991.98px)  {
  .references-ia-anchorbar  {
    position: relative;
    top: auto;
  }
  .references-ia-beforeafter-visual  {
    min-height: 160px;
  }
}

@media (max-width: 767.98px)  {
  .references-ia-anchorbar .nav  {
    justify-content: flex-start;
    gap: 10px;
  }
  .references-ia-anchorbar .nav-item  {
    width: 100%;
  }
  .references-ia-anchorbar .nav-link  {
    width: 100%;
    justify-content: center;
  }
  .box_shadow_1, .support-card, .references-ia-step-card, .references-ia-case-card, .references-ia-proof-card, .references-ia-beforeafter-content  {
    padding: 22px;
  }
  .references-ia-logo-card  {
    min-height: 120px;
    padding: 20px;
  }
  .references-ia-logo-card img  {
    max-height: 64px;
  }
  .references-ia-beforeafter-visual  {
    grid-template-columns: 1fr;
  }
  .references-ia-beforeafter-pane  {
    min-height: 110px;
  }
}

@media (max-width: 575.98px)  {
  .references-ia-section-soft h2, .references-ia-section-alt h2, .bg_white h2, .references-ia-cta-box h2  {
    font-size: 1.55rem;
  }
  .support-card-title, .references-ia-step-card h4, .references-ia-case-card h4, .references-ia-proof-card h4, .references-ia-beforeafter-content h4  {
    font-size: 1.05rem;
    line-height: 1.35;
  }
}

.references-ia-beforeafter-gallery  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 260px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #f5f5f5;
  gap: 2px;
}

.references-ia-beforeafter-gallery img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}