/*!
 * Relief — Contrôle technique de la communication.
 * Reprend les codes du formulaire de contact (rcf-) et de la charte Relief.
 */

.rct {
  --rct-navy: #160F5A;
  --rct-navy-2: #3B2F9E;
  --rct-text: #0E0B26;
  --rct-muted: #6E6D7D;
  --rct-line: #D3D1E0;
  --rct-light: #F6F6FA;
  --rct-light-2: #EEEEF4;
  --rct-white: #FFFFFF;
  --rct-yellow: #F7C619;
  --rct-yellow-soft: #FEF4D3;
  --rct-yellow-ink: #C99700;
  --rct-pink: #EF3966;
  --rct-pink-soft: #FCD9E2;
  --rct-teal: #2AC4AD;
  --rct-teal-soft: #E3F5F2;
  --rct-teal-ink: #1E9E8B;
  --rct-navy-soft: #D3D1E0;
  --rct-radius: 16px;
  --rct-ease: cubic-bezier(.22, .61, .36, 1);
  --rct-font: "Stack Sans Headline", var(--relief-font-headline, system-ui), -apple-system, "Segoe UI", sans-serif;
  --rct-font-2: "Epilogue", var(--relief-font-secondary, system-ui), sans-serif;

  position: relative;
  container: rct / inline-size;
  scroll-margin-top: var(--rct-offset-top, 110px);
  font-family: var(--rct-font);
  color: var(--rct-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.rct *, .rct *::before, .rct *::after { box-sizing: border-box; }
.rct [hidden] { display: none !important; }
.rct svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rct button { font-family: inherit; }
.rct-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Coquille ----------------------------------------------------------- */
.rct-shell {
  /* Carte grise façon héros Relief : les surfaces intérieures passent en blanc. */
  --rct-light: #FFFFFF;
  --rct-light-2: #E8E8F0;
  position: relative;
  background: #F6F6FA;
  border-radius: 32px;
  padding: clamp(24px, 4.5vw, 56px);
}
.rct-shell > .rct-screen { max-width: 1240px; margin-left: auto; margin-right: auto; }
/* Placé dans une section « relief-hero-under-header » : l'en-tête du site se superpose au haut de la carte. */
.relief-hero-under-header .rct-shell { padding: 150px 94px 80px; }
@media (max-width: 1024px) { .relief-hero-under-header .rct-shell { padding: 120px 40px 56px; } }
@media (max-width: 767px) { .relief-hero-under-header .rct-shell { padding: 104px 20px 32px; border-radius: 24px; } }

/* Couleurs utilitaires ---------------------------------------------- */
.rct .rct-c-pink { background: var(--rct-pink-soft); color: var(--rct-pink); }
.rct .rct-c-yellow { background: var(--rct-yellow-soft); color: var(--rct-yellow-ink); }
.rct .rct-c-teal { background: var(--rct-teal-soft); color: var(--rct-teal-ink); }
.rct .rct-c-navy { background: var(--rct-navy-soft); color: var(--rct-navy); }
.rct-bg-teal { background: var(--rct-teal); }
.rct-bg-pink { background: var(--rct-pink); }

/* Typographie commune ----------------------------------------------- */
.rct-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  font-family: var(--rct-font-2); font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--rct-navy);
}
.rct-kicker__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--rct-yellow-soft); color: var(--rct-yellow-ink);
}
.rct-kicker__icon svg { width: 16px; height: 16px; }

/* Boutons ------------------------------------------------------------ */
.rct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 26px; border: 0; border-radius: 12px;
  font-family: var(--rct-font-2); font-weight: 700; font-size: 14px; letter-spacing: .5px; line-height: 1; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--rct-ease), opacity .2s;
}
.rct-btn svg { width: 17px; height: 17px; transition: transform .25s var(--rct-ease); }
.rct-btn--primary { background: var(--rct-navy); color: var(--rct-yellow); }
.rct-btn--primary:hover, .rct-btn--primary:focus-visible { background: var(--rct-yellow); color: var(--rct-navy); }
.rct-btn:hover svg { transform: translateX(3px); }
.rct-btn:active { transform: scale(.985); }
.rct-btn:focus-visible, .rct-back:focus-visible, .rct-link:focus-visible, .rct-quit:focus-visible { outline: 2px solid var(--rct-navy); outline-offset: 3px; }
.rct-btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
.rct-btn--block { width: 100%; }
.rct-btn.is-loading svg { animation: rctNudge .8s var(--rct-ease) infinite; }
.rct-link {
  padding: 8px 2px; border: 0; background: none; cursor: pointer;
  font-family: var(--rct-font-2); font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--rct-muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rct-line);
}
.rct-link:hover { color: var(--rct-navy); }

/* ==================================================================== */
/* Introduction (héros)                                                 */
/* ==================================================================== */
.rct-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .95fr) minmax(0, .58fr);
  grid-template-areas: "head visual dial" "body visual badges";
  grid-template-rows: auto 1fr;
  gap: 0 clamp(20px, 3vw, 44px); align-items: center;
}
.rct-intro__head { grid-area: head; align-self: end; }
.rct-intro__body { grid-area: body; align-self: start; }
.rct-badges { grid-area: badges; align-self: start; }
.rct-visual { grid-area: visual; }
.rct-intro > .rct-dial { grid-area: dial; align-self: end; justify-self: start; }

.rct-kicker--soft { font-weight: 400; font-size: 14px; color: var(--rct-muted); margin-bottom: 18px; }
.rct-kicker--soft .rct-kicker__icon { width: 24px; height: 24px; border-radius: 50%; }
.rct-kicker--soft .rct-kicker__icon svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.rct-intro__title {
  margin: 0 0 22px;
  font-family: var(--rct-font); font-weight: 700;
  font-size: clamp(30px, 4.4cqi, 56px); line-height: 1; letter-spacing: -1.2px;
  color: var(--rct-navy);
}
.rct-intro__title span { display: block; color: #A7A5B8; }
.rct-intro__lead { margin: 0 0 30px; max-width: 32em; font-size: 16px; line-height: 1.55; color: var(--rct-muted); font-weight: 400; }
.rct-intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.rct-or { font-family: var(--rct-font-2); font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--rct-muted); }
.rct-talk {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  border-bottom: 1.5px solid var(--rct-navy);
  font-family: var(--rct-font-2); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; text-decoration: none !important;
  color: var(--rct-navy) !important;
}
.rct-talk svg { width: 15px; height: 15px; transition: transform .25s var(--rct-ease); }
.rct-talk:hover svg { transform: translateX(3px); }
.rct-resume { flex-basis: 100%; text-align: left; }

.rct-badges { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 0; list-style: none; }
.rct-badges li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; font-weight: 500; color: var(--rct-text); }
.rct-badge__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; }
.rct-badge__icon svg { width: 18px; height: 18px; }
.rct-short { display: none; }

/* Pages du bilan */
.rct-visual { position: relative; width: 100%; aspect-ratio: 1 / 1.2; }
.rct-sheet { position: absolute; width: 68%; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px rgba(22, 15, 90, .14), 0 2px 6px rgba(22, 15, 90, .06); }
.rct-sheet img { display: block; width: 100%; height: auto; margin: 0; max-width: none; }
.rct-sheet--1 { left: 0; top: 0; transform: rotate(-2deg); animation: rctFloat 8s ease-in-out infinite; }
.rct-sheet--2 { right: 0; top: 26%; width: 62%; transform: rotate(2.5deg); animation: rctFloat 8s ease-in-out -4s infinite; }

/* Cadran « Mon score com' » */
.rct-dial {
  width: 150px; padding: 16px 16px 10px; border-radius: 16px;
  background: var(--rct-white);
  box-shadow: 0 20px 50px rgba(22, 15, 90, .12);
  transform: rotate(4deg);
  animation: rctFloat 7s ease-in-out -2s infinite;
}
.rct-dial__svg { display: block; width: 100%; height: auto; stroke-width: 9; }
.rct-dial__track { fill: none; stroke: var(--rct-light-2); stroke-width: 9; }
.rct-dial__fill { fill: none; stroke: var(--rct-yellow); stroke-width: 9; stroke-dasharray: 72 100; animation: rctDialFill 6s var(--rct-ease) infinite; }
.rct-dial__needle { transform-origin: 60px 62px; transform: rotate(40deg); animation: rctNeedle 6s var(--rct-ease) infinite; }
.rct-dial__needle line { stroke: var(--rct-navy); stroke-width: 3; }
.rct-dial__needle circle { fill: var(--rct-navy); stroke: none; }
.rct-dial__caption { display: block; margin-top: 6px; font-family: var(--rct-font-2); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rct-muted); text-align: center; }

/* Bouton contour (démarrage) */
.rct-btn--outline { padding: 15px 22px; gap: 10px; border: 1.5px solid var(--rct-navy); background: transparent; color: var(--rct-navy); }
.rct-btn--outline .rct-btn__lead { width: 18px; height: 18px; }
.rct-btn--outline:hover .rct-btn__lead { transform: none; }

.rct-light { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--rct-line); }
.rct-light--ok { background: var(--rct-teal); }
.rct-light--watch { background: var(--rct-yellow); }
.rct-light--watch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--rct-yellow); opacity: 0; animation: rctPing 2.2s ease-out infinite; }

/* ==================================================================== */
/* Questions                                                            */
/* ==================================================================== */
.rct-shell > .rct-run, .rct-shell > .rct-calc { max-width: 760px; margin: 0 auto; }
.rct-head { margin-bottom: 34px; }
.rct-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px;
  font-family: var(--rct-font-2); font-size: 12px; letter-spacing: .6px; text-transform: uppercase;
}
.rct-count { color: var(--rct-navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.rct-theme { display: inline-flex; align-items: center; gap: 8px; color: var(--rct-muted); text-align: right; font-weight: 700; }
.rct-theme__icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; }
.rct-theme__icon svg { width: 13px; height: 13px; }
.rct-progress { height: 6px; border-radius: 99px; background: var(--rct-light-2); overflow: hidden; }
.rct-progress__bar {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--rct-navy) 0%, var(--rct-navy-2) 70%, var(--rct-yellow) 140%);
  transition: width .6s var(--rct-ease);
}

.rct-step { outline: none; }
.rct-step.is-entering { animation: rctIn .45s var(--rct-ease) both; }
.rct-step.is-entering-back { animation: rctInBack .45s var(--rct-ease) both; }
.rct-question { margin: 0; padding: 0; border: 0; min-width: 0; }
.rct-title {
  display: block; width: 100%; float: none; margin: 0 0 10px; padding: 0;
  font-family: var(--rct-font); font-weight: 700;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.12; letter-spacing: -.6px;
  color: var(--rct-navy); outline: none;
}
.rct-def {
  display: flex; align-items: flex-start; gap: 12px; margin: 14px 0 6px; padding: 14px 16px; border-radius: 14px;
  background: var(--rct-yellow-soft); font-family: var(--rct-font-2); font-size: 14px; line-height: 1.55; color: var(--rct-text);
}
.rct-def__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rct-white); color: var(--rct-yellow-ink); }
.rct-def__icon svg { width: 16px; height: 16px; }
.rct-help { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--rct-muted); }
.rct-question .rct-cards { margin-top: 24px; }

.rct-cards { display: grid; gap: 10px; }
.rct-cards--one { grid-template-columns: 1fr; }
.rct-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rct-cards--rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rct-card {
  position: relative; display: flex; align-items: center; gap: 14px;
  margin: 0; padding: 16px 18px;
  border: 1.5px solid transparent; border-radius: var(--rct-radius);
  background: var(--rct-light);
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, background-color .2s, transform .2s var(--rct-ease), box-shadow .2s;
  animation: rctCard .4s var(--rct-ease) both; animation-delay: calc(var(--i, 0) * 40ms + 80ms);
}
.rct-card:hover { border-color: var(--rct-line); background: var(--rct-white); }
.rct-card:active { transform: scale(.985); }
.rct-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.rct-card:has(.rct-input:focus-visible) { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rct-navy); }
.rct-card:has(.rct-input:checked) { border-color: var(--rct-navy); background: var(--rct-white); box-shadow: 0 10px 26px rgba(22, 15, 90, .08); }
.rct-card.is-picked { animation: rctPicked .32s var(--rct-ease) both; }
.rct-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rct-card__label { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--rct-text); }
.rct-card__desc { font-size: 13px; line-height: 1.4; color: var(--rct-muted); }
.rct-card__mark {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border: 1.5px solid var(--rct-line); background: var(--rct-white); color: transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--rct-ease);
}
.rct-card__mark--radio { border-radius: 50%; }
.rct-card__mark--checkbox { border-radius: 7px; }
.rct-card__mark svg { width: 12px; height: 12px; stroke-width: 3.2; }
.rct-card:has(.rct-input:checked) .rct-card__mark { background: var(--rct-navy); border-color: var(--rct-navy); color: var(--rct-yellow); transform: scale(1.06); }
.rct-card--exclusive { grid-column: 1 / -1; background: transparent; border: 1.5px dashed var(--rct-line); }
.rct-card--exclusive:has(.rct-input:checked) { border-style: solid; }

/* Grille Oui / Peut mieux faire / Non */
.rct-matrix { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.rct-matrix__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 18px;
  padding: 12px 12px 12px 18px; border-radius: var(--rct-radius); background: var(--rct-light);
  animation: rctCard .4s var(--rct-ease) both; animation-delay: calc(var(--i, 0) * 50ms + 80ms);
}
.rct-matrix__label { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--rct-text); }
.rct-matrix__label small { font-size: 12.5px; font-weight: 400; color: var(--rct-muted); }
.rct-matrix__choices { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--rct-white); border: 1px solid var(--rct-light-2); }
.rct-seg { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rct-seg span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; color: var(--rct-muted); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.rct-seg:hover span { color: var(--rct-navy); background: var(--rct-light); }
.rct-seg:has(.rct-input:checked) span { background: var(--rct-navy); color: var(--rct-yellow); }
.rct-seg--mieux:has(.rct-input:checked) span { background: var(--rct-yellow); color: var(--rct-navy); }
.rct-seg--non:has(.rct-input:checked) span { background: var(--rct-pink); color: var(--rct-white); }
.rct-seg:has(.rct-input:focus-visible) span { outline: 2px solid var(--rct-navy); outline-offset: 2px; }

/* Cartes riches (question 1) */
.rct-card--rich { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 168px; padding: 20px; }
.rct-card--rich .rct-card__label { font-size: 17px; letter-spacing: -.2px; padding-right: 26px; }
.rct-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; transition: transform .3s var(--rct-ease); }
.rct-card__icon svg { width: 22px; height: 22px; }
.rct-card--pink .rct-card__icon { background: var(--rct-pink-soft); color: var(--rct-pink); }
.rct-card--yellow .rct-card__icon { background: var(--rct-yellow-soft); color: var(--rct-yellow-ink); }
.rct-card--teal .rct-card__icon { background: var(--rct-teal-soft); color: var(--rct-teal-ink); }
.rct-card--navy .rct-card__icon { background: var(--rct-navy-soft); color: var(--rct-navy); }
.rct-card--rich:hover .rct-card__icon, .rct-card--rich:has(.rct-input:checked) .rct-card__icon { transform: scale(1.06); }
.rct-card__check {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--rct-line); background: var(--rct-white); color: transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.rct-card__check svg { width: 13px; height: 13px; stroke-width: 3; }
.rct-card:has(.rct-input:checked) .rct-card__check { background: var(--rct-navy); border-color: var(--rct-navy); color: var(--rct-yellow); }

.rct-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rct-light-2);
}
.rct-nav--center { justify-content: center; border-top: 0; }
.rct-back {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 4px; border: 0; background: none; cursor: pointer;
  font-family: var(--rct-font-2); font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--rct-muted);
  transition: color .2s;
}
.rct-back svg { width: 16px; height: 16px; transition: transform .25s var(--rct-ease); }
.rct-back:hover { color: var(--rct-navy); }
.rct-back:hover svg { transform: translateX(-3px); }
.rct-next { margin-left: auto; padding: 16px 24px; font-size: 13px; }

/* ==================================================================== */
/* Analyse                                                              */
/* ==================================================================== */
.rct-calc { padding: 40px 0 30px; text-align: center; }
.rct-calc__dial { width: 180px; margin: 0 auto 22px; }
.rct-calc__dial svg { display: block; width: 100%; height: auto; }
.rct-calc__sweep { fill: none; stroke: var(--rct-navy); stroke-width: 9; stroke-dasharray: 0 100; animation: rctSweep 1.8s var(--rct-ease) forwards; }
.rct-calc__title { margin: 0 0 22px; font-size: 24px; font-weight: 700; color: var(--rct-navy); letter-spacing: -.4px; }
.rct-calc__list { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rct-calc__list li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--rct-muted); animation: rctLabel .4s var(--rct-ease) both; animation-delay: var(--d); }
.rct-calc__list .rct-light { animation: rctLightOn .3s var(--rct-ease) forwards; animation-delay: calc(var(--d) + 250ms); }

/* ==================================================================== */
/* Résultat                                                             */
/* ==================================================================== */
.rct-result__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "score preview" "form form";
  gap: clamp(32px, 4vw, 48px) clamp(28px, 5vw, 64px); align-items: center;
}
.rct-result__score { grid-area: score; animation: rctIn .5s var(--rct-ease) both; }
.rct-result__form { grid-area: form; animation: rctIn .5s var(--rct-ease) .15s both; }
.rct-pv { grid-area: preview; animation: rctRise .7s var(--rct-ease) .25s both; }
.rct-result__title {
  margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.04; letter-spacing: -1px; color: var(--rct-navy); outline: none;
}
.rct-result__title span { color: var(--rct-muted); }
.rct-gauge { position: relative; width: min(300px, 100%); margin: 6px 0 4px; }
.rct-gauge__svg { display: block; width: 100%; height: auto; stroke-width: 1; }
.rct-gauge__track { fill: none; stroke: var(--rct-light-2); stroke-width: 14; }
.rct-gauge__fill { fill: none; stroke-width: 14; stroke-dasharray: 0 100; }
.rct-gauge__ticks line { stroke: var(--rct-line); stroke-width: 1.5; }
.rct-gauge__end { fill: var(--rct-muted); stroke: none; font-family: var(--rct-font-2); font-size: 10px; font-weight: 700; }
.rct-gauge__value { position: absolute; left: 0; right: 0; bottom: 8%; display: flex; align-items: baseline; justify-content: center; gap: 2px; color: var(--rct-navy); }
.rct-gauge__value strong { font-size: clamp(52px, 6vw, 68px); line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.rct-gauge__value span { font-size: 17px; font-weight: 700; color: var(--rct-muted); }
.rct-gauge.is-done .rct-gauge__value strong { animation: rctBump .5s var(--rct-ease); }
.rct-band {
  display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 10px; padding: 8px 14px 8px 12px; border-radius: 99px;
  background: var(--rct-yellow-soft); color: var(--rct-text); font-weight: 700; font-size: 15px;
}
.rct-band::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rct-yellow); }
.rct-result__msg { margin: 0 0 10px; font-size: 17px; line-height: 1.55; color: var(--rct-text); }
.rct-scale { margin: 0; font-size: 13px; line-height: 1.5; color: var(--rct-muted); }

/* Formulaire */
.rct-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4px 40px; padding: clamp(22px, 3.5vw, 40px); border-radius: 22px; background: var(--rct-light); }
.rct-form__intro { grid-column: 1; grid-row: 1 / span 4; }
.rct-form__fields, .rct-consent, .rct-error, .rct-form__foot { grid-column: 2; }
.rct-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rct-form__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.rct-restart { display: block; margin: 18px auto 0; }
.rct-form__title { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -.3px; color: var(--rct-navy); }
.rct-form__lead { margin: 0 0 20px; font-size: 15px; color: var(--rct-muted); }
.rct-field { margin: 0 0 16px; }
.rct-field label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 700; color: var(--rct-text); }
.rct .rct-field input {
  width: 100%; height: 52px; padding: 0 16px; margin: 0;
  border: 1.5px solid var(--rct-line); border-radius: 12px; background: var(--rct-white);
  font-family: var(--rct-font); font-size: 16px; color: var(--rct-text); box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}
.rct .rct-field input:focus { outline: none; border-color: var(--rct-navy); box-shadow: 0 0 0 3px rgba(22, 15, 90, .12); }
.rct-field.is-invalid input { border-color: #F6A3B8; }
.rct-field__hint { margin: 7px 0 0; font-size: 13px; line-height: 1.4; color: var(--rct-muted); }
.rct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rct-consent { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 18px; font-size: 14px; line-height: 1.45; color: var(--rct-text); cursor: pointer; }
.rct-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rct-consent .rct-card__mark { margin-top: 1px; }
.rct-consent em { font-style: normal; color: var(--rct-muted); }
.rct-consent:has(input:checked) .rct-card__mark { background: var(--rct-navy); border-color: var(--rct-navy); color: var(--rct-yellow); }
.rct-consent:has(input:focus-visible) .rct-card__mark { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rct-navy); }
.rct-error { margin: 0; max-height: 0; overflow: hidden; font-size: 14px; color: #C4204A; transition: max-height .25s, margin .25s; }
.rct-error.is-visible { max-height: 80px; margin: 0 0 14px; }
.rct-legal { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--rct-muted); }
.rct-legal a { color: var(--rct-navy); }

/* Aperçu partiel du bilan */
.rct-preview__paper {
  position: relative; overflow: hidden; border-radius: 20px; background: var(--rct-white);
  box-shadow: 0 30px 70px rgba(22, 15, 90, .14), 0 2px 6px rgba(22, 15, 90, .05);
  transform: rotate(1.2deg);
}
.rct-preview__head { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px 22px; background: linear-gradient(120deg, var(--rct-navy) 0%, var(--rct-text) 100%); }
.rct-preview__company { font-size: 22px; font-weight: 700; line-height: 1.15; color: var(--rct-white); letter-spacing: -.3px; overflow-wrap: anywhere; }
.rct-preview__date { font-size: 12px; color: var(--rct-navy-soft); }
.rct-preview__body { padding: 22px 26px 120px; }
.rct-preview__score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin-bottom: 18px; color: var(--rct-navy); }
.rct-preview__score strong { font-size: 44px; line-height: 1; letter-spacing: -1.5px; }
.rct-preview__score span { font-size: 14px; font-weight: 700; color: var(--rct-muted); margin-left: -8px; }
.rct-preview__score em { flex-basis: 100%; font-style: normal; font-size: 13px; font-weight: 700; color: var(--rct-text); }
.rct-preview__label { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; font-family: var(--rct-font-2); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rct-navy); }
.rct-preview__label span { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 6px; background: var(--rct-light-2); font-size: 10px; letter-spacing: 0; }
.rct-preview__strength { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 700; }
.rct-preview__strength i { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.rct-preview__list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.rct-preview__item { display: flex; gap: 12px; align-items: flex-start; }
.rct-preview__num { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; background: var(--rct-pink); color: #fff; font-size: 11px; font-weight: 700; line-height: 22px; text-align: center; }
.rct-preview__lines { display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; min-width: 0; }
.rct-preview__lines b { display: block; height: 8px; border-radius: 9px; background: var(--rct-light-2); filter: blur(1.5px); }
.rct-chip { align-self: flex-start; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.rct-preview__lock {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 70px 20px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .92) 45%, #fff 100%);
  font-size: 14px; font-weight: 700; color: var(--rct-navy);
}
.rct-preview__lock-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--rct-navy); color: var(--rct-yellow); }
.rct-preview__lock-icon svg { width: 16px; height: 16px; }

/* Aperçu du bilan (reprend la page 1 du PDF) */
.rct-pv__paper {
  position: relative; overflow: hidden; max-width: 460px; margin-left: auto; border-radius: 12px; background: var(--rct-white);
  box-shadow: 0 30px 70px rgba(22, 15, 90, .14), 0 2px 6px rgba(22, 15, 90, .05);
  transform: rotate(1.2deg);
}
.rct-pv__top { position: relative; z-index: 1; padding: 24px 26px 14px; background: var(--rct-white); }
.rct-pv__brand { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.rct-pv__brand img { display: block; width: 96px; height: auto; margin: 0; }
.rct-pv__num { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; font-weight: 700; color: var(--rct-navy); line-height: 1.1; }
.rct-pv__num small, .rct-pv__cards small, .rct-pv__id small { font-family: var(--rct-font-2); font-size: 8.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rct-muted); margin-bottom: 4px; }
.rct-pv__kicker { margin: 0 0 4px; font-family: var(--rct-font-2); font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rct-pink); }
.rct-pv__title { margin: 0 0 16px; font-size: 22px; font-weight: 700; line-height: 1.05; letter-spacing: -.4px; color: var(--rct-navy); }
.rct-pv__title span { display: block; color: var(--rct-muted); }
.rct-pv__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.rct-pv__cards span, .rct-pv__id { display: flex; flex-direction: column; padding: 9px 12px; border: 1px solid var(--rct-light-2); border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--rct-text); }
.rct-pv__id { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
.rct-pv__id > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.rct-pv__id strong { font-size: 16px; color: var(--rct-navy); overflow-wrap: anywhere; }
.rct-pv__id em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--rct-muted); }
.rct-pv__score { display: flex; align-items: baseline; gap: 1px; color: var(--rct-navy); }
.rct-pv__score strong { font-size: 34px; line-height: 1; letter-spacing: -1px; }
.rct-pv__score span { font-size: 12px; font-weight: 700; color: var(--rct-muted); }
.rct-pv__score { flex: 0 0 auto; white-space: nowrap; }
.rct-pv__actions { padding: 6px 26px 90px; }
.rct-pv__bar { margin: 0 0 14px; padding: 7px 12px; border-radius: 7px 7px 0 0; background: var(--rct-navy); font-family: var(--rct-font-2); font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rct-white); }
.rct-pv__list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; filter: blur(4.5px); user-select: none; pointer-events: none; }
.rct-pv__list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.rct-pv__n { flex: 0 0 auto; font-size: 22px; font-weight: 700; line-height: 1; color: var(--rct-pink); }
.rct-pv__txt { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.rct-pv__txt b { font-size: 13px; color: var(--rct-navy); }
.rct-pv__txt em { align-self: flex-start; padding: 2px 8px; border-radius: 99px; background: var(--rct-yellow-soft); font-style: normal; font-size: 10px; font-weight: 700; }
.rct-pv__txt i { display: block; height: 7px; border-radius: 9px; background: var(--rct-light-2); }
.rct-pv__txt i + i { width: 70%; }
.rct-pv__lock {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 80px 20px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .9) 50%, #fff 100%);
  font-size: 14px; font-weight: 700; color: var(--rct-navy); text-align: center;
}

/* Erreur et envoi terminé */
.rct-error-box { max-width: 560px; margin: 30px auto; text-align: center; }
.rct-done__inner { max-width: 600px; margin: 0 auto; padding: 30px 0; text-align: center; }
.rct-done__badge {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 50%; background: var(--rct-navy); color: var(--rct-yellow);
  animation: rctPopBig .6s cubic-bezier(.34, 1.56, .64, 1) .1s both;
}
.rct-done__badge svg { width: 28px; height: 28px; stroke-width: 2.4; }
.rct-done__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 26px; }

/* ==================================================================== */
/* Animations                                                           */
/* ==================================================================== */
@keyframes rctIn { 0% { opacity: 0; transform: translate3d(18px, 0, 0); } 100% { opacity: 1; transform: none; } }
@keyframes rctInBack { 0% { opacity: 0; transform: translate3d(-18px, 0, 0); } 100% { opacity: 1; transform: none; } }
@keyframes rctCard { 0% { opacity: 0; transform: translate3d(0, 10px, 0); } 100% { opacity: 1; transform: none; } }
@keyframes rctPicked { 0% { transform: scale(1); } 45% { transform: scale(.975); } 100% { transform: scale(1); } }
@keyframes rctFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rctRise { 0% { opacity: 0; transform: translate3d(0, 24px, 0); } 100% { opacity: 1; transform: none; } }
@keyframes rctFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes rctPop { 0% { opacity: 0; transform: scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes rctPopBig { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }
@keyframes rctPing { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes rctNeedle { 0%, 100% { transform: rotate(-50deg); } 45%, 70% { transform: rotate(38deg); } }
@keyframes rctDialFill { 0%, 100% { stroke-dasharray: 22 100; } 45%, 70% { stroke-dasharray: 71 100; } }
@keyframes rctSweep { to { stroke-dasharray: 100 100; } }
@keyframes rctLabel { 0% { opacity: 0; transform: translate3d(0, 6px, 0); } 100% { opacity: 1; transform: none; } }
@keyframes rctLightOn { to { background: var(--rct-teal); box-shadow: 0 0 0 4px var(--rct-teal-soft); } }
@keyframes rctBump { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes rctNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* ==================================================================== */
/* Responsive                                                           */
/* ==================================================================== */
/* Héros : tablette et mobile */
@container rct (max-width: 980px) {
  .rct-intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "badges" "body" "visual";
    grid-template-rows: none;
  }
  .rct-intro__head { align-self: auto; }
  .rct-badges { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 22px; }
  .rct-badges li { gap: 10px; font-size: 14px; }
  .rct-badge__icon { width: 32px; height: 32px; border-radius: 9px; }
  .rct-badge__icon svg { width: 16px; height: 16px; }
  .rct-long { display: none; }
  .rct-short { display: inline; }
  .rct-visual { max-width: 440px; margin: 40px auto 0; }
  .rct-intro > .rct-dial { grid-area: visual; align-self: start; justify-self: end; z-index: 2; margin: 14px -4px 0 0; width: 140px; }
}
@container rct (max-width: 640px) {
  .rct-intro__title { font-size: clamp(26px, 9.2cqi, 44px); margin-bottom: 18px; letter-spacing: -.8px; }
  .rct-badges { gap: 8px 10px; }
  .rct-badges li { font-size: 12px; gap: 6px; white-space: nowrap; }
  .rct-badge__icon { width: 22px; height: 22px; border-radius: 7px; }
  .rct-badge__icon svg { width: 13px; height: 13px; }
  .rct-intro__lead { font-size: 15px; }
  .rct-or, .rct-talk { display: none; }
  .rct-intro .rct-btn--outline { padding: 14px 18px; font-size: 13px; white-space: nowrap; }
  .rct-visual { margin-top: 30px; }
  .rct-intro > .rct-dial { width: 112px; padding: 12px 12px 8px; margin-top: 8px; }
  .rct-dial__caption { font-size: 7.5px; }
}

@container rct (max-width: 1000px) {
  .rct-cards--rich { grid-template-columns: 1fr; }
  .rct-card--rich { flex-direction: row; align-items: center; min-height: 0; padding: 16px 52px 16px 16px; }
  .rct-card--rich .rct-card__check { top: 50%; transform: translateY(-50%); }
  .rct-card--rich .rct-card__label { padding-right: 0; }
}
@container rct (max-width: 860px) {
  .rct-result__grid { grid-template-columns: 1fr; grid-template-areas: "score" "preview" "form"; }
  .rct-pv__paper { margin: 0 auto; }
  .rct-form { grid-template-columns: 1fr; }
  .rct-form__intro, .rct-form__fields, .rct-consent, .rct-error, .rct-form__foot { grid-column: 1; grid-row: auto; }
}
@container rct (max-width: 640px) {
  .rct-shell { border-radius: 22px; padding: 26px 20px; }
  .rct-form__fields { grid-template-columns: 1fr; }
  .rct-form__foot .rct-btn { width: 100%; }
  .rct-pv__top { padding: 18px 18px 10px; }
  .rct-pv__title { font-size: 19px; }
  .rct-pv__actions { padding: 4px 18px 84px; }
  .rct-pv__id strong { font-size: 15px; }
  .rct-pv__score strong { font-size: 28px; }
  .rct-cards--two { grid-template-columns: 1fr; }
  .rct-card { padding: 15px 16px; }
  .rct-matrix__row { grid-template-columns: 1fr; padding: 14px; }
  .rct-matrix__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rct-seg span { width: 100%; padding: 0 6px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.15; }
  .rct-card--rich { padding-right: 52px; }
  .rct-card__label { font-size: 15px; }
  .rct-head { margin-bottom: 26px; }
  .rct-theme { font-size: 11px; }
  .rct-form { padding: 20px 18px; }
}

/* Mobile : la navigation reste visible, au-dessus de la barre basse du site. */
@media (max-width: 767px) {
  /* Collée en bas seulement quand il y a un bouton Continuer (choix multiples, grilles). */
  .rct-run .rct-nav:has(.rct-next:not([hidden])) {
    position: sticky; bottom: calc(var(--rct-offset-bottom, 86px) + env(safe-area-inset-bottom, 0px)); z-index: 4;
    margin: 22px -8px 0; padding: 12px;
    border-top: 0; border-radius: 16px; background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(22, 15, 90, .14);
  }
  .rct-run .rct-next { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .rct * { animation: none !important; transition: none !important; }
  .rct-calc__sweep { stroke-dasharray: 100 100; }
  .rct-calc__list .rct-light { background: var(--rct-teal); }
}

/* ==================================================================== */
/* Verrou des boutons : le thème (OceanWP) colore button[type=submit],  */
/* .button et leurs états en bleu. On impose les couleurs Relief.        */
/* ==================================================================== */
.rct .rct-btn.rct-btn--primary,
.rct .rct-btn.rct-btn--primary:visited,
.rct button.rct-btn.rct-btn--primary[type="submit"] {
  background: var(--rct-navy) !important; background-image: none !important; color: var(--rct-yellow) !important;
  border: 0 !important; box-shadow: none !important; text-shadow: none !important; outline-color: var(--rct-navy);
}
.rct .rct-btn.rct-btn--primary:hover,
.rct .rct-btn.rct-btn--primary:focus,
.rct .rct-btn.rct-btn--primary:focus-visible,
.rct .rct-btn.rct-btn--primary:active,
.rct button.rct-btn.rct-btn--primary[type="submit"]:hover,
.rct button.rct-btn.rct-btn--primary[type="submit"]:focus,
.rct button.rct-btn.rct-btn--primary[type="submit"]:active {
  background: var(--rct-yellow) !important; color: var(--rct-navy) !important;
}
.rct .rct-btn.rct-btn--primary:focus:not(:focus-visible) { background: var(--rct-navy) !important; color: var(--rct-yellow) !important; }
.rct .rct-btn.rct-btn--primary:focus:not(:focus-visible):hover { background: var(--rct-yellow) !important; color: var(--rct-navy) !important; }
.rct .rct-btn.rct-btn--primary[disabled],
.rct .rct-btn.rct-btn--primary[disabled]:hover { background: var(--rct-navy) !important; color: var(--rct-yellow) !important; }
.rct .rct-btn.rct-btn--primary .rct-btn__label,
.rct .rct-btn.rct-btn--primary svg { color: inherit !important; }
.rct button.rct-back, .rct button.rct-link,
.rct button.rct-back:hover, .rct button.rct-link:hover,
.rct button.rct-back:focus, .rct button.rct-link:focus,
.rct button.rct-back:active, .rct button.rct-link:active {
  background: transparent !important; background-image: none !important; border: 0 !important; box-shadow: none !important;
}
.rct button.rct-back, .rct button.rct-link { color: var(--rct-muted) !important; }
.rct button.rct-back:hover, .rct button.rct-link:hover,
.rct button.rct-back:focus-visible, .rct button.rct-link:focus-visible { color: var(--rct-navy) !important; }
.rct .rct-btn.rct-btn--outline,
.rct .rct-btn.rct-btn--outline:focus:not(:focus-visible) {
  background: transparent !important; background-image: none !important; color: var(--rct-navy) !important;
  border: 1.5px solid var(--rct-navy) !important; box-shadow: none !important;
}
.rct .rct-btn.rct-btn--outline:hover,
.rct .rct-btn.rct-btn--outline:focus-visible,
.rct .rct-btn.rct-btn--outline:active,
.rct .rct-btn.rct-btn--outline:focus:not(:focus-visible):hover { background: var(--rct-navy) !important; color: var(--rct-yellow) !important; }
