:root {
  --cd-ink: #18232d;
  --cd-muted: #5d6b78;
  --cd-soft: #eef1f4;
  --cd-paper: #ffffff;
  --cd-canvas: #f6f7f8;
  --cd-dark: #0b1118;
  --cd-line: #d9e0e5;
  --cd-gold: #c88a20;
  --cd-gold-dark: #85590e;
  --cd-teal: #0c7b70;
  --cd-coral: #b94f3e;
  --cd-success: #13724d;
  --cd-danger: #a83c35;
  --cd-shadow: 0 20px 60px rgba(24, 35, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.courtier-digital-page {
  margin: 0;
  background: var(--cd-canvas);
  color: var(--cd-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

.courtier-digital-page a,
.courtier-digital-page button,
.courtier-digital-page input {
  font: inherit;
  letter-spacing: 0;
}

.courtier-digital-page a {
  color: inherit;
}

.courtier-digital-page button,
.courtier-digital-page label {
  -webkit-tap-highlight-color: transparent;
}

.cd-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  color: #f8f5ec;
  background: rgba(11, 17, 24, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.cd-brand > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #261a08;
  background: #e0ad4d;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.cd-brand strong {
  font-size: 18px;
}

.cd-nav > nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cd-nav > nav a {
  color: #c9d1d9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.cd-nav > nav a:hover,
.cd-nav > nav a:focus-visible {
  color: #ffffff;
}

.cd-nav-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #231706;
  background: #e0ad4d;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.cd-breadcrumb {
  width: min(1180px, calc(100% - 40px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #687580;
  font-size: 13px;
}

.cd-breadcrumb a {
  color: var(--cd-gold-dark);
  font-weight: 700;
  text-decoration: none;
}

.cd-hero {
  position: relative;
  min-height: min(620px, calc(100svh - 108px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #081220;
  background-image: url("/static/img/og/og-meilleur-courtier.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 9999px rgba(4, 11, 20, 0.42);
}

.cd-hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 76px;
  display: grid;
  justify-items: end;
  text-align: left;
}

.cd-hero-content > * {
  width: min(650px, 56%);
}

.cd-eyebrow {
  margin: 0 0 10px;
  color: var(--cd-gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.cd-hero .cd-eyebrow {
  color: #f0c36b;
}

.cd-hero h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1.03;
  font-weight: 850;
  text-wrap: balance;
  letter-spacing: 0;
}

.cd-lead {
  margin: 24px 0 0;
  color: #dce4eb;
  font-size: 20px;
  line-height: 1.55;
}

.cd-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cd-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.cd-button:hover {
  transform: translateY(-1px);
}

.cd-button:focus-visible,
.cd-segments input:focus-visible + span,
.cd-callback input:focus-visible {
  outline: 3px solid rgba(12, 123, 112, 0.28);
  outline-offset: 2px;
}

.cd-button-primary {
  color: #211605;
  background: #e2ad49;
  border-color: #e2ad49;
}

.cd-button-primary:hover {
  background: #efbd5a;
  border-color: #efbd5a;
}

.cd-button-secondary {
  color: var(--cd-ink);
  background: var(--cd-paper);
  border-color: #bfc9d2;
}

.cd-hero .cd-button-secondary {
  color: #ffffff;
  background: rgba(8, 16, 25, 0.72);
  border-color: rgba(255, 255, 255, 0.42);
}

.cd-proof-list {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  color: #d8e1e8;
  font-size: 14px;
}

.cd-proof-list li::before {
  content: "✓";
  margin-right: 7px;
  color: #63cbbf;
  font-weight: 900;
}

.cd-hero-person {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  background: rgba(5, 12, 20, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.cd-hero-person img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.cd-hero-person div {
  display: grid;
}

.cd-hero-person strong {
  font-size: 14px;
}

.cd-hero-person span {
  color: #b8c4ce;
  font-size: 12px;
}

.cd-definition,
.cd-scorecredit,
.cd-sources {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.cd-definition {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
  padding: 50px 0;
}

.cd-definition h2,
.cd-section-heading h2,
.cd-scorecredit h2,
.cd-sources h2 {
  margin: 0;
  color: var(--cd-ink);
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: 0;
}

.cd-definition > p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 19px;
  line-height: 1.65;
}

.cd-tool-band {
  padding: 72px max(20px, calc((100% - 1180px) / 2));
  background: var(--cd-paper);
  border-top: 1px solid var(--cd-line);
  border-bottom: 1px solid var(--cd-line);
}

.cd-section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.cd-section-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--cd-muted);
  font-size: 17px;
}

.cd-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 32px;
  padding: 30px;
  background: #fbfcfc;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  box-shadow: var(--cd-shadow);
}

.cd-orientation-form {
  display: grid;
  gap: 24px;
}

.cd-orientation-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cd-orientation-form legend {
  margin-bottom: 10px;
  color: #394753;
  font-size: 14px;
  font-weight: 800;
}

.cd-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cd-segments-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cd-segments label {
  min-width: 0;
  cursor: pointer;
}

.cd-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cd-segments span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  color: #43515d;
  background: #ffffff;
  border: 1px solid #cad3da;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.cd-segments input:checked + span {
  color: #075a52;
  background: #e7f4f1;
  border-color: #3e9e94;
  box-shadow: inset 0 0 0 1px #3e9e94;
}

.cd-submit {
  width: 100%;
}

.cd-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cd-result {
  align-self: stretch;
  padding: 6px 0 6px 28px;
  border-left: 4px solid var(--cd-teal);
}

.cd-result h3,
.cd-callback h3 {
  margin: 0;
  color: var(--cd-ink);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

.cd-result > p:not(.cd-eyebrow):not(.cd-disclaimer) {
  margin: 13px 0 0;
  color: var(--cd-muted);
}

.cd-result ol {
  margin: 20px 0;
  padding-left: 22px;
  color: #34424e;
}

.cd-result li + li {
  margin-top: 8px;
}

.cd-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.cd-result-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: #075a52;
  background: #e8f4f2;
  border: 1px solid #9bc9c3;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.cd-disclaimer {
  margin: 0 0 18px;
  color: #6b7781;
  font-size: 12px;
}

.cd-status {
  margin: 4px 0 0;
  padding: 10px 12px;
  color: #34424e;
  background: #eef2f5;
  border-left: 3px solid #758493;
  font-size: 13px;
}

.cd-status[data-state="error"] {
  color: #7d2824;
  background: #fbecea;
  border-color: var(--cd-danger);
}

.cd-callback {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, 0.45fr) minmax(210px, 0.65fr) auto;
  align-items: end;
  gap: 14px;
  padding: 24px;
  background: #edf4f3;
  border: 1px solid #b9d4d0;
  border-radius: 8px;
}

.cd-callback > div p:last-child {
  margin: 8px 0 0;
  color: var(--cd-muted);
  font-size: 13px;
}

.cd-callback label {
  display: grid;
  gap: 6px;
  color: #394753;
  font-size: 13px;
  font-weight: 800;
}

.cd-callback label span {
  color: #74818c;
  font-weight: 500;
}

.cd-callback input {
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--cd-ink);
  background: #ffffff;
  border: 1px solid #aebbc4;
  border-radius: 6px;
}

.cd-callback .cd-status {
  grid-column: 1 / -1;
}

.cd-success {
  margin-top: 24px;
  padding: 20px 24px;
  color: #0d573b;
  background: #e7f5ed;
  border: 1px solid #9dcbb2;
  border-radius: 8px;
}

.cd-success p {
  margin: 5px 0 0;
}

.cd-comparison {
  padding: 76px max(20px, calc((100% - 1180px) / 2));
}

.cd-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cd-line);
  border-radius: 8px;
  background: var(--cd-paper);
}

.cd-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.cd-table-wrap th,
.cd-table-wrap td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--cd-line);
  text-align: left;
  vertical-align: top;
}

.cd-table-wrap thead th {
  color: #ffffff;
  background: #17232d;
  font-size: 14px;
}

.cd-table-wrap tbody th {
  width: 20%;
  color: #26343f;
  background: #f0f3f5;
}

.cd-table-wrap tbody td {
  width: 40%;
  color: var(--cd-muted);
}

.cd-table-wrap tr:last-child th,
.cd-table-wrap tr:last-child td {
  border-bottom: 0;
}

.cd-scorecredit {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 68px;
  align-items: center;
  padding: 70px 0;
}

.cd-scorecredit-copy > p:not(.cd-eyebrow) {
  margin: 16px 0 0;
  color: var(--cd-muted);
  font-size: 17px;
}

.cd-method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cbd4db;
}

.cd-method-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid #cbd4db;
}

.cd-method-list strong {
  color: var(--cd-teal);
}

.cd-method-list span {
  color: var(--cd-muted);
}

.cd-sources {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding: 58px 0 70px;
  border-top: 1px solid #cfd7dd;
}

.cd-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cd-sources li + li {
  margin-top: 10px;
}

.cd-sources a {
  color: #08685f;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cd-sources > p {
  grid-column: 2;
  margin: -36px 0 0;
  color: #73808a;
  font-size: 12px;
}

.cd-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 34px max(20px, calc((100% - 1180px) / 2));
  color: #c6ced5;
  background: var(--cd-dark);
  border-top: 3px solid var(--cd-gold);
}

.cd-footer > div {
  display: grid;
}

.cd-footer strong {
  color: #ffffff;
}

.cd-footer span,
.cd-footer p {
  font-size: 12px;
}

.cd-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.cd-footer nav a {
  color: #dbe1e6;
  font-size: 13px;
  text-decoration: none;
}

.cd-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #8c98a3;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .cd-nav {
    gap: 18px;
    padding: 0 20px;
  }

  .cd-nav > nav {
    display: none;
  }

  .cd-nav-action {
    justify-self: end;
  }

  .cd-hero h1 {
    font-size: 44px;
  }

  .cd-hero-content > * {
    width: min(650px, 68%);
  }

  .cd-callback {
    grid-template-columns: 1fr 1fr;
  }

  .cd-callback > div,
  .cd-callback .cd-status {
    grid-column: 1 / -1;
  }

  .cd-callback .cd-button {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .cd-hero {
    min-height: 620px;
    background-position: 38% center;
    box-shadow: inset 0 0 0 9999px rgba(4, 11, 20, 0.66);
  }

  .cd-hero-content {
    padding: 38px 0 100px;
    justify-items: start;
  }

  .cd-hero-content > * {
    width: min(650px, 100%);
  }

  .cd-hero h1 {
    font-size: 40px;
  }

  .cd-lead {
    font-size: 18px;
  }

  .cd-definition,
  .cd-scorecredit,
  .cd-sources {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cd-tool {
    grid-template-columns: 1fr;
  }

  .cd-result {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 4px solid var(--cd-teal);
  }

  .cd-sources > p {
    grid-column: 1;
    margin: 0;
  }

  .cd-footer {
    grid-template-columns: 1fr;
  }

  .cd-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .cd-nav {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    padding: 0 14px;
  }

  .cd-brand strong {
    font-size: 16px;
  }

  .cd-brand > span {
    width: 32px;
    height: 32px;
  }

  .cd-nav-action {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .cd-breadcrumb,
  .cd-definition,
  .cd-scorecredit,
  .cd-sources,
  .cd-hero-content {
    width: min(100% - 28px, 1180px);
  }

  .cd-hero {
    min-height: 650px;
  }

  .cd-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .cd-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cd-hero-actions .cd-button {
    width: 100%;
    padding-inline: 10px;
    font-size: 13px;
  }

  .cd-proof-list {
    gap: 6px 12px;
    font-size: 12px;
  }

  .cd-hero-person {
    right: 14px;
    left: 14px;
    bottom: 20px;
  }

  .cd-definition {
    min-height: 0;
    padding: 44px 0;
  }

  .cd-definition h2,
  .cd-section-heading h2,
  .cd-scorecredit h2,
  .cd-sources h2 {
    font-size: 30px;
  }

  .cd-tool-band,
  .cd-comparison {
    padding: 50px 14px;
  }

  .cd-tool {
    gap: 28px;
    padding: 18px;
  }

  .cd-segments,
  .cd-segments-four,
  .cd-callback {
    grid-template-columns: 1fr;
  }

  .cd-callback {
    padding: 18px;
  }

  .cd-callback > div,
  .cd-callback .cd-status {
    grid-column: 1;
  }

  .cd-scorecredit {
    padding: 52px 0;
  }

  .cd-table-wrap {
    overflow: visible;
  }

  .cd-table-wrap table,
  .cd-table-wrap tbody,
  .cd-table-wrap tr,
  .cd-table-wrap th,
  .cd-table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .cd-table-wrap thead {
    display: none;
  }

  .cd-table-wrap tbody th {
    padding: 14px 16px;
    color: #ffffff;
    background: #17232d;
    border-bottom: 0;
  }

  .cd-table-wrap tbody td {
    padding: 13px 16px;
  }

  .cd-table-wrap tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--cd-teal);
    font-size: 12px;
    font-weight: 850;
  }

  .cd-table-wrap tbody tr + tr th {
    border-top: 6px solid var(--cd-canvas);
  }

  .cd-method-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cd-sources {
    padding: 48px 0 56px;
  }

  .cd-footer {
    padding: 28px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cd-button {
    transition: none;
  }
}
