/* ============================================================
   CERTIFICATION LE RÉSEAU — Palette Blanche & Prestige Bndar
   ============================================================ */
.le-reseau-certification {
  padding: 56px 24px;
  background: #F8FAFD;
  color: #1E293B;
  font-family: inherit;
  border-top: 1px solid #E2EDF8;
}

.le-reseau-certification * {
  box-sizing: border-box;
}

.le-reseau-certification__card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid #E2EDF8;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(9, 76, 129, 0.07);
  transition: transform .35s ease, box-shadow .35s ease;
}

.le-reseau-certification__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 65px rgba(9, 76, 129, 0.11);
}

.le-reseau-certification__visual {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: linear-gradient(135deg, #F0F8FF 0%, #FFFFFF 100%);
  border-right: 1px solid #E2EDF8;
}

.le-reseau-certification__logo {
  display: block;
  width: 100%;
  max-width: 480px;
  max-height: 240px;
  object-fit: contain;
}

.le-reseau-logo-dark { display: none !important; }
.le-reseau-logo-light { display: block !important; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .le-reseau-logo-dark { display: block !important; }
  :root:not([data-theme="light"]) .le-reseau-logo-light { display: none !important; }
}
[data-theme="dark"] .le-reseau-logo-dark { display: block !important; }
[data-theme="dark"] .le-reseau-logo-light { display: none !important; }
[data-theme="light"] .le-reseau-logo-dark { display: none !important; }
[data-theme="light"] .le-reseau-logo-light { display: block !important; }

.le-reseau-certification__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
  background: transparent;
}

/* Badge Bleu Ciel Bndar */
.le-reseau-certification__label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 8px 16px;
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: 999px;
  background: rgba(224, 242, 254, 0.65);
  color: #0284C7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.le-reseau-certification__check {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #0284C7;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
}

.le-reseau-certification__title {
  margin: 0 0 18px;
  color: #094C81;
  font-family: var(--brand-font-heading, "Playfair Display", Cambria, Georgia, serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.le-reseau-certification__text {
  max-width: 650px;
  margin: 0 0 28px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
}

.le-reseau-certification__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.le-reseau-certification__benefits li {
  padding: 9px 18px;
  border: 1px solid #E2EDF8;
  border-radius: 999px;
  background: #F8FAFD;
  color: #094C81;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 2px 6px rgba(9, 76, 129, 0.03);
  transition: all .25s ease;
}

.le-reseau-certification__benefits li:hover {
  background: #F0F8FF;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(-1px);
}

@media (max-width: 840px) {
  .le-reseau-certification {
    padding: 52px 18px;
  }

  .le-reseau-certification__card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .le-reseau-certification__visual {
    min-height: 230px;
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid #E2EDF8;
  }

  .le-reseau-certification__content {
    padding: 36px 26px 40px;
  }

  .le-reseau-certification__label {
    font-size: 0.72rem;
  }

  .le-reseau-certification__title {
    font-size: 1.7rem;
  }
}

/* ============================================================
   DARK MODE — #0b4a7d Bndar
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .le-reseau-certification {
    background: #0b4a7d;
    color: #F1F5F9;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  :root:not([data-theme="light"]) .le-reseau-certification__card {
    background: #083b64;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }
  :root:not([data-theme="light"]) .le-reseau-certification__visual {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-right-color: rgba(255, 255, 255, 0.12);
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
  :root:not([data-theme="light"]) .le-reseau-certification__label {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38BDF8 !important;
  }
  :root:not([data-theme="light"]) .le-reseau-certification__check {
    background: #38BDF8 !important;
    color: #083b64 !important;
  }
  :root:not([data-theme="light"]) .le-reseau-certification__title {
    color: #FFFFFF;
  }
  :root:not([data-theme="light"]) .le-reseau-certification__text {
    color: #CBD5E1;
  }
  :root:not([data-theme="light"]) .le-reseau-certification__benefits li {
    background: rgba(255, 255, 255, 0.09) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  :root:not([data-theme="light"]) .le-reseau-certification__benefits li:hover {
    background: rgba(56, 189, 248, 0.22) !important;
    border-color: #38BDF8 !important;
    color: #38BDF8 !important;
  }
}

[data-theme="dark"] .le-reseau-certification {
  background: #0b4a7d;
  color: #F1F5F9;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .le-reseau-certification__card {
  background: #083b64;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .le-reseau-certification__visual {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-right-color: rgba(255, 255, 255, 0.12);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .le-reseau-certification__label {
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38BDF8 !important;
}
[data-theme="dark"] .le-reseau-certification__check {
  background: #38BDF8 !important;
  color: #083b64 !important;
}
[data-theme="dark"] .le-reseau-certification__title {
  color: #FFFFFF;
}
[data-theme="dark"] .le-reseau-certification__text {
  color: #CBD5E1;
}
[data-theme="dark"] .le-reseau-certification__benefits li {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .le-reseau-certification__benefits li:hover {
  background: rgba(56, 189, 248, 0.22) !important;
  border-color: #38BDF8 !important;
  color: #38BDF8 !important;
}
