/* ==========================================================================
   ENHANCE.CSS — Reclus Lab, améliorations du 31 octobre 2026
   Ajouts inspirés de la veille (AI Makers, Semji, Webimpacto, Oria, Seeseo,
   iProtego, Digimood), posés PAR-DESSUS la charte existante sans la modifier :
   1. En-tête qui se resserre + méga-menu plein écran au survol
   2. Bandeau défilant « Là où l'on vous cherche »
   3. Garanties sous les boutons du hero
   4. « La bascule » : carte de réponse d'IA qui s'écrit + chiffre sourcé
   5. Fond en graphe de nœuds (section Méthode)
   6. Barres de signal (section Test de la page 1)
   7. « Comment se déroule une mission »
   8. « Pourquoi pas autrement » (comparatif)
   9. FAQ courte + ligne d'honnêteté
  10. Reflet lumineux sur les étiquettes de section
   Tout est désactivé si le visiteur demande de réduire les animations.
   ========================================================================== */

/* --- 1. En-tête : se resserre au défilement ------------------------------- */
header .nav { transition: height .3s ease; }

header .logo { transition: width .3s ease; }

/* Méga-menu (ordinateur uniquement, construit par enhance.js) */
.rl-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy); color: var(--muted-dark);
  border-top: 1px solid rgba(140, 130, 238, .35);
  box-shadow: 0 40px 80px -30px rgba(8, 9, 22, .7);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1), visibility .3s;
  overflow: hidden; z-index: 49;
}
.rl-mega::before { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 130, 238, .22), transparent 70%); pointer-events: none; }
.rl-mega.is-open { opacity: 1; visibility: visible; transform: none; }
.rl-mega-inner { position: relative; display: grid; gap: 40px; padding: 40px 0 44px; }
.rl-mega-inner.cols-5 { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); }
.rl-mega-inner.cols-4 { grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)); }
.rl-mega-h { display: block; margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.rl-mega-h a { color: inherit; }
.rl-mega-h a:hover { color: var(--paper); }
.rl-mega-big { margin: 0 0 12px; font-size: 24px; font-weight: 300; line-height: 1.25; color: var(--paper); }
.rl-mega-intro p:not(.rl-mega-h):not(.rl-mega-big) { margin: 0 0 16px; font-size: 14px; line-height: 1.55; }
.rl-mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rl-mega li a { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--paper); transition: color .2s, transform .25s cubic-bezier(.2,.7,.2,1); }
.rl-mega li a:hover { color: #C9C2FF; transform: translateX(4px); }
.rl-mega-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--paper); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(201, 194, 255, .5); }
.rl-mega-link:hover { text-decoration-color: var(--paper); }
.rl-mega-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--card-line); background: rgba(255, 255, 255, .03); border-radius: var(--radius-lg);
  transition: border-color .25s, background-color .25s, transform .3s cubic-bezier(.2,.7,.2,1); }
.rl-mega-card:hover { border-color: rgba(140, 130, 238, .5); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.rl-mega-card .rl-mega-h { margin: 0; }
.rl-mega-card-t { font-size: 16px; line-height: 1.4; color: var(--paper); }
.rl-mega-card-d { font-size: 13px; line-height: 1.5; }
.rl-mega-card-f { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--card-line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; }
.rl-mega-card-f b { font-size: 20px; font-weight: 300; color: var(--paper); white-space: nowrap; }
.navlinks a.rl-has-mega { position: relative; }
.navlinks a.rl-has-mega::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg); opacity: .6; transition: transform .3s ease; }
.navlinks a.rl-has-mega.is-open::after { transform: translateY(0) rotate(-135deg); }
.navlinks a.rl-has-mega.is-open { color: #C9C2FF; }

/* --- 2. Bandeau défilant « Là où l'on vous cherche » ---------------------- */
.rl-engines { background: var(--navy); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0 30px; overflow: hidden; }
.rl-engines-title { margin: 0 0 18px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-dark); }
.rl-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rl-marquee-track { display: flex; width: max-content; animation: rlMarquee 42s linear infinite; }
.rl-marquee:hover .rl-marquee-track { animation-play-state: paused; }
.rl-marquee ul { display: flex; list-style: none; margin: 0; padding: 0 56px 0 0; gap: 56px; }
.rl-marquee li { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(18px, 2vw, 26px); font-weight: 300; color: #B9BCD8; white-space: nowrap; transition: color .3s; }
.rl-marquee li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: .7; }
.rl-marquee li:hover { color: var(--paper); }
@keyframes rlMarquee { to { transform: translateX(-50%); } }

/* --- 3. Garanties sous les boutons du hero -------------------------------- */
.rl-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: -6px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted-dark); }
.rl-assure li { display: inline-flex; align-items: center; gap: 8px; }
.rl-assure li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--sage);
  background: radial-gradient(circle, var(--sage) 0 3px, transparent 3.5px); }

/* --- 4. La bascule : réponse d'IA + chiffre sourcé ------------------------ */
.rl-shift-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.rl-shift-steps { margin: 28px 0 0; border-top: 1px solid var(--line); }
.rl-shift-steps > div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rl-shift-steps dt { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-text); padding-top: 3px; }
.rl-shift-steps dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.rl-shift-steps > div:last-child dd { color: var(--navy); font-weight: 500; }
.rl-stat { margin-top: 28px; display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.rl-stat-n { flex: none; font-size: 40px; font-weight: 300; line-height: 1; color: var(--navy); white-space: nowrap; }
.rl-stat-n small { font-size: 18px; color: var(--muted); }
.rl-stat p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.rl-stat cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--muted); }
.rl-stat cite a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }

.rl-ai { position: relative; padding: 22px; border-radius: 18px; background: var(--navy); color: var(--paper); box-shadow: 0 30px 70px -30px rgba(11, 12, 31, .55); }
.rl-ai::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, #22B4F5, #8E3DF0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.rl-ai-head { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.rl-ai-dots { display: flex; gap: 5px; }
.rl-ai-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.rl-ai-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: #C9C2FF; }
.rl-ai-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: rlBlinkDot 1.6s ease-in-out infinite; }
.rl-ai-q { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 15px; }
.rl-ai-q span { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.rl-ai-tabs { display: inline-flex; gap: 6px; margin-top: 14px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.rl-ai-tabs button { padding: 8px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted-dark); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.rl-ai-tabs button[aria-selected="true"] { background: var(--orange-strong); color: #fff; }
.rl-ai-a { margin: 14px 0 0; min-height: 8.5em; font-size: 15px; line-height: 1.65; color: #E6E7F2; }
.rl-ai-caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -.18em; background: #C9C2FF; animation: rlCaret 1s steps(2) infinite; }
.rl-ai-src { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.rl-ai-src span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: var(--muted-dark); opacity: 0; transform: translateY(6px); animation: rlSrcIn .5s ease forwards; }
.rl-ai-src span.is-own { border-color: transparent; background: rgba(140, 130, 238, .28); color: #fff; }
.rl-ai-foot { margin: 12px 0 0; font-size: 12px; color: #8E92B3; }
@keyframes rlCaret { 50% { opacity: 0; } }
@keyframes rlBlinkDot { 50% { opacity: .3; } }
@keyframes rlSrcIn { to { opacity: 1; transform: none; } }

/* --- 5. Graphe de nœuds en fond (Méthode) --------------------------------- */
.rl-net-host { position: relative; overflow: hidden; isolation: isolate; }
.rl-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; pointer-events: none; }

/* --- 6. Barres de signal (Test de la page 1) ------------------------------ */
.rl-signal-host { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 200px !important; }
.rl-signal { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; z-index: -1; display: flex; align-items: flex-end; gap: 4px; padding: 0 8px; pointer-events: none;
  -webkit-mask: linear-gradient(0deg, #000 35%, transparent); mask: linear-gradient(0deg, #000 35%, transparent); }
.rl-signal span { flex: 1; height: var(--h, 50%); border-radius: 3px 3px 0 0; background: linear-gradient(0deg, rgba(110, 179, 230, .04), var(--c, #8C82EE)); opacity: .7; transform-origin: bottom; transform: scaleY(.04); }
.rl-signal.is-on span { animation: rlGrow 1.4s cubic-bezier(.2,.7,.2,1) var(--d, 0s) forwards, rlBreathe 3.2s ease-in-out calc(var(--d, 0s) + 1.4s) infinite alternate; }
@keyframes rlGrow { to { transform: scaleY(1); } }
@keyframes rlBreathe { from { transform: scaleY(1); } to { transform: scaleY(var(--b, .8)); } }

/* --- 7. Comment se déroule une mission ------------------------------------ */
.rl-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: rlstep; list-style: none; padding-left: 0; margin-left: 0; }
.rl-steps > li { list-style: none; }
.rl-steps > li::marker { content: ""; }
.rl-step { position: relative; padding: 28px 22px 8px 0; }
.rl-step + .rl-step { padding-left: 22px; border-left: 1px solid var(--line); }
.rl-step::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #22B4F5, #8E3DF0); transition: width 1s cubic-bezier(.2,.7,.2,1) var(--sd, 0s); }
.rl-steps.is-on .rl-step::before { width: 100%; }
.rl-step-n { display: block; font-size: 44px; font-weight: 300; line-height: 1; color: var(--orange); }
.rl-step-t { display: block; margin: 8px 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rl-step h3 { margin: 6px 0 10px; font-size: 20px; }
.rl-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.rl-step-last h3 { color: var(--orange-text); }

/* --- 8. Pourquoi pas autrement --------------------------------------------- */
.rl-cmp { border-top: 1px solid var(--line-dark); }
.rl-cmp-row { display: grid; grid-template-columns: 1.3fr .55fr .7fr .65fr 2fr; gap: 18px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line-dark); font-size: 15px; color: var(--muted-dark); }
.rl-cmp-row > span:first-child { color: var(--paper); display: flex; align-items: center; gap: 12px; }
.rl-cmp-head { padding-top: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.rl-cmp-head > span:first-child { color: var(--muted-dark); }
.rl-mk { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; }
.rl-mk-yes { background: var(--orange); box-shadow: 0 0 0 4px rgba(140, 130, 238, .18); }
.rl-mk-part { border: 2px solid #7A7E99; background: linear-gradient(90deg, #7A7E99 50%, transparent 50%); }
.rl-mk-no { width: 14px; height: 2px; border-radius: 2px; background: #3A3E63; }
.rl-cmp-us { position: relative; margin-top: 10px; border: 0; border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(34, 180, 245, .12), rgba(142, 61, 240, .18)); padding: 22px 16px; }
.rl-cmp-us::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, #22B4F5, #8E3DF0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.rl-cmp-us > span { color: var(--paper); }
.rl-cmp-us > span:first-child { font-weight: 600; }
.rl-cmp-us img { width: 26px; height: 26px; }
.rl-cmp-us .rl-mk-yes { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }

/* --- 9. FAQ courte + honnêteté --------------------------------------------- */
.rl-faq { max-width: 900px; border-top: 1px solid var(--line); }
.rl-faq details { border-bottom: 1px solid var(--line); }
.rl-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 18px; color: var(--navy); }
.rl-faq summary::-webkit-details-marker { display: none; }
.rl-faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--navy), var(--navy)) center / 11px 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.5px 11px no-repeat; transition: transform .3s ease, background-color .3s; }
.rl-faq details[open] summary::after { transform: rotate(45deg); }
.rl-faq details p { margin: 0 0 22px; max-width: 70ch; font-size: 15px; line-height: 1.65; color: var(--muted); }
.rl-honest { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 14px; color: var(--muted); }
.rl-honest strong { color: var(--navy); font-weight: 600; }
.rl-honest span { display: inline-flex; align-items: center; gap: 8px; }
.rl-honest span::before { content: ''; width: 12px; height: 1.5px; background: #B3B5C9; transform: rotate(-45deg); box-shadow: 0 0 0 0 transparent; }

/* --- 10. Reflet lumineux sur les étiquettes de section --------------------- */
.h-label { background-image: linear-gradient(90deg, currentColor 0%, currentColor 42%, #C9C2FF 50%, currentColor 58%, currentColor 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rlShine 6s linear infinite; }
.h-light .h-label { background-image: linear-gradient(90deg, currentColor 0%, currentColor 42%, #22B4F5 50%, currentColor 58%, currentColor 100%); }
@keyframes rlShine { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .rl-mega { display: none; }
  .navlinks a.rl-has-mega::after { display: none; }
  .rl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-step, .rl-step + .rl-step { padding: 24px 18px 18px 0; border-left: 0; }
}
@media (max-width: 900px) {
  .rl-shift-grid { grid-template-columns: 1fr; gap: 40px; }
  .rl-cmp-row { grid-template-columns: 1.2fr .5fr .6fr .6fr; }
  .rl-cmp-row > span:last-child { grid-column: 1 / -1; font-size: 13px; padding-top: 2px; }
  .rl-cmp-head > span:last-child { display: none; }
}
@media (max-width: 620px) {
  .rl-steps { grid-template-columns: 1fr; }
  .rl-shift-steps > div { grid-template-columns: 1fr; gap: 4px; }
  .rl-cmp-row { grid-template-columns: minmax(0, 1fr) repeat(3, 54px); gap: 8px; font-size: 14px; padding-left: 2px; padding-right: 2px; }
  .rl-cmp-head { font-size: 9px; letter-spacing: .06em; }
  .rl-cmp-head > span { overflow-wrap: anywhere; }
  .rl-stat { flex-direction: column; gap: 10px; }
  .rl-signal-host { padding-bottom: 150px !important; }
  .rl-signal { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .rl-marquee-track, .h-label, .rl-ai-caret, .rl-ai-live i { animation: none !important; }
  .h-label { -webkit-text-fill-color: currentColor; background: none; }
  .rl-signal span { transform: none; animation: none !important; }
  .rl-step::before { width: 100%; transition: none; }
  .rl-mega, header .nav, header .logo { transition: none; }
}

/* ---------- Téléphone dans la barre de titre ---------- */
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .01em; text-decoration: none; white-space: nowrap; padding: 8px 4px; transition: color .2s; }
.nav-phone svg { color: var(--orange); flex: none; }
.nav-phone:hover, .nav-phone:focus-visible { color: var(--orange); }
@media (max-width: 1100px) { .nav-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .nav-phone { padding: 8px; } .nav-phone svg { width: 18px; height: 18px; } }
header .logo { flex: none; }
@media (min-width: 1101px) {
  header .nav { gap: 16px; }
  header .navlinks { gap: 10px; }
  header .live-pill { padding: 0 14px 0 8px; gap: 8px; }
  header .logo { width: 140px; }
  header .nav-actions { gap: 6px; }
  header .nav-actions .btn { padding-left: 14px; padding-right: 14px; }
  .nav-phone { font-size: 13.5px; gap: 6px; padding: 8px 6px 8px 0; }
  .nav-phone svg { width: 13px; height: 13px; }
}

/* ---------- Réseau des expertises (inspiré de backbone.consulting) ---------- */
.rl-orbit-sec { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 55% at 50% 38%, rgba(91, 75, 214, .28), transparent 70%), var(--navy); color: var(--paper); padding: 8px 0 96px; }
.rl-orbit-sec .container { text-align: center; max-width: 760px; }
.rl-orbit-sec h2 { font-weight: 300; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; margin: 14px 0 0; color: var(--paper); }
.rl-orbit-sec h2 em { font-style: normal; color: #A99FFF; font-weight: 500; }
.rl-orbit { position: relative; width: min(980px, 100%); margin: 40px auto 0; aspect-ratio: 800 / 620; opacity: 0; transform: translateY(-14px); filter: blur(6px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), filter .9s; }
.rl-orbit.is-in { opacity: 1; transform: none; filter: none; }
.rl-orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rl-orb-ring { fill: none; stroke: rgba(201, 194, 255, .22); stroke-width: 1; }
.rl-orb-cursor { transition: cx .5s ease-out, cy .5s ease-out; }
.rl-orb-edge { stroke-width: 1.6; opacity: 0; transition: opacity .55s ease; }
.rl-orb-edge.is-on { opacity: 1; }
.rl-orb-pulse { fill: #fff; filter: drop-shadow(0 0 4px #C9C2FF); }
.rl-orb-dot { fill: #9EA3C8; transition: fill .4s, r .4s; }
.rl-orb-halo { opacity: .35; transform-origin: 0 0; transform: scale(.55); animation: rlOrbBreath 3.6s ease-in-out infinite; transition: opacity .45s; }
.rl-orb-node.is-near .rl-orb-dot { fill: #DCD8FF; }
.rl-orb-node.is-near .rl-orb-halo { opacity: .8; }
.rl-orb-node.is-on .rl-orb-dot { fill: #fff; r: 6px; }
.rl-orb-node.is-on .rl-orb-halo { opacity: 1; animation-duration: 1.8s; }
@keyframes rlOrbBreath { 0%, 100% { transform: scale(.5); } 50% { transform: scale(.85); } }
.rl-orb-label { position: absolute; transform: translate(-50%, -50%); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.45; color: var(--paper); opacity: .55; text-decoration: none; white-space: nowrap; padding: 6px 8px; transition: opacity .4s, color .4s; }
.rl-orb-label.is-left { transform: translate(-100%, -50%); text-align: right; }
.rl-orb-label.is-right { transform: translate(0, -50%); text-align: left; }
.rl-orbit.has-active .rl-orb-label { opacity: .3; }
.rl-orbit .rl-orb-label.is-near { opacity: .9; }
.rl-orbit .rl-orb-label.is-on, .rl-orb-label:hover, .rl-orb-label:focus-visible { opacity: 1; color: #fff; }
.rl-orb-label:focus-visible { outline: 1px solid #A99FFF; outline-offset: 2px; }
.rl-orb-center { position: absolute; left: 50%; top: 50%; width: 34%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; opacity: 0; }
.rl-orb-center.is-in { animation: rlOrbIn .6s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes rlOrbIn { from { opacity: 0; filter: blur(6px); transform: translate(-50%, -44%); } to { opacity: 1; filter: none; transform: translate(-50%, -50%); } }
.rl-orb-pole { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #8FC6EE; }
.rl-orb-title { display: block; margin-top: 10px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 400; color: #fff; }
.rl-orb-text { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted-dark, #A9AECB); }
.rl-orb-list { display: none; }
@media (max-width: 760px) {
  .rl-orb-label { display: none; }
  .rl-orb-center { width: 48%; }
  .rl-orb-text { display: none; }
  .rl-orb-list { display: grid; gap: 0; list-style: none; padding: 0 20px; margin: 18px auto 0; max-width: 520px; }
  .rl-orb-list li { list-style: none; border-top: 1px solid rgba(255,255,255,.1); }
  .rl-orb-list a { display: block; padding: 14px 0; color: var(--paper); text-decoration: none; font-size: 15px; }
  .rl-orb-list span { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #8FC6EE; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { .rl-orb-halo { animation: none; } .rl-orbit { transition: none; opacity: 1; transform: none; filter: none; } }

/* ---------- Barre de titre façon Backbone ---------- */
header { border-bottom-color: transparent; transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; }
header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(14, 16, 36, .86); backdrop-filter: blur(14px); }

@keyframes rlNavIn { to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { header > .nav { animation: none; opacity: 1; transform: none; filter: none; } }
@media (min-width: 1281px) {
  header .container.nav { max-width: none; width: 100%; padding-left: 35px; padding-right: 35px; }
  header .logo { width: 170px; margin-right: 40px; }
  header .navlinks { flex: 1 1 0%; justify-content: flex-end; gap: 28px; }
  header .navlinks a { font-size: 13px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; opacity: .7; transition: opacity .2s ease, color .2s ease; }
  header .navlinks a:hover, header .navlinks a:focus-visible { opacity: 1; color: #fff; }
  header .navlinks a[aria-current="page"] { opacity: 1; font-weight: 600; color: #fff; }
  header .navlinks a::after, header .navlinks a.rl-has-mega::after { display: none !important; }
  header .navlinks a[data-nav-key="intelligence"], header .navlinks a[data-nav-key="faq"] { display: none; }
  header .nav-actions { gap: 22px; margin-left: 28px; }
  header .nav-actions .btn-outline { display: none; }
  .nav-phone { font-size: 13px; letter-spacing: .08em; opacity: .85; padding: 0; gap: 7px; }
  .nav-phone:hover { opacity: 1; }
  header .lang-switch { order: 9; width: auto; height: auto; border: 0; border-radius: 0; background: none; font-size: 13px; font-weight: 400; letter-spacing: .12em; opacity: .6; padding: 0; }
  header .lang-switch:hover { opacity: 1; }
  header .live-pill { background: linear-gradient(to right, #3A2CA8, #6A5CF0); border-color: transparent; color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 0 18px 0 9px; min-height: 40px; }
  header .live-pill:hover { box-shadow: 0 0 26px -4px rgba(140, 130, 238, .8); }
  header .live-ring { border-color: rgba(255, 255, 255, .6); }
  header .live-ring::before { background: #fff; }
  header .navlinks .rl-has-mega::before, header .navlinks a::before { display: none; }
}
@media (min-width: 1281px) and (max-width: 1440px) {
  header .navlinks { gap: 20px; }
  header .nav-actions { gap: 16px; margin-left: 20px; }
  header .logo { margin-right: 16px; width: 156px; }
  header .container.nav { padding-left: 28px; padding-right: 28px; }
}

/* ---------- Barre de titre blanche (demande du 31/10) ---------- */
header, header.is-scrolled { background: #fff; color: #0B0C1F; border-bottom: 1px solid transparent; backdrop-filter: none; }
header.is-scrolled { border-bottom-color: #E7E7EF; box-shadow: 0 10px 30px -18px rgba(11, 12, 31, .35); }
header .navlinks a[data-nav-key="cas"],
header .navlinks a[data-nav-key="apropos"],
header .navlinks a[data-nav-key="offres"],
header .navlinks a[data-nav-key="intelligence"] { display: none !important; }
header .navlinks a[data-nav-key="faq"] { display: inline-block !important; }
header .navlinks a { color: #0B0C1F; }
header .navlinks a:hover, header .navlinks a:focus-visible, header .navlinks a[aria-current="page"] { color: #0B0C1F; }
header .navlinks a.rl-has-mega.is-open { color: #5B4BD6; }
.nav-phone, .nav-phone:hover { color: #0B0C1F; }
.nav-phone svg { color: #5B4BD6; }
header .lang-switch { color: #0B0C1F; border-color: rgba(11, 12, 31, .25); }
header .menu { color: #0B0C1F; border-color: rgba(11, 12, 31, .25); }
header .btn-outline { color: #0B0C1F; border-color: rgba(11, 12, 31, .35); }
header .live-pill { background: linear-gradient(to right, #3A2CA8, #6A5CF0); border-color: transparent; color: #fff; }
header .live-ring { border-color: rgba(255, 255, 255, .6); }
header .live-ring::before { background: #fff; }
@media (min-width: 1281px) {
  header .navlinks a { opacity: .78; }
  header .navlinks a[aria-current="page"] { opacity: 1; }
  header .navlinks { gap: 34px; }
}
@media (max-width: 1280px) {
  header .navlinks.mobile-open { background: #fff; border-bottom-color: #E7E7EF; }
  header .navlinks.mobile-open a { color: #0B0C1F; }
  header .navlinks.mobile-open a[aria-current="page"] { color: #5B4BD6; }
}
/* Méga-menu en clair, assorti à la barre blanche */
.rl-mega { background: #fff; color: #5A5E7A; border-top: 1px solid #E7E7EF; box-shadow: 0 40px 70px -30px rgba(11, 12, 31, .35); }
.rl-mega::before { background: radial-gradient(circle, rgba(140, 130, 238, .14), transparent 70%); }
.rl-mega-h { color: #5B4BD6; }
.rl-mega-h a:hover { color: #0B0C1F; }
.rl-mega-big, .rl-mega li a, .rl-mega-link, .rl-mega-card-t, .rl-mega-card-f b { color: #0B0C1F; }
.rl-mega li a:hover { color: #5B4BD6; }
.rl-mega-link { text-decoration-color: rgba(91, 75, 214, .4); }
.rl-mega-card { border-color: #E7E7EF; background: #F6F6F9; }
.rl-mega-card:hover { background: #fff; border-color: rgba(91, 75, 214, .45); }
.rl-mega-card-f { border-top-color: #E7E7EF; }
main section[id], main [id].section { scroll-margin-top: 92px; }

/* Barre stable : pas de rétrécissement ni d'animation d'entrée (évite le tremblement) */
header .nav, header.is-scrolled .nav { height: 84px !important; transition: none !important; }
header .logo, header.is-scrolled .logo { transition: none !important; }
header.is-scrolled { box-shadow: 0 1px 0 #E7E7EF; }
header .navlinks a[data-nav-key="faq"] { display: none !important; }
header .navlinks a[data-nav-key="apropos"] { display: inline-block !important; }
@media (max-width: 1280px) { header .navlinks.mobile-open a[data-nav-key="apropos"] { display: block !important; } }
main section[id], main [id].section { scroll-margin-top: 112px; }

/* ---------- Loupe vagabonde de l'accueil (trésor caché) ---------- */
.h-stage { position: relative; width: min(100%, 1040px); height: 250px; margin: 0 auto; }
.h-stage .h-symbol.h-loupe { position: absolute; left: 0; top: 0; will-change: transform; z-index: 2; }
.h-treasure { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  font-size: clamp(20px, 4.2vw, 46px); font-weight: 600; letter-spacing: .32em; line-height: 1; pointer-events: none; user-select: none; }
.h-treasure--ghost { color: rgba(201, 194, 255, .06); transition: color 1.2s ease, text-shadow 1.2s ease; }
.h-treasure-win { position: absolute; inset: 0; pointer-events: none; z-index: 1; transition: opacity .5s; }
.h-treasure--lit { background: linear-gradient(90deg, #8FD3FF, #C9C2FF 45%, #F3D28B 70%, #C9C2FF); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: scale(1.45); }
.h-stage.is-revealed .h-treasure--ghost { color: rgba(231, 226, 255, .92); text-shadow: 0 0 24px rgba(201, 194, 255, .55), 0 0 2px rgba(243, 210, 139, .6); }
.h-loupe.is-open ~ .h-treasure-win, .h-stage:has(.h-loupe.is-open) .h-treasure-win { opacity: 0; }
.h-stage .h-loupe.is-open .h-word { font-weight: 500; background: linear-gradient(90deg, #8FD3FF, #F3D28B 60%, #C9C2FF); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rlFound .9s cubic-bezier(.2,.8,.2,1) .15s both; }
@keyframes rlFound { 0% { opacity: 0; filter: blur(8px); transform: scale(.4); } 60% { opacity: 1; filter: blur(0); transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
.h-stage .h-loupe.is-open .h-glass { opacity: 1; filter: drop-shadow(0 0 22px rgba(243, 210, 139, .55)); }
.h-stage .h-loupe.is-found .h-lens-group { transform: scale(1.06) rotate(-10deg); }
.h-stage .h-loupe.is-found .h-word { opacity: 0 !important; }
.h-stage .h-loupe .h-word { font-size: 30px; }
.h-sparks { position: absolute; left: 89px; top: 89px; width: 0; height: 0; pointer-events: none; }
.h-sparks i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #F3D28B; box-shadow: 0 0 10px 2px rgba(243, 210, 139, .8); opacity: 0;
  animation: rlSpark .9s ease-out forwards; }
.h-sparks i:nth-child(3n) { background: #C9C2FF; box-shadow: 0 0 10px 2px rgba(201, 194, 255, .8); width: 4px; height: 4px; }
.h-sparks i:nth-child(4n) { background: #8FD3FF; box-shadow: 0 0 10px 2px rgba(143, 211, 255, .7); }
@keyframes rlSpark { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); } }
@media (max-width: 620px) {
  .h-stage { height: 220px; }
  .h-treasure { letter-spacing: .16em; white-space: normal; text-align: center; line-height: 1.6; padding: 0 12px; font-size: 22px; }
}

/* ---------- Contact : une seule page, un seul formulaire ---------- */
.rl-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.rl-contact-side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 112px; }
.rl-contact-direct a { font-weight: 500; }
.rl-contact-form h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; margin: 0; }
.rl-contact-sub { margin: 10px 0 26px; color: var(--muted); line-height: 1.6; }
.rl-contact-form #urgence { display: block; position: relative; top: -120px; }
@media (max-width: 900px) { .rl-contact { grid-template-columns: 1fr; gap: 40px; } .rl-contact-side { position: static; } }

/* ---------- Menus déroulants compacts (Services, Méthode, À propos) ---------- */
.rl-drop { position: absolute; z-index: 60; width: 680px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; padding: 18px;
  background: #fff; border: 1px solid #ECECF3; border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(11, 12, 31, .35), 0 4px 14px -6px rgba(11, 12, 31, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), visibility .2s; }
.rl-drop.is-narrow { width: 600px; }
.rl-drop.is-open { opacity: 1; visibility: visible; transform: none; }
.rl-drop.is-instant { transition: none !important; }
.rl-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.rl-drop-item { display: flex; align-items: flex-start; gap: 16px; padding: 14px; border-radius: 12px; color: #0B0C1F; text-decoration: none; transition: background-color .15s ease; }
.rl-drop-item:hover, .rl-drop-item:focus-visible { background: #F4F3FB; outline: none; }
.rl-drop-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #262A52, #0B0C1F); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: background .2s ease; }
.rl-drop-item:hover .rl-drop-ic { background: linear-gradient(145deg, #5B4BD6, #2F2A7A); }
.rl-drop-tx { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rl-drop-tx b { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #0B0C1F; line-height: 1.3; }
.rl-drop-tx span { font-size: 13.5px; line-height: 1.45; color: #5A5E7A; }
@media (max-width: 1280px) { .rl-drop { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .rl-drop { transition: none; } }
@media (min-width: 1281px) {
  header .navlinks a.rl-has-mega::after { display: inline-block !important; content: ''; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; position: static; background: none; opacity: .8; }
  header .navlinks a.rl-has-mega.is-open::after { transform: translateY(0) rotate(-135deg); }
  header .navlinks a.rl-has-mega.is-open { color: #5B4BD6; opacity: 1; }
}
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { min-width: 0; }
.field input, .field textarea, .field select { width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .rl-contact-form .form { padding: 22px; } }

/* ---------- Palette noir profond & doré (inspirée de backbone.consulting) ---------- */
:root { --gold: #D5B083; --gold-soft: #E6CBA4; --gold-text: #86622F; }
.h-hero h1 em, .p-hero h1 em, .h-dark h2 em, .p-dark h2 em, .rl-orbit-sec h2 em { color: var(--gold); }
.h-dark .h-label, .p-hero .p-label, .p-dark .p-kicker, .rl-orbit-sec .h-label, .h-hero .h-baseline b { color: var(--gold); }
.h-label, .p-kicker { color: var(--gold-text); }
.h-dark .h-label, .rl-orbit-sec .h-label { color: var(--gold); }
.h-label { background-image: linear-gradient(90deg, currentColor 0%, currentColor 42%, #FFF1D6 50%, currentColor 58%, currentColor 100%); }
.h-light .h-label { background-image: linear-gradient(90deg, currentColor 0%, currentColor 42%, #D5B083 50%, currentColor 58%, currentColor 100%); }
.rl-orb-pole { color: var(--gold); }
.rl-drop-tx b { color: #0B0C1F; }
/* Sphère de mots dans l'orbite de la Méthode */
.h-orbit .rl-wsphere { position: absolute; left: 0; top: 0; width: 480px; height: 480px; pointer-events: none; z-index: 1; }
.h-orbit.has-wsphere .h-core { opacity: 0; pointer-events: none; }
.h-orbit .h-node { z-index: 3; }
.h-dark .h-tagline { color: var(--gold-soft); }

/* ---------- Vidéos d'ambiance (fonds de section) ---------- */
.rl-has-vid { position: relative; overflow: hidden; isolation: isolate; }
.rl-bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.55) contrast(1.05); opacity: 0; transition: opacity 1.2s ease; }
.rl-bgvid.is-ready, .rl-bgvid[poster] { opacity: 1; }
.rl-bgvid-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(11, 12, 31, .72), rgba(11, 12, 31, .9) 75%), linear-gradient(180deg, rgba(11, 12, 31, .55), rgba(11, 12, 31, .95)); }
.h-hero.rl-has-vid, .contact.rl-has-vid, .p-hero.rl-has-vid { background-color: #0B0C1F; }
.contact.rl-has-vid .rl-bgvid-veil { background: linear-gradient(90deg, rgba(11, 12, 31, .94) 0%, rgba(11, 12, 31, .8) 55%, rgba(11, 12, 31, .62) 100%); }
.p-hero.rl-has-vid .rl-bgvid-veil { background: linear-gradient(90deg, rgba(11, 12, 31, .95) 0%, rgba(11, 12, 31, .82) 50%, rgba(11, 12, 31, .55) 100%); }
.p-hero.rl-has-vid .p-signal { z-index: 0; }
