/* CalculQC.ca — Bloc « Prochaine étape » (liens commerciaux)
   Ajouté en octobre 2026. Utilise les variables de couleur du site (--tint, --line, --ink, --text, --muted, --blue). */
.next-step {
  margin: 24px 0;
  padding: clamp(18px, 3vw, 26px);
  background: var(--tint, #f3f6fc);
  border: 1px solid var(--line, #dde5f2);
  border-radius: 20px;
  display: grid;
  gap: 10px;
  min-width: 0;
}
.next-step .next-step-kicker,
.next-step-kicker {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint, #5b6882);
}
.next-step .next-step-text,
.next-step-text {
  margin: 0;
  color: var(--text, #33405a);
  font-size: 1rem;
  line-height: 1.65;
}
.next-step .next-step-btn,
.art a.next-step-btn,
a.next-step-btn,
.next-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--blue, #003DA5);
  color: #fff !important;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none !important;
  width: fit-content;
  max-width: 100%;
  text-align: center;
}
.next-step .next-step-btn:hover,
.art a.next-step-btn:hover,
a.next-step-btn:hover,
.next-step-btn:hover {
  background: var(--blue-d, #00297a);
  color: #fff !important;
  text-decoration: none !important;
}
.next-step .next-step-btn:focus-visible,
.art a.next-step-btn:focus-visible,
a.next-step-btn:focus-visible,
.next-step-btn:focus-visible {
  outline: 3px solid var(--halo, rgba(0,61,165,.25));
  outline-offset: 2px;
}
.next-step .next-step-alt,
.next-step-alt {
  margin: 0;
  font-size: .92rem;
  color: var(--text, #33405a);
}
.next-step-alt a {
  color: var(--link, #003DA5);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.next-step .next-step-disclosure,
.next-step-disclosure {
  margin: 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted, #4a5873);
}
.next-step-disclosure a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Variante avec visuel carré (CompareHub) */
.next-step.has-visual { grid-template-columns: minmax(0, 1fr) 240px; column-gap: 24px; align-items: center; }
.next-step.has-visual > :not(.next-step-visual) { grid-column: 1; }
.next-step-visual,
.art a.next-step-visual {
  grid-column: 2;
  grid-row: 1 / span 6;
  display: block;
  text-decoration: none !important;
  border: none;
}
.next-step-visual img { display: block; width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 640px) {
  .next-step.has-visual { grid-template-columns: minmax(0, 1fr); }
  .next-step-visual,
  .art a.next-step-visual {
    grid-column: 1;
    grid-row: auto;
    max-width: 320px;
    order: 5;
  }
}

    .art table .next-step-btn, .table-wrap .next-step-btn, td .next-step-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap !important;
      word-break: keep-all !important;
      width: auto !important;
      max-width: none !important;
      padding: 9px 18px !important;
      font-size: .86rem !important;
      font-weight: 700 !important;
      min-height: 38px !important;
      line-height: 1.2 !important;
      border-radius: 999px !important;
      margin-top: 8px !important;
      background: var(--blue, #003DA5) !important;
      color: #ffffff !important;
      text-decoration: none !important;
      box-shadow: 0 4px 12px rgba(0,61,165,.2) !important;
      transition: background .15s, transform .15s;
    }
    .art table .next-step-btn:hover, .table-wrap .next-step-btn:hover, td .next-step-btn:hover {
      background: var(--blue-d, #00297a) !important;
      transform: translateY(-1px);
    }
    .art table td:has(.next-step-btn), .table-wrap td:has(.next-step-btn), td[data-col="cta"] {
      min-width: 210px !important;
    }
