.partenaire-page {
  background: #f2f3ff;
  color: #111a3a;
}

.part-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.part-hero {
  background:
    linear-gradient(90deg, rgba(18, 27, 71, 0.78), rgba(18, 27, 71, 0.4)),
    url('/themes/custom/solutis_drupal2/images/partenaire/photo-couverture.png') center/cover no-repeat;
  color: #fff;
  padding: 54px 0 58px;
}

.part-hero h1 {
  margin: 0 0 16px;
  max-width: 780px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
}

.part-hero ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.part-hero li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 500;
}

.part-hero li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b7eb60;
  flex: 0 0 auto;
}

.part-hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.part-hero__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.part-hero__cta a:first-child {
  background: #ef3f45;
  color: #fff;
}

.part-hero__cta a:last-child {
  background: #fff;
  color: #ef3f45;
}

.part-hero__cta a:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.part-quote-wrap {
  padding: 30px 0 14px;
}

.part-quote {
  margin: 0;
  padding: 24px 26px;
  background: #fff;
  border-left: 5px solid #4b3de3;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.42;
}

.part-breadcrumb-wrap {
  padding: 4px 0 26px;
}

.part-breadcrumb {
  color: #667089;
  font-size: 14px;
}

.part-breadcrumb a {
  color: inherit;
}

.part-content {
  padding-bottom: 48px;
}

.part-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.part-side {
  position: sticky;
  top: 100px;
}

.part-side__box {
  background: #4438de;
  color: #fff;
  border-radius: 16px;
  padding: 22px;
}

.part-side__box h3 {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.35;
  color: #fff;
}

.part-side__box a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  align-items: center;
  border-radius: 999px;
  background: #b7eb60;
  color: #3f34df;
  font-weight: 700;
  text-decoration: none;
  margin: 0 0 12px;
  padding: 10px 18px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.part-side__box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.4;
}

.part-share {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.part-share span {
  font-weight: 600;
}

.part-share div {
  display: flex;
  gap: 10px;
}

.part-share a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #f2f3ff;
  color: #172041;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.part-main {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
}

.part-main h2 {
  margin: 0 0 14px;
  color: #12215a;
  font-size: 31px;
  line-height: 1.15;
}

.part-main h3 {
  margin: 28px 0 10px;
  color: #1d2550;
  font-size: 23px;
}

.part-main p {
  margin: 0 0 14px;
  font-size: 17px;
  color: #1f284e;
  line-height: 1.62;
}

.part-logos {
  margin: 12px 0 22px;
  display: grid;
  gap: 14px;
}

.part-logos--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.part-logos--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.part-logos img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e6e8f6;
  border-radius: 10px;
  padding: 12px;
}

.part-faq {
  margin: 18px 0 26px;
}

.part-faq h3 {
  margin-bottom: 12px;
}

.part-faq__item {
  background: #f3f5ff;
  border: 1px solid #e2e7ff;
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.part-faq__item summary {
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.part-faq__item summary::-webkit-details-marker {
  display: none;
}

.part-faq__item summary::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #4438de;
  transition: transform 0.2s ease;
}

.part-faq__item[open] summary::after {
  transform: rotate(180deg);
}

.part-faq__item[open] {
  background: #eef1ff;
}

.part-faq__item p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 15px;
}

.part-cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.part-cards article {
  border: 1px solid #e4e7f8;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
}

.part-cards img {
  width: 132px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}

.part-cards h4 {
  margin: 0 0 8px;
  color: #1f274e;
  font-size: 15px;
}

.part-cards p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.part-cta {
  padding: 0 0 64px;
}

.part-cta__box {
  background: linear-gradient(90deg, #4034d8, #5245e8);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  padding: 32px 24px;
}

.part-cta__box h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(23px, 2.6vw, 37px);
}

.part-cta__box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 34px;
  border-radius: 999px;
  background: #b7eb60;
  text-decoration: none;
  color: #3429cf;
  font-weight: 700;
}

.part-cta__box p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1080px) {
  .part-grid {
    grid-template-columns: 1fr;
  }

  .part-side {
    position: static;
  }

  .part-side__box,
  .part-share {
    max-width: 460px;
  }
}

@media (max-width: 760px) {
  .part-shell {
    width: calc(100% - 26px);
  }

  .part-hero {
    background:
      linear-gradient(90deg, rgba(18, 27, 71, 0.8), rgba(18, 27, 71, 0.5)),
      url('/themes/custom/solutis_drupal2/images/partenaire/photo-couverture-mobile.png') center/cover no-repeat;
    padding: 34px 0 38px;
  }

  .part-hero li {
    font-size: 15px;
  }

  .part-hero__cta a {
    width: 100%;
  }

  .part-quote {
    font-size: 17px;
    padding: 18px;
  }

  .part-main {
    padding: 20px;
  }

  .part-main h2 {
    font-size: 25px;
  }

  .part-main h3 {
    font-size: 20px;
  }

  .part-main p {
    font-size: 16px;
  }

  .part-logos--three,
  .part-logos--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .part-cards {
    grid-template-columns: 1fr;
  }
}
