/* Page Notre engagement qualité — proposition sobre */
.tb-engagement {
  --tb-eq-navy: #203b5d;
  --tb-eq-blue: #456fb8;
  --tb-eq-ink: #26384e;
  --tb-eq-muted: #596879;
  --tb-eq-line: #e1e5ea;
  --tb-eq-soft: #fafbfc;
  color: var(--tb-eq-ink);
  line-height: 1.58;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  background: #fff;
}

.tb-engagement .tb-eq-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.tb-engagement .tb-eq-intro {
  padding: 49px 0 26px;
}

.tb-engagement .tb-eq-kicker {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--tb-eq-muted);
  text-transform: none;
}

.tb-engagement .tb-eq-intro h1 {
  font-size: clamp(27px, 3vw, 35px);
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin: 9px 0 13px;
  color: var(--tb-eq-navy);
  font-weight: 500;
}

.tb-engagement .tb-eq-lead {
  font-size: 15px;
  color: var(--tb-eq-muted);
  max-width: 790px;
  margin: 0;
}

.tb-engagement .tb-eq-main {
  padding: 16px 0 75px;
}

.tb-engagement .tb-eq-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.16fr;
  gap: 30px;
  align-items: start;
}

.tb-engagement .tb-eq-menu {
  border: 1px solid var(--tb-eq-line);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.tb-engagement .tb-eq-nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 15px 17px;
  border: 0;
  border-bottom: 1px solid var(--tb-eq-line);
  border-radius: 0;
  background: #fff;
  color: var(--tb-eq-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.tb-engagement .tb-eq-nav-item:last-child {
  border-bottom: 0;
}

.tb-engagement .tb-eq-nav-item:hover {
  background: #f7f9fb;
}

.tb-engagement .tb-eq-nav-item.active {
  background: #f5f8fc;
  color: var(--tb-eq-navy);
  box-shadow: inset 3px 0 0 var(--tb-eq-blue);
  font-weight: 600;
  margin-right: 0;
  border-right: 0;
}

.tb-engagement .tb-eq-nav-item:focus-visible {
  outline: 2px solid var(--tb-eq-blue);
  outline-offset: -2px;
}

.tb-engagement .tb-eq-number {
  font-size: 12px;
  color: #77869a;
  font-weight: 400;
  min-width: 24px;
}

.tb-engagement .tb-eq-nav-item.active .tb-eq-number {
  color: var(--tb-eq-blue);
  font-weight: 600;
}

.tb-engagement .tb-eq-chevron {
  font-size: 18px;
  color: #9ca9b7;
  margin-left: auto;
  font-weight: 400;
}

.tb-engagement .tb-eq-detail-shell {
  position: relative;
  border: 1px solid var(--tb-eq-line);
  border-radius: 4px;
  padding: 28px 30px;
  background: #fff;
  min-height: 410px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.tb-engagement .tb-eq-detail {
  width: 100%;
}

.tb-engagement .tb-eq-detail[hidden] {
  display: none;
}

.tb-engagement .tb-eq-eyebrow {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--tb-eq-muted);
  font-weight: 400;
}

.tb-engagement .tb-eq-detail h2 {
  font-size: clamp(20px, 2.4vw, 25px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--tb-eq-navy);
  font-weight: 500;
  margin: 14px 0 22px;
}

.tb-engagement .tb-eq-detail p {
  font-size: 15px;
  color: #46576b;
  line-height: 1.7;
  margin: 0 0 15px;
}

.tb-engagement .tb-eq-cert {
  display: inline-block;
  margin-top: 18px;
  color: var(--tb-eq-blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.tb-engagement .tb-eq-cert:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .tb-engagement .tb-eq-wrap {
    padding: 0 18px;
  }

  .tb-engagement .tb-eq-intro {
    padding: 35px 0 22px;
  }

  .tb-engagement .tb-eq-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tb-engagement .tb-eq-nav-item {
    padding: 12px 14px;
  }

  .tb-engagement .tb-eq-detail-shell {
    min-height: 0;
    padding: 23px 20px;
  }

  .tb-engagement .tb-eq-main {
    padding-bottom: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-engagement * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
