/* ============================================================
   OPTERIA — page « Recrutement » (06/10/2026, demande Axel) : rejoindre l'équipe ou devenir apporteur d'affaires.
   Même langage que /a-propos, /contact et /cerveau-ia (cartes grises, peintures, fiches blanches, cases cochées), façon gleap.ai.
   Chargée seulement par recrutement.html, après da-cerveau.css et da-contact.css (le formulaire reprend la fiche de /contact).
   Animations (recrutement.js + moteur de scènes de cerveau.js) : uniquement transform, opacity, clip-path, stroke-dashoffset.
   ============================================================ */
.page-recrutement { --orange: #FB4D17; }
.rc-centre { text-align: center; }
.cv-av--orange { background: var(--orange); }

/* ---------- Premier écran : le titre centré, puis les deux portes qui s'ouvrent ---------- */
.rc-hero { padding: 72px 0 40px; background: var(--paper); }
.rc-hero__tete { max-width: 860px; margin: 0 auto; text-align: center; }
.rc-hero__tete .meta { margin: 0 0 18px; color: var(--orange); }
.rc-hero__tete .d { margin: 0; }
.rc-hero__sous { max-width: 760px; margin: 26px auto 0; font-size: 19px; line-height: 1.45; color: var(--muet); }

.rc-portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 56px; }
.rc-porte { display: flex; flex-direction: column; padding: 14px; border-radius: 24px; background: var(--gris-carte); color: var(--texte); transition: background-color .25s ease; }
.rc-porte:hover { background: #e6e6e0; }
.rc-porte__cadre { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9.4; border-radius: 16px; background: var(--gris-cadre); overflow: hidden; isolation: isolate; perspective: 1200px; }
.rc-porte__cadre .cv-peinture { transform: scale(1.03); transition: transform .6s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) { .rc-porte:hover .rc-porte__cadre .cv-peinture { transform: scale(1.08); } }
/* les deux battants : fermés au départ, ils pivotent sur leurs gonds et s'effacent */
.rc-porte__battant { position: absolute; top: 0; bottom: 0; z-index: 2; width: 50.5%; background: #e3e3dc; backface-visibility: hidden;
  transition: transform 1.3s cubic-bezier(.7,0,.2,1), opacity .5s ease .85s; }
.rc-porte__battant--g { left: 0; transform-origin: left center; box-shadow: inset -1px 0 0 rgba(0,0,0,.07); }
.rc-porte__battant--d { right: 0; transform-origin: right center; box-shadow: inset 1px 0 0 rgba(0,0,0,.07); }
.rc-porte__battant i { position: absolute; top: 50%; width: 5px; height: 46px; margin-top: -23px; border-radius: 3px; background: #c9c9c1; }
.rc-porte__battant--g i { right: 16px; } .rc-porte__battant--d i { left: 16px; }
.rc-porte:nth-child(2) .rc-porte__battant { transition-delay: .18s, 1.03s; }
.rc-portes.is-ouvert .rc-porte__battant--g { transform: rotateY(-86deg); opacity: 0; }
.rc-portes.is-ouvert .rc-porte__battant--d { transform: rotateY(86deg); opacity: 0; }
.rc-porte__fiche { display: flex; align-items: center; gap: 12px; max-width: 300px; padding: 14px 18px 14px 14px; opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .6s ease .75s, transform .9s cubic-bezier(.3,1.3,.5,1) .75s, box-shadow .4s ease; }
.rc-porte:nth-child(2) .rc-porte__fiche { transition-delay: .93s; }
.rc-portes.is-ouvert .rc-porte__fiche { opacity: 1; transform: none; }
@media (hover: hover) { .rc-portes.is-ouvert .rc-porte:hover .rc-porte__fiche { transform: translateY(-4px); transition-delay: 0s; box-shadow: none; } }
.rc-porte__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--orange); color: #fff; }
.rc-porte__ico--noir { background: #191919; }
.rc-porte__ico svg { width: 23px; height: 23px; }
.rc-porte__lignes { display: flex; flex-direction: column; line-height: 1.3; }
.rc-porte__lignes b { font-size: 15.5px; font-weight: 500; }
.rc-porte__lignes small { margin-top: 2px; font-size: 13px; color: #6b6b70; }
.rc-porte__txt { display: flex; flex-direction: column; flex: 1; padding: 24px 12px 10px; }
.rc-porte__num { font-size: 12px; line-height: 24px; color: #84738f; }
.rc-porte__titre { margin-top: 4px; font-size: 28px; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.rc-porte__p { margin-top: 10px; font-size: 16.5px; line-height: 1.55; color: var(--muet); }
.rc-porte__lien { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.rc-porte__lien svg { width: 16px; height: 16px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.rc-porte:hover .rc-porte__lien svg { transform: translateX(4px); }
.rc-preuve { margin-top: 28px; }

/* ---------- Travailler chez OpterIA ---------- */
.rc-equipe .meta { margin-bottom: 16px; }
.rc-equipe__actions { margin-top: 32px; }
.rc-profil { padding: 18px !important; }
.rc-profil .cv-fiche__lab { padding-bottom: 14px; border-bottom: 1px solid #ececea; }
.rc-profil__liste { display: flex; flex-direction: column; gap: 6px; margin-top: 14px !important; }
.rc-profil__liste li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(11,11,11,.08); }
.rc-profil__liste li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.rc-profil__liste b { font-size: 14px; font-weight: 500; }
.rc-profil__liste small { margin-top: 2px; font-size: 12.5px; color: #6b6b70; }
.rc-profil .fs-coche { width: 20px; height: 20px; animation: none; background-color: #191919; box-shadow: none; opacity: .25; transform: scale(.7); transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.6,.5,1), background-color .3s ease; }
.rc-profil.e1 li:nth-child(1) .fs-coche, .rc-profil.e2 li:nth-child(2) .fs-coche, .rc-profil.e3 li:nth-child(3) .fs-coche { opacity: 1; transform: none; background-color: var(--orange); }
.rc-profil[data-etape="1"] li:nth-child(1), .rc-profil[data-etape="2"] li:nth-child(2), .rc-profil[data-etape="3"] li:nth-child(3) { border-color: rgba(251,77,23,.4); background: rgba(251,77,23,.045); }
.rc-profil__pied { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; padding-top: 12px; border-top: 1px solid #ececea; font-size: 13px; color: #2f7d3e; }
.rc-profil__pied i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(58,166,85,.16); animation: cv-point 2.4s ease-in-out infinite; }

/* ---------- Programme : le fil de la confiance (vous → votre contact → OpterIA, et le retour vers vous) ---------- */
.rc-prog { padding-bottom: 40px; }
.rc-prog__tete { max-width: 800px; margin-bottom: 48px; }
.rc-prog__tete .meta { margin: 0 0 16px; }
.rc-prog__tete .h { margin: 0; }
.rc-prog__intro { margin: 22px 0 0; font-size: 18px; line-height: 1.55; color: var(--muet); }
.rc-fil { position: relative; height: 480px; border-radius: var(--r); background: var(--gris-cadre); overflow: hidden; isolation: isolate; }
.rc-fil .cv-peinture { transform: scale(1.03); }
.rc-fil__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rc-fil__piste { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 8; }
.rc-fil__trace { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.rc-fil__retour { fill: none; stroke: #191919; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 7; opacity: .7; }
.rc-noeud { position: absolute; z-index: 2; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--encre); white-space: nowrap;
  box-shadow: none; transform: translate(-50%, -50%); transition: transform .5s cubic-bezier(.3,1.4,.5,1), box-shadow .4s ease; }
.rc-noeud--1 { --x: 15%; --y: 46%; } .rc-noeud--2 { --x: 50%; --y: 17%; } .rc-noeud--3 { --x: 85%; --y: 46%; }
.rc-noeud > i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #e9e9e6; color: #8a8a90; transition: background-color .4s ease, color .4s ease; }
.rc-noeud > i svg { width: 22px; height: 22px; }
.rc-noeud--opteria > i { border-radius: 13px; }
.rc-noeud--opteria > i svg { width: 30px; height: 30px; overflow: visible; }
.rc-noeud span { display: flex; flex-direction: column; line-height: 1.2; }
.rc-noeud b { font-size: 15px; font-weight: 500; }
.rc-noeud small { font-size: 12px; color: #6b6b70; }
.rc-noeud.is-on > i { background: #191919; color: #fff; }
.rc-noeud--opteria.is-on > i { background: var(--orange); }
.rc-noeud.is-on { box-shadow: 0 0 0 2px var(--orange); transform: translate(-50%, -50%) scale(1.04); }
.rc-etiq { position: absolute; z-index: 1; left: var(--x); top: var(--y); padding: 6px 12px; border-radius: 999px; background: #191919; color: #fff; font-size: 13px; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -50%) translateY(8px) scale(.9); transition: opacity .45s ease, transform .55s cubic-bezier(.3,1.4,.5,1); }
.rc-etiq--1 { --x: 31%; --y: 21%; } .rc-etiq--2 { --x: 69%; --y: 21%; } .rc-etiq--3 { --x: 50%; --y: 86%; background: #fff; color: var(--encre); box-shadow: none; }
.rc-etiq.is-on { opacity: 1; transform: translate(-50%, -50%); }
.rc-valeurs { position: absolute; z-index: 2; left: 50%; top: 58%; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .5s ease, transform .7s cubic-bezier(.3,1.4,.5,1); }
.rc-valeurs span { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 11px; border-radius: 999px; background: #f4f4f1; font-size: 14px; color: var(--encre); }
.rc-valeurs span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.rc-fil.is-fini .rc-valeurs { opacity: 1; transform: translate(-50%, -50%); }

/* ---------- Philosophie : le grand texte, puis trois engagements ---------- */
.rc-philo { padding-top: 72px; }
.rc-philo .meta { margin-bottom: 22px; }
.rc-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 64px; }
.rc-pilier { padding: 28px 26px 30px; border-radius: 24px; background: var(--gris-carte); }
.rc-pilier__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--orange); box-shadow: none; }
.rc-pilier__ico svg { width: 23px; height: 23px; }
.rc-pilier h3 { margin: 26px 0 10px; font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.rc-pilier p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muet); }

/* ---------- Comment ça marche : les étapes, le tableau de bord collant ---------- */
.rc-marche__tete { max-width: 820px; margin-bottom: 48px; }
.rc-marche__tete .meta { margin: 0 0 16px; }
.rc-marche__tete .h { margin: 0; }
.rc-marche__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: start; }
.rc-etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rc-etape { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0; }
.rc-etape__num { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 24px; border-radius: 11px; background: #fff; color: #8a8a90; font-size: 14px; font-weight: 500; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .45s cubic-bezier(.3,1.4,.5,1); }
.rc-etape > div { padding: 26px 28px 28px; border-radius: 24px; background: var(--gris-carte); transition: opacity .5s ease, background-color .5s ease, box-shadow .5s ease; }
.rc-etape .cv-badge { margin: 0 0 10px; line-height: 18px; transition: color .35s ease; }
.rc-etape h3 { margin: 0 0 10px; font-size: 26px; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.rc-etape p:last-child { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--muet); }
html.js .rc-etape > div { opacity: .55; }
html.js .rc-etape.is-on > div { opacity: 1; }
.rc-etape.is-on .rc-etape__num { background: var(--orange); color: #fff; box-shadow: 0 0 0 5px rgba(251,77,23,.14); transform: scale(1.06); }
.rc-etape.is-on .cv-badge { color: var(--orange); font-weight: 500; }
.rc-etape.is-courant > div { background: #fff; box-shadow: none; }

.rc-suivi { position: sticky; top: 110px; }
.rc-suivi__cadre { aspect-ratio: auto; min-height: 540px; padding: 40px 30px; }
.rc-tdb { max-width: 370px; padding: 18px; }
.rc-tdb__tete { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #ececea; }
.rc-tdb__tete .cv-av { width: 34px; height: 34px; } .rc-tdb__tete .cv-av svg { width: 21px; height: 21px; }
.rc-tdb__tete b { display: block; font-size: 15px; font-weight: 500; }
.rc-tdb__tete small { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12.5px; color: #6b6b70; }
.rc-tdb__tete small i { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(58,166,85,.16); }
.rc-tdb__contact { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.rc-tdb__logo { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #f1f1ef; color: #191919; }
.rc-tdb__logo svg { width: 19px; height: 19px; }
.rc-tdb__contact b { display: block; font-size: 14px; font-weight: 500; }
.rc-tdb__etat { display: grid; margin-top: 2px; font-size: 12.5px; color: #c2410c; }
.rc-tdb__etat span { grid-area: 1 / 1; opacity: 0; transform: translateY(5px); transition: opacity .35s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.rc-tdb[data-niveau="0"] [data-pour="0"], .rc-tdb[data-niveau="1"] [data-pour="1"], .rc-tdb[data-niveau="2"] [data-pour="2"], .rc-tdb[data-niveau="3"] [data-pour="3"],
.rc-tdb[data-niveau="4"] [data-pour="4"], .rc-tdb[data-niveau="5"] [data-pour="5"], .rc-tdb[data-niveau="6"] [data-pour="6"] { opacity: 1; transform: none; }
.rc-tdb[data-niveau="0"] .rc-tdb__etat { color: #8a8a90; }
.rc-tdb[data-niveau="6"] .rc-tdb__etat { color: #2f7d3e; }
.rc-tdb__jauge { position: relative; display: block; height: 8px; margin-top: 14px; border-radius: 999px; background: #efefec; overflow: hidden; }
.rc-tdb__jauge i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #ff9a70, var(--orange)); transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.rc-tdb__liste { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.rc-tdb__liste li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(11,11,11,.08); font-size: 13.5px; color: #8a8a90; transition: color .35s ease, border-color .35s ease, background-color .35s ease; }
.rc-tdb__liste li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #e4e4e0; transition: background-color .35s ease, transform .45s cubic-bezier(.3,1.5,.5,1); }
.rc-tdb__liste li.is-fait { color: var(--encre); }
.rc-tdb__liste li.is-fait::before { background: #191919 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.rc-tdb__liste li.is-courant { border-color: rgba(251,77,23,.4); background: rgba(251,77,23,.045); }
.rc-tdb__liste li.is-courant::before { background-color: var(--orange); transform: scale(1.1); }
.rc-tdb__pied { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; padding-top: 12px; border-top: 1px solid #ececea; font-size: 13px; color: #2f7d3e; opacity: 0; transform: translateY(5px); transition: opacity .45s ease, transform .5s ease; }
.rc-tdb__pied i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(58,166,85,.16); }
.rc-tdb[data-niveau="6"] .rc-tdb__pied { opacity: 1; transform: none; }

.rc-bases { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rc-bases li { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 22px; border-radius: 18px; background: var(--gris-carte); font-size: 14.5px; line-height: 1.45; color: var(--muet); }
.rc-bases b { display: block; margin-bottom: 3px; font-size: 16px; font-weight: 500; color: var(--ink); }
.rc-bases .fs-coche, .rc-commu__liste .fs-coche { width: 20px; height: 20px; margin-top: 1px; animation: none; box-shadow: none; }
.rc-bases .fs-coche { background-color: #191919; }

/* ---------- La communauté : le cercle se trace, les membres arrivent un à un, puis « vous » ---------- */
.rc-commu__carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r); background: var(--gris-carte); overflow: hidden; }
.rc-commu__txt { display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; }
.rc-commu__txt .meta { margin: 0 0 16px; }
.rc-commu__txt .h { margin: 0; font-size: clamp(30px, 2.8vw, 40px); }
.rc-commu__txt .p { margin: 24px 0 0; font-size: 17px; line-height: 1.6; color: var(--muet); }
.rc-commu__liste { list-style: none; margin: 28px 0 0; padding: 22px 0 0; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(0,0,0,.08); }
.rc-commu__liste li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--texte); }
.rc-commu__liste .fs-coche { margin-top: 0; background-color: #25a35a; }
.rc-commu__toile { position: relative; display: grid; place-items: center; min-height: 520px; padding: 40px 24px; isolation: isolate; overflow: hidden; }
.rc-commu__toile .cv-peinture { transform: scale(1.03); }
.rc-cercle { --R: 168px; position: relative; width: 440px; max-width: 100%; aspect-ratio: 1; }
.rc-cercle__liens { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rc-cercle__rond { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 200px 200px; transition: stroke-dashoffset 2.6s cubic-bezier(.45,0,.25,1); }
.rc-cercle.e1 .rc-cercle__rond { stroke-dashoffset: 0; }
.rc-membre { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: none;
  transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(var(--a) * -1)) scale(0); transition: transform .6s cubic-bezier(.3,1.5,.5,1); }
.rc-membre::before { content: ""; width: 22px; height: 22px; background: #b7b7b0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c.6-4.2 3.8-6.6 8-6.6s7.4 2.4 8 6.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c.6-4.2 3.8-6.6 8-6.6s7.4 2.4 8 6.6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.rc-membre--vous { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,255,255,.55); }
.rc-membre--vous::before { background: #fff; width: 26px; height: 26px; }
.rc-membre--vous b { position: absolute; top: calc(100% + 8px); left: 50%; padding: 3px 10px; border-radius: 999px; background: #191919; color: #fff; font-size: 12px; font-weight: 500; transform: translateX(-50%); white-space: nowrap; }
.rc-cercle.e1 .rc-membre:nth-of-type(1), .rc-cercle.e2 .rc-membre:nth-of-type(2), .rc-cercle.e3 .rc-membre:nth-of-type(3),
.rc-cercle.e4 .rc-membre:nth-of-type(4), .rc-cercle.e5 .rc-membre:nth-of-type(5), .rc-cercle.e6 .rc-membre:nth-of-type(6) { transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(var(--a) * -1)); }
.rc-groupe { position: absolute; left: 50%; top: 50%; z-index: 2; width: 190px; max-width: none; padding: 14px; transform: translate(-50%, -50%); }
.rc-groupe__tete { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #ececea; }
.rc-groupe__tete img { flex: none; width: 30px; height: 30px; }
.rc-groupe__tete b { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.rc-groupe__tete small { display: block; font-size: 12px; color: #6b6b70; }
.rc-bulle { display: flex; flex-direction: column; gap: 5px; margin-top: 10px !important; padding: 9px 11px; border-radius: 4px 12px 12px 12px; background: #f2f2f0; opacity: 0; transform: translateY(6px); }
.rc-bulle em { font-size: 11.5px; font-style: normal; font-weight: 500; color: #1f8a4c; }
.rc-bulle i { display: block; height: 6px; border-radius: 3px; background: #dcdcd7; }
.rc-bulle i + i { width: 62%; }
.rc-bulle--2 em { color: var(--orange); } .rc-bulle--2 i { width: 80%; }
.rc-cercle.e2 .rc-bulle--1, .rc-cercle.e4 .rc-bulle--2 { opacity: 1; transform: none; }
.rc-groupe__neuf { display: flex; justify-content: center; margin-top: 10px !important; opacity: 0; transform: scale(.85); }
.rc-groupe__neuf span { padding: 4px 10px; border-radius: 999px; background: #e7f6ec; color: #1f7a43; font-size: 11.5px; font-weight: 500; }
.rc-cercle.e7 .rc-groupe__neuf { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.5,.5,1); }

/* ---------- Le kit : les feuilles s'écartent en éventail quand la carte arrive ---------- */
.rc-kit { padding-top: 24px; }
.rc-kit__carte { display: grid; grid-template-columns: minmax(0, 432px) minmax(0, 1fr); min-height: 400px; border-radius: 12px; background: var(--gris-carte); overflow: hidden; }
.rc-kit__toile { position: relative; display: grid; place-items: center; min-height: 340px; isolation: isolate; overflow: hidden; }
.rc-kit__toile .cv-peinture { transform: scale(1.02); }
.rc-dossier { position: relative; width: 168px; height: 216px; animation: rc-flotte 7s ease-in-out infinite; }
@keyframes rc-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.rc-dossier__feuille { position: absolute; inset: 0; border-radius: 14px; background: #fff; box-shadow: none; transition: transform 1.1s cubic-bezier(.3,1.25,.5,1) .3s; transform-origin: 50% 90%; }
.rc-dossier__feuille--3 { background: #f3f3ef; } .rc-dossier__feuille--2 { background: #fafaf8; }
.rc-dossier__feuille--1 { display: flex; flex-direction: column; gap: 9px; padding: 22px 18px; }
.rc-dossier__feuille--1 b { margin-bottom: 6px; font-size: 16px; font-weight: 500; color: var(--encre); }
.rc-dossier__feuille--1 i { display: block; height: 7px; border-radius: 4px; background: #ececea; }
.rc-dossier__feuille--1 i:nth-of-type(2) { width: 82%; } .rc-dossier__feuille--1 i:nth-of-type(3) { width: 64%; }
.rc-dossier__feuille--1 img { margin-top: auto; width: 70px; height: auto; }
.rc-dossier__feuille--1::before { content: ""; position: absolute; top: 18px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.rc-kit__carte.is-in .rc-dossier__feuille--3 { transform: rotate(-14deg) translate(-22px, 4px); }
.rc-kit__carte.is-in .rc-dossier__feuille--2 { transform: rotate(-6deg) translate(-8px, 0); }
.rc-kit__carte.is-in .rc-dossier__feuille--1 { transform: rotate(5deg) translate(14px, -2px); }
.rc-kit__corps { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 40px 48px; }
.rc-kit__corps .meta { margin: 0 0 14px; }
.rc-kit__titre { margin: 0; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.02em; font-weight: 400; }
.rc-kit__p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muet); }
.rc-kit__corps .actions { margin-top: 0; }

/* ---------- Faire une demande : la fiche de /contact, le choix de la demande, l'agenda ---------- */
.rc-demande { padding-bottom: 24px; }
.rc-demande__txt .h { margin: 0; }
.rc-demande__txt .meta { margin: 0 0 16px; color: var(--orange); }
.rc-rdv { min-height: 0; padding: 18px 18px 18px 16px; background: #fff; }
a.rc-rdv:hover { background: #f8f8f5; }
.rc-fiche { max-width: 500px; }
.rc-choix { display: flex; flex-direction: column; gap: 6px; }
.rc-choix__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid rgba(11,11,11,.1); border-radius: 12px; background: #fff; color: var(--encre); font: inherit; font-size: 15px; text-align: left; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.rc-choix__btn:hover { background: #f8f8f5; }
.rc-choix__btn:focus-visible { outline: 2px solid #191919; outline-offset: 2px; }
.rc-choix__rond { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c4c4bd; transition: box-shadow .2s ease; }
.rc-choix__rond::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.rc-choix__btn[aria-checked="true"] { border-color: var(--orange); background: rgba(251,77,23,.045); box-shadow: 0 0 0 3px rgba(251,77,23,.1); }
.rc-choix__btn[aria-checked="true"] .rc-choix__rond { box-shadow: inset 0 0 0 9px var(--orange); }
.rc-choix__btn[aria-checked="true"] .rc-choix__rond::after { transform: scale(1); }
.rc-facultatif { margin-left: 4px; font-weight: 400; color: #8a8a90; }
.rc-mention { margin: 0; font-size: 12.5px; line-height: 1.5; color: #8a8a90; text-align: center; }
.rc-mention a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rc-fiche .form-card.is-envoye .rc-choix { opacity: .6; }

/* ---------- Mouvement réduit : tout est posé, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .rc-porte__battant { display: none; }
  .rc-porte__fiche { opacity: 1; transform: none; transition: none; }
  .rc-porte__cadre .cv-peinture, .rc-porte__lien svg, .rc-noeud, .rc-noeud > i, .rc-etiq, .rc-valeurs, .rc-etape__num, .rc-etape > div, .rc-tdb__jauge i, .rc-tdb__liste li, .rc-tdb__etat span, .rc-tdb__pied,
  .rc-membre, .rc-cercle__rond, .rc-bulle, .rc-groupe__neuf, .rc-dossier__feuille, .rc-profil .fs-coche, .rc-choix__rond, .rc-choix__rond::after { transition: none !important; }
  .rc-dossier, .rc-profil__pied i { animation: none; }
  .rc-etiq { opacity: 1; transform: translate(-50%, -50%); }
  .rc-valeurs { opacity: 1; transform: translate(-50%, -50%); }
  html.js .rc-etape > div { opacity: 1; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .rc-marche__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px; }
  .rc-commu__txt { padding: 44px 32px; }
  .rc-bases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .rc-hero { padding: 56px 0 32px; }
  .rc-portes { grid-template-columns: minmax(0, 1fr); }
  .rc-commu__carte, .rc-kit__carte { grid-template-columns: minmax(0, 1fr); }
  .rc-trois { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 48px; }
  /* le tableau de bord devient un bandeau collant au-dessus des étapes */
  .rc-marche__grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rc-suivi { order: -1; top: 72px; z-index: 5; margin-bottom: 18px; }
  .rc-suivi__cadre { min-height: 0; padding: 0; background: none; overflow: visible; border-radius: 16px; }
  .rc-suivi__cadre .cv-peinture { display: none; }
  .rc-tdb { max-width: none; padding: 12px 14px; border: 1px solid rgba(11,11,11,.06); }
  .rc-tdb__tete { display: none; }
  .rc-tdb__contact { margin-top: 0; }
  .rc-tdb__jauge { height: 6px; margin-top: 10px; }
  .rc-tdb__liste, .rc-tdb__pied { display: none; }
}

/* ---------- Téléphone (390 px) ---------- */
@media (max-width: 720px) {
  .rc-hero { padding: 40px 0 24px; }
  .rc-hero__tete { text-align: left; }
  .rc-hero__tete .d { font-size: 36px; }
  .rc-hero__sous { margin-top: 18px; font-size: 17px; }
  .rc-portes { margin-top: 32px; gap: 8px; }
  .rc-porte { padding: 10px; border-radius: 20px; }
  .rc-porte__cadre { aspect-ratio: 16 / 11; border-radius: 13px; }
  .rc-porte__fiche { max-width: 270px; padding: 12px 14px 12px 12px; }
  .rc-porte__ico { width: 40px; height: 40px; border-radius: 12px; }
  .rc-porte__txt { padding: 18px 8px 8px; }
  .rc-porte__titre { font-size: 24px; }
  .rc-porte__p { font-size: 15.5px; }
  .rc-porte__lien { padding-top: 16px; }
  .rc-preuve { align-items: flex-start; }

  .rc-equipe__actions .btn { flex: 1 1 100%; justify-content: center; }

  .rc-prog__tete { margin-bottom: 32px; }
  .rc-prog__intro { font-size: 16.5px; }
  .rc-fil { height: 600px; margin: 0 calc(var(--gutter) * -1 + 8px); border-radius: 18px; }
  .rc-noeud { padding: 5px 13px 5px 5px; gap: 8px; }
  .rc-noeud > i { width: 36px; height: 36px; }
  .rc-noeud b { font-size: 14px; } .rc-noeud small { font-size: 11.5px; }
  .rc-noeud--1 { --x: 38%; --y: 9%; } .rc-noeud--2 { --x: 50%; --y: 42%; } .rc-noeud--3 { --x: 44%; --y: 75%; }
  .rc-etiq { font-size: 12px; padding: 5px 10px; }
  .rc-etiq--1 { --x: 33%; --y: 26%; } .rc-etiq--2 { --x: 65%; --y: 59%; } .rc-etiq--3 { --x: 76%; --y: 26%; }
  .rc-valeurs { top: 92%; gap: 4px; padding: 4px; }
  .rc-valeurs span { height: 30px; padding: 0 9px 0 8px; font-size: 12px; gap: 5px; white-space: nowrap; }

  .rc-philo { padding-top: 48px; }
  .rc-pilier { padding: 22px 20px 24px; border-radius: 20px; }
  .rc-pilier h3 { margin-top: 20px; font-size: 21px; }
  .rc-pilier p { font-size: 15.5px; }

  .rc-marche__tete { margin-bottom: 28px; }
  .rc-etapes { gap: 10px; }
  .rc-etape { grid-template-columns: 40px minmax(0, 1fr); }
  .rc-etape__num { width: 30px; height: 30px; margin-top: 20px; border-radius: 9px; font-size: 13px; }
  .rc-etape > div { padding: 20px 18px 22px; border-radius: 20px; }
  .rc-etape h3 { font-size: 22px; }
  .rc-etape p:last-child { font-size: 15.5px; }
  .rc-bases { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .rc-bases li { padding: 16px 16px 18px; }

  .rc-commu__carte, .rc-kit__carte { border-radius: 20px; }
  .rc-commu__txt { padding: 30px 20px; }
  .rc-commu__txt .h { font-size: 28px; }
  .rc-commu__txt .p { font-size: 16px; }
  .rc-commu__toile { min-height: 380px; padding: 24px 8px; }
  .rc-cercle { --R: 128px; width: 340px; }
  .rc-membre { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .rc-membre::before { width: 18px; height: 18px; }
  .rc-membre--vous { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .rc-groupe { width: 158px; padding: 10px; }
  .rc-groupe__tete { gap: 8px; } .rc-groupe__tete img { width: 24px; height: 24px; } .rc-groupe__tete b { font-size: 12.5px; } .rc-groupe__tete small { font-size: 11px; }
  .rc-groupe__neuf span { font-size: 10.5px; padding: 3px 8px; }
  .rc-bulle { margin-top: 7px !important; padding: 6px 9px; } .rc-bulle i { display: none; } .rc-groupe__neuf { margin-top: 7px !important; }
  .rc-groupe__tete { padding-bottom: 9px; }
  .rc-kit__toile { min-height: 280px; }
  .rc-kit__corps { padding: 26px 20px 28px; gap: 18px; }
  .rc-kit__p { font-size: 16px; }
  .rc-kit__corps .btn { width: 100%; justify-content: center; }

  .rc-demande__txt .h { font-size: 30px; }
  .rc-rdv { padding: 16px 14px; }
  .rc-choix__btn { font-size: 14.5px; min-height: 44px; }
}
