.rc-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  color: #1f2a37;
  font-size: 1.02rem;
  line-height: 1.65;
}
.rc-wrapper h2 {
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  color: #1d2d50;
}
.rc-section h2 {
  text-align: center;
}
.rc-section p,
.rc-section ul,
.rc-section .rc-highlight {
  text-align: center;
}
.rc-wrapper h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  color: #243861;
  text-align: center;
}
.rc-wrapper p {
  margin-bottom: 1rem;
}
.rc-hero {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid #e0e7f3;
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
}
.rc-hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rc-hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5f6f89;
}
.rc-hero-text h2 {
  margin: 0;
  font-size: 2.1rem;
  color: #182848;
}
.rc-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d6e1f7;
  background: #eef3fb;
  min-height: 240px;
  display: flex;
}
.rc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rc-section {
  margin-top: 3.2rem;
}
.rc-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.rc-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e4eaf6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 12px 36px rgba(17, 42, 92, 0.06);
  text-align: center;
  align-items: center;
}
.rc-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f4ff 0%, #dfe7ff 100%);
  border: 1px solid #c7d4f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f4fb5;
  font-size: 1.4rem;
  box-shadow: 0 8px 22px rgba(33, 61, 128, 0.12);
}
.rc-highlight {
  margin-top: 2.6rem;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid #4f6fc1;
  border-radius: 16px;
  background: #f4f6fc;
  color: #243861;
  box-shadow: inset 0 0 8px rgba(79, 111, 193, 0.08);
}
.rc-cta {
  margin-top: 3.4rem;
  padding: 2.6rem 2rem;
  border-radius: 22px;
  border: 1px solid #dce4f7;
  background: linear-gradient(135deg, #f7f9ff 0%, #edf2ff 65%, #e7ecfb 100%);
  color: #1f2a37;
  display: grid;
  gap: 1.2rem;
  text-align: center;
  align-items: center;
  box-shadow: 0 16px 42px rgba(20, 45, 98, 0.12);
  position: relative;
  overflow: hidden;
}
.rc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(209, 180, 105, 0.12), rgba(88, 122, 194, 0.14));
  pointer-events: none;
}
.rc-cta h2 {
  text-align: center;
}
.rc-cta p {
  text-align: center;
}
.rc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #203b88 0%, #2f4fb5 100%);
  color: #f6f8ff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  justify-self: center;
}
.rc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 42, 92, 0.28);
}
.rc-button--ghost {
  background: transparent;
  color: #2b447f;
  border: 1px solid #c9d6f3;
  box-shadow: none;
}
.rc-button[disabled] {
  opacity: 0.6;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.rc-diagnostic {
  display: grid;
  gap: 1rem;
}
.rc-diagnostic-form {
  display: grid;
  gap: 1rem;
}
.rc-diagnostic-result[hidden],
#rcDiagnosticForm[hidden],
.rc-step[hidden] {
  display: none !important;
}
.rc-progress {
  display: grid;
  gap: 0.6rem;
}
.rc-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e0e7f7;
  overflow: hidden;
}
.rc-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #203b88 0%, #4b6fd6 100%);
  transition: width 0.3s ease;
}
.rc-step {
  display: grid;
  gap: 0.9rem;
  padding: 1.6rem;
  border-radius: 14px;
  border: 1px solid #d6dff2;
  background: #f9faff;
  box-shadow: 0 6px 18px rgba(21, 48, 108, 0.08);
}
.rc-step-count {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6679a6;
}
.rc-option-group {
  display: grid;
  gap: 0.6rem;
}
.rc-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #d6dff2;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rc-option:hover {
  border-color: #97ade4;
  box-shadow: 0 4px 14px rgba(33, 61, 128, 0.08);
}
.rc-option input {
  margin-top: 0.25rem;
  accent-color: #2f4fb5;
}
.rc-option span {
  font-weight: 500;
  color: #243861;
}
.rc-step input[type="text"] {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  border: 1px solid #d6dff2;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rc-step input[type="text"]:focus {
  outline: none;
  border-color: #2f4fb5;
  box-shadow: 0 0 0 3px rgba(47, 79, 181, 0.15);
}
.rc-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.rc-step-actions .rc-button {
  flex: 1 1 auto;
  min-width: 180px;
}
.rc-step-error {
  margin: 0;
  color: #b43d3d;
  font-size: 0.9rem;
}
.rc-diagnostic-result {
  display: grid;
  gap: 1.1rem;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid #dce4f7;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 48, 108, 0.12);
}
.rc-dossier {
  display: grid;
  gap: 1.1rem;
}
.rc-dossier div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #f7f9ff;
  border: 1px solid #dce4f7;
}
.rc-dossier dt {
  font-weight: 600;
  color: #1d2d50;
}
.rc-dossier dd {
  margin: 0;
  color: #40506d;
}
.rc-success {
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  background: #e3f7ed;
  border: 1px solid #b8e4c7;
  color: #1f5131;
  font-weight: 600;
}
.rc-result-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .rc-wrapper {
    padding: 2.4rem 1.2rem 3.2rem;
  }
  .rc-hero {
    padding: 2rem;
  }
  .rc-step {
    padding: 1.4rem;
  }
  .rc-step-actions .rc-button {
    flex: 1 1 100%;
  }
}
