/* Lot « compte » : inscription, connexion, mot de passe oublié.
   Mise en page de type application : carte formulaire claire, colonne sombre animée à côté sur ordinateur.
   Pensé mobile d'abord. Animations en transform et opacity uniquement, coupées si l'on demande moins d'animations. */

/* La barre collante « Créer mon compte » n'a pas sa place sur ces pages */
.stickybar { display: none !important; }
@media (max-width: 760px) { body { padding-bottom: 0; } }

.cpt { display: grid; gap: 14px; margin-top: 10px; padding-bottom: var(--gap-section); }
.cpt__main { min-width: 0; }
.cpt-wide { width: 100%; }
.btn.cpt-wide, .cpt-next { white-space: normal; text-align: center; line-height: 1.25; }
.cpt-flip { transform: rotate(180deg); }
.btn:hover .cpt-flip { transform: rotate(180deg) translateX(4px); }

/* ---------- Carte formulaire ---------- */
.cpt-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: clip; padding: 0 16px 16px; }
.cpt-card--pad { padding: 22px 16px 16px; }
.js .cpt-card { animation: cptCard .7s var(--ease) both; }
@keyframes cptCard { from { opacity: 0; transform: translateY(18px) scale(.985); } }

/* Barre de progression : un trait qui s'allonge en scaleX, avec un reflet qui la parcourt */
.cpt-progress { position: relative; height: 5px; margin: 0 -16px; background: var(--brand-50); overflow: hidden; }
.cpt-progress__bar { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(.14); background: linear-gradient(90deg, var(--brand-600), var(--brand) 60%, var(--glow)); transition: transform .8s var(--ease); }
.cpt-progress__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .75), transparent); transform: translateX(-100%); animation: cptShine 2.6s var(--ease) infinite 1s; }
@keyframes cptShine { 0%, 40% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.cpt-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-top: 4px; }
.cpt-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: -10px; padding: 0 12px 0 10px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.cpt-back svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .3s var(--ease); }
.cpt-back:hover svg { transform: rotate(180deg) translateX(3px); }
.cpt-count { margin-left: auto; flex: none; white-space: nowrap; display: flex; align-items: baseline; gap: 6px; font: 500 12px var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.cpt-count b { color: var(--brand-600); font-weight: 500; }
.cpt-count b:not(:empty)::before { content: "· "; color: var(--ink-3); }

.cpt-restore { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.cpt-restore svg { width: 18px; height: 18px; color: var(--brand-600); }
.cpt-restore span { flex: 1; }
.cpt-restore button { flex: none; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--brand-700); font-weight: 700; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Étapes ---------- */
.cpt-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.cpt-step--center { text-align: center; }
.cpt-title { font-size: 27px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); outline: none; }
.cpt-title:focus, .cpt-title:focus-visible { outline: none; }
.cpt-sub { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.cpt-sub b { color: var(--ink); white-space: nowrap; }
.cpt-step > .cpt-sub, .cpt-pane > .cpt-sub, .cpt-card--pad > .cpt-sub { margin-bottom: 18px; }

/* Entrée d'une étape : glisse depuis la droite (ou la gauche au retour), éléments en cascade */
.js .cpt-step.is-enter > *, .js .cpt-step.is-enter-back > *, .js .cpt-pane.is-enter > * { animation: cptIn .55s var(--ease) both; }
.js .cpt-step.is-enter-back > * { animation-name: cptInBack; }
.js .cpt-step > :nth-child(2), .js .cpt-pane > :nth-child(2) { animation-delay: .03s; }
.js .cpt-step > :nth-child(3), .js .cpt-pane > :nth-child(3) { animation-delay: .06s; }
.js .cpt-step > :nth-child(4), .js .cpt-pane > :nth-child(4) { animation-delay: .09s; }
.js .cpt-step > :nth-child(5), .js .cpt-pane > :nth-child(5) { animation-delay: .12s; }
.js .cpt-step > :nth-child(6), .js .cpt-pane > :nth-child(6) { animation-delay: .15s; }
.js .cpt-step > :nth-child(n+7), .js .cpt-pane > :nth-child(n+7) { animation-delay: .18s; }
@keyframes cptIn { from { opacity: 0; transform: translateX(26px); } }
@keyframes cptInBack { from { opacity: 0; transform: translateX(-26px); } }

/* ---------- Champs ---------- */
.cpt-form { display: grid; gap: 0; }
.cpt-field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.cpt-field--gap { margin-top: 18px; }
.cpt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.cpt-field label, .cpt-label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.cpt-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cpt-forgot { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; color: var(--brand-600); font-weight: 600; font-size: 14px; text-decoration: none; }
.cpt-forgot:hover { text-decoration: underline; text-underline-offset: 3px; }
.cpt-hint { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.cpt-hint--center { text-align: center; margin-bottom: 14px; }

/* Le contour de focus est un calque qui apparaît en opacité, pas une couleur animée */
.cpt-ctl { position: relative; display: block; }
.cpt-ctl::after { content: ""; position: absolute; inset: -1px; border-radius: 15px; border: 2px solid var(--brand); box-shadow: 0 0 0 4px rgb(1 141 166 / .15); opacity: 0; pointer-events: none; transform: scale(.985); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.cpt-ctl:focus-within::after { opacity: 1; transform: none; }
.cpt-input { display: block; width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid #cfe3e8; border-radius: 14px; background: var(--bg); color: var(--ink); font: 500 16.5px/1.3 var(--sans); -webkit-appearance: none; appearance: none; }
.cpt-input::placeholder { color: #94a3b8; opacity: 1; }
.cpt-input:focus { outline: none; background: #fff; }
.cpt-input--mono { font-family: var(--mono); letter-spacing: .08em; }
.cpt-input[aria-invalid="true"] { border-color: #e5484d; background: #fff7f7; }
.cpt-ctl--pw .cpt-input { padding-right: 56px; }
.cpt-eye { position: absolute; z-index: 1; right: 4px; top: 50%; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--ink-3); }
.cpt-eye svg { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity .25s, transform .35s var(--ease); }
.cpt-eye__off { opacity: 0; transform: scale(.6) rotate(-20deg); }
.cpt-eye[aria-pressed="true"] .cpt-eye__on { opacity: 0; transform: scale(.6) rotate(20deg); }
.cpt-eye[aria-pressed="true"] .cpt-eye__off { opacity: 1; transform: none; }
.cpt-eye:hover { color: var(--brand-600); }
.cpt-search .cpt-input { padding-left: 46px; }
.cpt-search__i { position: absolute; left: 15px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-3); pointer-events: none; }

/* Erreurs sous chaque champ */
.cpt-err { display: none; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: #b42318; }
.cpt-err.is-on { display: block; }
.cpt-err.is-pop { animation: cptErr .4s var(--ease) both; }
.cpt-err--center { text-align: center; margin-top: 10px; }
@keyframes cptErr { from { opacity: 0; transform: translateY(-5px); } }
.is-shake { animation: cptShake .45s var(--ease); }
@keyframes cptShake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* Indicateur de force du mot de passe : quatre segments qui s'allument en scaleX */
.cpt-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 2px; }
.cpt-meter i { height: 5px; border-radius: 999px; background: #e4eef1; position: relative; overflow: hidden; }
.cpt-meter i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c, #e5484d); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.cpt-meter i.is-on::after { transform: scaleX(1); }
.cpt-meter i:nth-child(2)::after { transition-delay: .05s; } .cpt-meter i:nth-child(3)::after { transition-delay: .1s; } .cpt-meter i:nth-child(4)::after { transition-delay: .15s; }
.cpt-meter[data-score="0"] { --c: #e5484d; } .cpt-meter[data-score="1"] { --c: #f59e0b; } .cpt-meter[data-score="2"] { --c: #84cc16; } .cpt-meter[data-score="3"], .cpt-meter[data-score="4"] { --c: #10a37f; }

/* Cases à cocher */
.cpt-check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 2px; cursor: pointer; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); font-weight: 500; }
.cpt-check input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; left: 2px; top: 9px; cursor: pointer; }
.cpt-check__box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #b9d6dd; background: #fff; display: grid; place-items: center; position: relative; overflow: hidden; }
.cpt-check__box::before { content: ""; position: absolute; inset: 0; background: var(--brand-600); transform: scale(0); border-radius: 6px; transition: transform .3s var(--ease); }
.cpt-check__box svg { position: relative; width: 16px; height: 16px; color: #fff; transform: scale(0) rotate(-25deg); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1) .05s; }
.cpt-check input:checked + .cpt-check__box::before { transform: scale(1); }
.cpt-check input:checked + .cpt-check__box svg { transform: none; }
.cpt-check input:focus-visible + .cpt-check__box { outline: 3px solid var(--brand); outline-offset: 3px; }
.cpt-check input[aria-invalid="true"] + .cpt-check__box { border-color: #e5484d; }
.cpt-check a { color: var(--brand-600); font-weight: 700; }
.cpt-check--soft { color: var(--ink-3); font-size: 14px; margin-bottom: 4px; }

/* ---------- Métiers ---------- */
.cpt-metiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cpt-metier { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 92px; padding: 12px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; isolation: isolate; overflow: hidden; transition: transform .3s var(--ease); }
.cpt-metier::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--brand-50), #e2f3f6); opacity: 0; transition: opacity .3s; }
.cpt-metier:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(1 141 166 / .12); }
.cpt-metier:has(input:checked)::before { opacity: 1; }
.cpt-metier:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.cpt-metier:not(.is-soon):active { transform: scale(.97); }
.cpt-metier__i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.cpt-metier__i svg { width: 23px; height: 23px; }
.cpt-metier:has(input:checked) .cpt-metier__i { background: var(--brand-600); color: #fff; transform: rotate(-6deg) scale(1.06); }
.cpt-metier__n { flex: 1; min-width: 0; font-family: var(--display); font-weight: 700; font-size: 15.5px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.cpt-metier__ok { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-600); color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.cpt-metier__ok svg { width: 12px; height: 12px; }
.cpt-metier:has(input:checked) .cpt-metier__ok { transform: none; }
.cpt-soon-k { margin: 18px 0 8px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cpt-soons { display: flex; flex-wrap: wrap; gap: 6px; }
.cpt-soon { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 7px 6px 11px; border-radius: 999px; border: 1.5px dashed #c9dbe0; background: #f6f9fa; color: var(--ink-3); font-size: 14px; font-weight: 600; cursor: not-allowed; }
.cpt-soon > svg { width: 18px; height: 18px; }
.cpt-pill { padding: 2px 7px; border-radius: 999px; background: #fff4e5; color: #8a5300; border: 1px solid #ffd9a3; font: 500 12px/1.4 var(--mono); letter-spacing: .02em; }
.cpt-soon-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.cpt-soon-note a { color: var(--brand-600); font-weight: 700; }

/* ---------- Spécialités ---------- */
.cpt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 -4px; padding: 4px; }
.cpt-chip { position: relative; cursor: pointer; min-width: 0; max-width: 100%; }
.cpt-chip span { display: inline-flex; align-items: center; gap: 0; min-height: 44px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.25; transition: transform .25s var(--ease); }
.cpt-chip svg { width: 0; height: 16px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.cpt-chip input:checked + span { background: var(--brand-600); border-color: var(--brand-600); color: #fff; gap: 6px; }
.cpt-chip input:checked + span svg { width: 16px; opacity: 1; transform: none; }
.cpt-chip input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.cpt-chip:active span { transform: scale(.95); }
.js .cpt-step.is-enter .cpt-chip { animation: cptChip .45s var(--ease) both; animation-delay: calc(var(--k, 0) * 22ms + .1s); }
@keyframes cptChip { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.cpt-specs-count { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.cpt-specs-count b { color: var(--brand-600); font-family: var(--display); font-size: 17px; }

/* ---------- Zone ---------- */
.cpt-row--zone { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.cpt-zone { display: flex; align-items: center; gap: 16px; margin: 4px 0 12px; padding: 12px 14px; border-radius: 18px; background: var(--night); color: #fff; overflow: hidden; }
.cpt-radar { position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%; }
.cpt-radar__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgb(159 227 238 / .35); }
.cpt-radar__ring + .cpt-radar__ring { inset: 22%; }
.cpt-radar__zone { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(159 227 238 / .5), rgb(1 141 166 / .25) 70%, rgb(1 141 166 / 0)); border: 1.5px solid var(--glow); transform: scale(.46); transition: transform .7s cubic-bezier(.34, 1.4, .64, 1); }
.cpt-radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgb(159 227 238 / .45), transparent 25%); animation: rot 4s linear infinite; mask: radial-gradient(closest-side, #000 98%, transparent); -webkit-mask: radial-gradient(closest-side, #000 98%, transparent); }
.cpt-radar__pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -24px 0 0 -13px; color: #fff; animation: cptPin 2.4s ease-in-out infinite; }
.cpt-radar__pin svg { width: 26px; height: 26px; }
@keyframes cptPin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.cpt-zone__txt { min-width: 0; }
.cpt-zone__k { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--glow); }
.cpt-zone__v { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.cpt-zone__s { font-size: 13.5px; color: rgb(255 255 255 / .72); margin-top: 2px; overflow-wrap: anywhere; }
.cpt-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cpt-opt { position: relative; cursor: pointer; min-width: 0; }
.cpt-opt span { display: grid; place-items: center; min-height: 48px; padding: 6px 4px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14.5px; text-align: center; line-height: 1.2; color: var(--ink-2); transition: transform .25s var(--ease); }
.cpt-opt input:checked + span { background: var(--night); border-color: var(--night); color: #fff; animation: cptPop .4s cubic-bezier(.34, 1.56, .64, 1); }
.cpt-opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.cpt-opt:active span { transform: scale(.95); }
@keyframes cptPop { 40% { transform: scale(1.06); } }

/* ---------- Formules ---------- */
.cpt-plans { display: grid; gap: 10px; }
.cpt-plan { position: relative; cursor: pointer; display: block; }
.cpt-plan__in { display: block; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: transform .3s var(--ease); }
.cpt-plan:active .cpt-plan__in { transform: scale(.985); }
.cpt-plan input:checked + .cpt-plan__in { border-color: var(--brand); background: linear-gradient(135deg, #fff, var(--brand-50)); box-shadow: 0 0 0 3px rgb(1 141 166 / .12), var(--shadow); }
.cpt-plan input:focus-visible + .cpt-plan__in { outline: 3px solid var(--brand); outline-offset: 2px; }
.cpt-plan__head { display: flex; align-items: center; gap: 12px; }
.cpt-plan__head > span:first-child { flex: 1; min-width: 0; display: grid; }
.cpt-plan__head small { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cpt-plan__head b { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cpt-plan__price { min-width: 84px; text-align: right; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); display: grid; line-height: 1.1; }
.cpt-plan__price small { font: 500 12px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink-3); margin-top: 2px; }
.cpt-plan__price.is-tbc { font: 600 13.5px var(--sans); color: #8a5300; background: #fff4e5; border: 1px solid #ffd9a3; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.cpt-plan__radio { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #b9d6dd; display: grid; place-items: center; position: relative; overflow: hidden; }
.cpt-plan__radio::before { content: ""; position: absolute; inset: 0; background: var(--brand-600); border-radius: 50%; transform: scale(0); transition: transform .3s var(--ease); }
.cpt-plan__radio svg { position: relative; width: 15px; height: 15px; color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1) .05s; }
.cpt-plan input:checked + .cpt-plan__in .cpt-plan__radio::before, .cpt-plan input:checked + .cpt-plan__in .cpt-plan__radio svg { transform: none; }
.cpt-plan ul { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 5px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.cpt-plan li { display: flex; gap: 8px; align-items: flex-start; }
.cpt-plan li svg { width: 16px; height: 16px; margin-top: 1px; color: var(--brand-600); }

/* ---------- Code SMS ---------- */
.cpt-badge { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; margin: 6px auto 16px; border-radius: 18px; background: linear-gradient(135deg, var(--brand-600), var(--brand)); color: #fff; box-shadow: 0 16px 30px -14px rgb(1 141 166 / .9); animation: cptBadge .8s cubic-bezier(.34, 1.56, .64, 1) both; }
.cpt-card--pad > .cpt-badge { margin: 0 0 16px; }
.cpt-badge svg { width: 28px; height: 28px; }
.cpt-badge i { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--brand); opacity: 0; animation: cptPing 2.6s ease-out infinite 1s; }
@keyframes cptPing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes cptBadge { from { opacity: 0; transform: scale(.5) rotate(-12deg); } }
.cpt-otp { display: flex; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.cpt-otp__box { width: 60px; height: 68px; padding: 0; border: 1.5px solid #cfe3e8; border-radius: 16px; background: var(--bg); text-align: center; font: 500 28px var(--mono); color: var(--ink); -webkit-appearance: none; appearance: none; caret-color: var(--brand); }
.cpt-otp__box:focus { outline: 3px solid var(--brand); outline-offset: 2px; background: #fff; }
.cpt-otp__box.is-full { border-color: var(--brand); background: #fff; animation: cptPop .35s cubic-bezier(.34, 1.56, .64, 1); }
.cpt-otp[aria-invalid="true"] .cpt-otp__box, .cpt-step:has(#e-token.is-on) .cpt-otp__box:not(.is-full) { border-color: #e5484d; }
.cpt-otp__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 6px; }
.cpt-link { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--brand-600); font-weight: 700; font-size: 14.5px; }
.cpt-link:disabled { color: var(--ink-3); cursor: default; font-weight: 600; }
.cpt-mock { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 14px 0 6px; padding: 10px 12px; border-radius: 12px; background: #f1f5f9; color: var(--ink-2); font-size: 13.5px; line-height: 1.4; text-align: left; }
.cpt-mock svg { width: 17px; height: 17px; margin-top: 1px; color: var(--ink-3); }
.cpt-mock.is-pop { animation: cptErr .45s var(--ease) both; }

/* ---------- Offre : première demande offerte ---------- */
.cpt-gift { position: relative; isolation: isolate; overflow: hidden; margin: 2px 0 14px; padding: 22px 18px 20px; border-radius: 20px; background: var(--night); color: #fff; text-align: center; }
.cpt-gift .cpt-title { color: #fff; font-size: 26px; }
.cpt-gift .cpt-sub { color: rgb(255 255 255 / .8); }
.cpt-gift__glow { position: absolute; z-index: -1; left: 50%; top: -60px; width: 320px; height: 320px; margin-left: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 208 138 / .4), transparent); animation: cptGlow 4s ease-in-out infinite; }
@keyframes cptGlow { 50% { transform: scale(1.15); opacity: .7; } }
.cpt-gift__i { position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #ffd08a; color: #4a2c00; box-shadow: 0 18px 34px -14px rgb(255 208 138 / .9); animation: cptBadge .8s cubic-bezier(.34, 1.56, .64, 1) both, giftWiggle 3.2s ease-in-out infinite 1.4s; }
.cpt-gift__i svg { width: 32px; height: 32px; }
.cpt-gift__spark { position: absolute; left: 50%; top: 54px; width: 0; height: 0; }
.cpt-gift__spark i { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #ffd08a; opacity: 0; animation: cptSpark 2.6s var(--ease) infinite; }
.cpt-gift__spark i:nth-child(1) { --tx: -54px; --ty: -18px; } .cpt-gift__spark i:nth-child(2) { --tx: 56px; --ty: -24px; animation-delay: .5s; } .cpt-gift__spark i:nth-child(3) { --tx: -46px; --ty: 22px; animation-delay: 1s; background: var(--glow); } .cpt-gift__spark i:nth-child(4) { --tx: 50px; --ty: 20px; animation-delay: 1.5s; background: var(--glow); }
@keyframes cptSpark { 0% { opacity: 0; transform: none; } 20% { opacity: 1; } 70%, 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.4); } }
.cpt-gift__k { margin: 14px 0 6px; font: 500 12.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #ffd08a; }
.cpt-stripe { display: grid; gap: 12px; }
.cpt-stripe__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cpt-stripe__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.cpt-stripe__list li > svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: var(--brand-50); color: var(--brand-600); }
.cpt-stripe__list b { display: block; color: var(--ink); font-size: 15px; }
.cpt-stripe__plan { padding: 10px 12px; border-radius: 12px; background: var(--brand-50); color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.cpt-stripe .btn { white-space: normal; text-align: center; line-height: 1.25; }
.cpt-later { justify-self: center; min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--ink-2); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.cpt-later:hover { color: var(--brand-600); }

/* ---------- Fin ---------- */
.cpt-done { position: relative; width: 120px; height: 120px; margin: 14px auto 16px; display: grid; place-items: center; }
.cpt-done__badge { position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-600), var(--brand) 55%, var(--glow)); color: #fff; box-shadow: 0 22px 40px -18px rgb(1 141 166 / .95); transform: scale(0) rotate(-20deg); }
.cpt-done__badge svg { width: 44px; height: 44px; transform: scale(0); }
.cpt-done__ring { position: absolute; inset: 10px; border-radius: 34px; border: 2px solid var(--brand); opacity: 0; }
.cpt-done__burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.cpt-done__burst i { position: absolute; width: 8px; height: 14px; margin: -7px -4px; border-radius: 3px; background: var(--brand); opacity: 0; }
.cpt-done__burst i:nth-child(3n) { background: var(--glow); } .cpt-done__burst i:nth-child(3n+1) { background: #ffd08a; }
.cpt-done__burst i:nth-child(1) { --tx: 0; --ty: -86px; --r: 20deg; } .cpt-done__burst i:nth-child(2) { --tx: 44px; --ty: -74px; --r: 70deg; } .cpt-done__burst i:nth-child(3) { --tx: 76px; --ty: -42px; --r: 120deg; } .cpt-done__burst i:nth-child(4) { --tx: 88px; --ty: 2px; --r: 160deg; } .cpt-done__burst i:nth-child(5) { --tx: 74px; --ty: 46px; --r: 210deg; } .cpt-done__burst i:nth-child(6) { --tx: 40px; --ty: 76px; --r: 250deg; } .cpt-done__burst i:nth-child(7) { --tx: -4px; --ty: 88px; --r: 300deg; } .cpt-done__burst i:nth-child(8) { --tx: -46px; --ty: 74px; --r: 340deg; } .cpt-done__burst i:nth-child(9) { --tx: -78px; --ty: 42px; --r: 30deg; } .cpt-done__burst i:nth-child(10) { --tx: -88px; --ty: -4px; --r: 80deg; } .cpt-done__burst i:nth-child(11) { --tx: -74px; --ty: -46px; --r: 130deg; } .cpt-done__burst i:nth-child(12) { --tx: -40px; --ty: -78px; --r: 180deg; }
.cpt-step.is-go .cpt-done__badge { animation: cptDoneBadge .9s cubic-bezier(.34, 1.56, .64, 1) .1s forwards; }
.cpt-step.is-go .cpt-done__badge svg { animation: cptDoneCheck .6s cubic-bezier(.34, 1.56, .64, 1) .55s forwards; }
.cpt-step.is-go .cpt-done__ring { animation: cptDoneRing 2.4s ease-out .5s infinite; }
.cpt-step.is-go .cpt-done__ring--2 { animation-delay: 1.3s; }
.cpt-step.is-go .cpt-done__burst i { animation: cptBurst 1.1s var(--ease) .45s forwards; }
@keyframes cptDoneBadge { to { transform: none; } }
@keyframes cptDoneCheck { to { transform: none; } }
@keyframes cptDoneRing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes cptBurst { 0% { opacity: 1; transform: scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(1); } }
.cpt-recap { margin: 18px 0 16px; padding: 4px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); text-align: left; }
.cpt-recap div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); }
.cpt-recap div:first-child { border-top: 0; }
.cpt-step.is-go .cpt-recap div { animation: cptIn .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 70ms + .7s); }
.cpt-recap dt { display: inline-flex; align-items: center; gap: 8px; flex: 0 1 auto; max-width: 50%; font-size: 14px; color: var(--ink-3); }
.cpt-recap dt svg { width: 17px; height: 17px; color: var(--brand-600); }
.cpt-recap dd { margin: 0; flex: 1 1 50%; min-width: 0; text-align: right; font-weight: 700; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .cpt-recap div { flex-direction: column; align-items: stretch; gap: 3px; }
  .cpt-recap dt { max-width: none; }
  .cpt-recap dd { flex: none; text-align: left; padding-left: 25px; }
}

/* ---------- Pied de carte : bouton principal collé en bas de l'écran sur mobile ---------- */
.cpt-foot { position: sticky; bottom: 0; z-index: 3; display: grid; gap: 4px; margin: 6px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.cpt-next { width: 100%; }
.cpt-foot__alt { text-align: center; font-size: 14.5px; color: var(--ink-3); }
.cpt-foot__alt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-600); font-weight: 700; text-decoration: none; }
.cpt-foot__alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Connexion et mot de passe oublié ---------- */
.cpt-alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 11px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; font-weight: 600; animation: cptErr .45s var(--ease) both; }
.cpt-alert svg { width: 18px; height: 18px; margin-top: 1px; }
.cpt-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cpt-alert--err { background: #fff1f1; color: #b42318; border: 1px solid #fecaca; }
.cpt-card--pad .cpt-next { margin-top: 6px; }
.cpt-card--pad .cpt-mock { justify-content: flex-start; }
.cpt-pane--center { text-align: center; }
.cpt-pane--center .btn { margin-top: 4px; }
.cpt-pane--center .cpt-later { display: block; margin: 6px auto 0; }
.cpt-join { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 18px; background: var(--night); color: #fff; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease); }
.cpt-join::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(159 227 238 / .25) 50%, transparent 70%); transform: translateX(-120%); animation: shine 5s var(--ease) infinite 2s; }
.cpt-join:active { transform: scale(.98); }
.cpt-join__i { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgb(159 227 238 / .14); color: var(--glow); }
.cpt-join__i svg { width: 21px; height: 21px; }
.cpt-join__t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.cpt-join__t b { font-family: var(--display); font-size: 16.5px; }
.cpt-join__t small { font-size: 13.5px; color: rgb(255 255 255 / .72); }
.cpt-join__go { width: 18px; height: 18px; color: var(--glow); transition: transform .3s var(--ease); }
.cpt-join:hover .cpt-join__go { transform: translateX(4px); }
.cpt-mail { position: relative; width: 104px; height: 104px; margin: 6px auto 16px; display: grid; place-items: center; }
.cpt-mail__ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(1 141 166 / .18), transparent); animation: cptGlow 3s ease-in-out infinite; }
.cpt-mail__i { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-600), var(--brand)); color: #fff; box-shadow: 0 18px 34px -16px rgb(1 141 166 / .9); }
.cpt-mail__i svg { width: 34px; height: 34px; }
.cpt-mail__ok { position: absolute; right: 8px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #10a37f; color: #fff; border: 3px solid #fff; }
.cpt-mail__ok svg { width: 15px; height: 15px; }
.js .cpt-pane.is-enter .cpt-mail__i { animation: cptMail 1s cubic-bezier(.34, 1.56, .64, 1) both; }
.js .cpt-pane.is-enter .cpt-mail__ok { animation: cptBadge .6s cubic-bezier(.34, 1.56, .64, 1) .7s both; }
@keyframes cptMail { 0% { opacity: 0; transform: translate(-40px, 30px) rotate(-18deg) scale(.6); } 60% { opacity: 1; transform: translate(4px, -4px) rotate(4deg); } 100% { transform: none; } }

/* ---------- Colonne sombre : ce que l'on obtient ---------- */
.cpt-side { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; background: var(--night); color: #fff; padding: 26px 18px 22px; }
.cpt-side .aurora { opacity: .8; }
.cpt-side__title { font-size: 27px; font-weight: 800; letter-spacing: -.03em; line-height: 1.06; max-width: 18ch; }
.cpt-side__title em { font-style: normal; color: var(--glow); }
.cpt-gets { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.cpt-gets li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: rgb(255 255 255 / .72); }
.cpt-gets b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 1px; }
.cpt-gets__i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgb(159 227 238 / .12); border: 1px solid rgb(159 227 238 / .2); color: var(--glow); font: 500 15px var(--mono); }
.cpt-gets__i svg { width: 19px; height: 19px; }
.js .cpt-gets li { animation: cptRise .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms + .35s); }
@keyframes cptRise { from { opacity: 0; transform: translateY(14px); } }

/* Exemple de demande qui change toutes les 4 secondes */
.cpt-toast { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 11px 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -20px rgb(0 0 0 / .6); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.cpt-toast.is-out { opacity: 0; transform: translateY(-10px) scale(.98); }
.cpt-toast.is-in { animation: cptToast .5s var(--ease) both; }
@keyframes cptToast { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.cpt-toast__i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.cpt-toast__i svg { width: 24px; height: 24px; }
.cpt-toast__t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.cpt-toast__t small { font: 500 12px var(--mono); letter-spacing: .03em; color: var(--brand-600); }
.cpt-toast__t b { font-size: 15px; }
.cpt-toast__t em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.cpt-toast__seats { flex: none; display: grid; grid-template-columns: repeat(3, 9px); gap: 3px; justify-items: center; }
.cpt-toast__seats i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); animation: cptSeat 4.2s var(--ease) infinite; }
.cpt-toast__seats i:nth-child(2) { animation-delay: .25s; } .cpt-toast__seats i:nth-child(3) { animation-delay: .5s; }
.cpt-toast__seats small { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
@keyframes cptSeat { 0%, 100% { transform: scale(1); opacity: 1; } 12% { transform: scale(1.35); } 24% { transform: scale(1); } }
.cpt-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .1); font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.cpt-partners img { height: 26px; width: auto; opacity: .9; }
.cpt-partners img + img { height: 32px; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 560px) {
  .cpt-card { padding: 0 26px 24px; }
  .cpt-card--pad { padding: 30px 26px 24px; }
  .cpt-progress { margin: 0 -26px; }
  .cpt-foot { margin: 8px -26px -24px; padding: 14px 26px 18px; }
  .cpt-metiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cpt-metier { min-height: 108px; padding: 14px; }
  .cpt-title { font-size: 31px; }
}
@media (min-width: 1080px) {
  .cpt { grid-template-columns: minmax(0, 580px) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
  .cpt-card { border-radius: var(--r-lg); padding: 0 36px 32px; }
  .cpt-card--pad { padding: 40px 36px 32px; }
  .cpt-progress { margin: 0 -36px; height: 6px; }
  .cpt-card__top { min-height: 60px; }
  .cpt-foot { position: static; margin: 10px 0 0; padding: 18px 0 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cpt-title { font-size: 36px; }
  .cpt-side { position: sticky; top: 92px; border-radius: var(--r-lg); padding: 48px 44px 36px; min-height: 660px; display: flex; flex-direction: column; }
  .cpt--short .cpt-side { min-height: 560px; }
  .cpt-side__title { font-size: clamp(34px, 3.2vw, 46px); }
  .cpt-gets { gap: 18px; margin: 30px 0 28px; }
  .cpt-gets li { font-size: 15px; }
  .cpt-gets b { font-size: 16.5px; }
  .cpt-toast { margin-top: auto; padding: 14px 16px; max-width: 460px; }
  .cpt-side--calm .cpt-partners { margin-top: auto; }
  .cpt-toast + .cpt-partners { margin-top: 26px; }
  .cpt-chips { max-height: 400px; overflow-y: auto; overscroll-behavior: contain; }
}

/* Petits écrans : prénom et nom gardent deux colonnes, l'en-tête reste compact */
@media (max-width: 380px) {
  .cpt-title { font-size: 25px; }
  .cpt-opts { gap: 6px; }
  .cpt-opt span { font-size: 14px; }
  .cpt-otp { gap: 8px; }
  .cpt-otp__box { width: 56px; height: 64px; }
  .cpt-metier__n { font-size: 15px; }
  .cpt-plan__head b { font-size: 19px; }
}

/* Animations réduites */
@media (prefers-reduced-motion: reduce) {
  .js .cpt-card, .js .cpt-step > *, .js .cpt-pane > *, .js .cpt-gets li, .js .cpt-chip, .cpt-recap div { animation: none !important; opacity: 1 !important; transform: none !important; }
  .cpt-progress__bar::after, .cpt-radar__sweep, .cpt-radar__pin, .cpt-gift__glow, .cpt-gift__spark, .cpt-done__burst, .cpt-done__ring, .cpt-badge i, .cpt-mail__ring, .cpt-join::before, .cpt-toast__seats i { animation: none !important; display: none; }
  .cpt-done__badge, .cpt-done__badge svg { transform: none !important; animation: none !important; }
  .cpt-gift__i, .cpt-badge, .cpt-mail__i, .cpt-mail__ok { animation: none !important; }
  .cpt-progress__bar, .cpt-radar__zone, .cpt-toast { transition: none !important; }
}

/* Métiers « bientôt » sélectionnables : même carte que les métiers ouverts, avec une pastille */
.cpt-metier--soon { position: relative; border-style: dashed; }
.cpt-metier--soon .cpt-pill { position: absolute; top: 8px; right: 8px; }
