/* ============================================================
   /staffing — cabinets de recrutement qui s'agentisent.
   Reprend les tokens et les composants de la LP, rien de neuf
   côté couleurs ou typo.
   ============================================================ */

/* ---------- Clients ---------- */
.st-clients__line {
  margin: var(--space-xl) auto 0; max-width: 62ch; text-align: center;
  color: var(--text-muted); font-size: 1.0625rem; line-height: 1.65;
}

.st-cq__quote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.5rem); line-height: 1.45;
}
.st-cq__quote figcaption {
  margin-top: 0.9rem; font-size: 0.9375rem; color: var(--text-muted);
}

/* ---------- Ce qui rend Kalent différent ---------- */
.st-special__title { text-align: center; max-width: 22ch; margin-inline: auto; }

/* ---------- Pourquoi ils basculent ---------- */
.st-why__inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.st-why__title { margin: 0; max-width: 16ch; }
.st-why__lead { color: var(--text-muted); margin: var(--space-md) 0 var(--space-lg); }
.st-why__list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem;
}
.st-why__list li {
  border-top: 1px solid var(--hairline); padding-top: 1.15rem;
  color: var(--text-muted); line-height: 1.6;
}
.st-why__list b { color: var(--text-primary); font-weight: 600; }
@media (max-width: 900px) { .st-why__inner { grid-template-columns: 1fr; } }

/* ---------- Témoignage ---------- */
.st-quote { text-align: center; }
.st-quote__text {
  margin: 0 auto; max-width: 30ch;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); line-height: 1.25;
}
.st-quote__by { margin-top: var(--space-lg); font-size: 0.9375rem; color: var(--text-muted); }
.st-quote__by cite { display: block; font-style: normal; color: var(--text-primary); font-weight: 600; }

/* ---------- Bande conformité + docs ---------- */
.st-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-lg);
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: var(--radius-panel); padding: clamp(1.4rem, 2.5vw, 2rem);
}
.st-band__left { display: flex; align-items: center; gap: 0.9rem; max-width: 46ch; }
.st-band__left p { margin: 0; color: var(--text-muted); line-height: 1.55; font-size: 0.9375rem; }
.st-band__left b { color: var(--text-primary); }
.st-band__right { display: flex; flex-wrap: wrap; gap: var(--space-sm); }


/* ---------- CTA final ---------- */
.st-last__inner { text-align: center; }
.st-last__title { margin: 0 auto; max-width: 20ch; }
.st-last__lead { color: var(--text-muted); margin: var(--space-md) auto 0; max-width: 46ch; }
.st-last__cta { margin-top: var(--space-xl); display: flex; justify-content: center; gap: var(--space-sm); flex-wrap: wrap; }

/* ---------- Avant / après : des lignes nues, un seul visuel ---------- */
.sw__title { text-align: center; max-width: 24ch; margin-inline: auto; }
.sw__lead {
  text-align: center; color: var(--text-muted); margin: var(--space-md) auto 0;
  max-width: 52ch; font-size: 1.0625rem;
}
.sw__inner { margin-top: clamp(2.5rem, 5vw, 4rem); }
.sw__list { list-style: none; margin: 0; padding: 0; }
.sw__head,
.sw__row {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 0.7fr);
  gap: clamp(0.8rem, 1.6vw, 1.4rem); align-items: baseline;
  padding: 1.15rem 0; border-top: 1px solid var(--hairline);
}
.sw__head {
  border-top: 0; padding-bottom: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-muted);
}
.sw__head span:nth-child(3) { color: var(--k-purple); }
.sw__row { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.sw__row.is-on { opacity: 1; transform: none; }
.sw__topic { margin: 0; font-weight: 600; font-size: 0.9375rem; }
.sw__before { margin: 0; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; }
.sw__after  { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
.sw__gain {
  margin: 0; color: var(--k-purple); font-weight: 600; font-size: 0.875rem;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .sw__head { display: none; }
  .sw__row { grid-template-columns: 1fr; gap: 0.35rem; }
  .sw__before::before { content: 'Today · '; font-weight: 600; color: var(--text-primary); }
  .sw__after::before  { content: 'With Kalent · '; font-weight: 600; color: var(--k-purple); }
}

/* ---------- Les trois piliers, en lignes alternées ---------- */
.feat {
  display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2rem, 4.5vw, 3.5rem); align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--k-gray-bg); border-radius: var(--radius-panel);
  padding: clamp(1.75rem, 4vw, 3.25rem); overflow: hidden;
}
/* Le visuel déborde du panneau, comme sur la LP. Inversé sur les lignes flip. */
.feat--flip .stage,
.feat--flip .code__panel {
  margin: 0 0 0 calc(-1 * clamp(1.75rem, 4vw, 3.25rem));
  border-radius: 0 16px 16px 0;
}
.feat .code__panel { display: block; }
.feat--flip .feat__text  { order: 2; }
.feat--flip .feat__visual { order: 1; }
.feat__h { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); max-width: 18ch; }
.feat__p { margin: var(--space-md) 0 0; color: var(--text-muted); line-height: 1.65; max-width: 48ch; }
.feat__soon { margin: var(--space-md) 0 0; color: var(--text-muted); font-size: 0.9375rem; }
.feat__link {
  display: inline-block; margin-top: var(--space-lg);
  color: var(--k-purple); text-decoration: none; font-weight: 500;
}
.feat__link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; }
  .feat--flip .feat__text, .feat--flip .feat__visual { order: initial; }
}

/* ---------- Prix, version allégée ---------- */
.st-pricing-lite__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-lg);
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: var(--radius-panel); padding: clamp(1.6rem, 3vw, 2.4rem);
}
.st-pricing-lite__title { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.st-pricing-lite__lead { margin: var(--space-md) 0 0; color: var(--text-muted); max-width: 56ch; line-height: 1.6; }

/* Pastille « Coming soon », reprise des panneaux de la LP. */
.st-soon {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  padding: 0.15rem 0.5rem; border-radius: var(--radius-pill);
  background: var(--k-white); color: var(--text-muted);
  border: 1px solid var(--hairline); margin-right: 0.35rem;
}
/* Le panneau de code est haut : on le cadre comme les autres visuels. */
.feat .code__panel { max-height: 24rem; overflow: hidden; }


/* ---------- La shortlist prête (étape 5) ---------- */
.ready {
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: 16px 0 0 16px; box-shadow: var(--shadow-card);
  margin: 0 calc(-1 * clamp(1.75rem, 4vw, 3.25rem)) 0 0; overflow: hidden;
}
.ready__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.15rem; border-bottom: 1px solid var(--hairline);
  font-size: 0.875rem; font-weight: 600;
}
.ready__count {
  background: var(--k-purple-bg); color: var(--k-purple);
  padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); font-size: 0.8125rem;
}
.ready__list { list-style: none; margin: 0; padding: 0; }
.ready__list li {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: 0.7rem; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--hairline);
}
.ready__av {
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--k-purple-bg); color: var(--k-purple); font-size: 0.75rem; font-weight: 600;
}
.ready__id { display: grid; }
.ready__id b { font-size: 0.9375rem; }
.ready__id i { font-style: normal; font-size: 0.8125rem; color: var(--text-muted); }
.ready__ok {
  font-size: 0.75rem; color: #1F7A4D; background: #E9F7F0;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-pill); white-space: nowrap;
}
.ready__ok::before { content: '\2713 '; }
.ready__foot { margin: 0; padding: 0.85rem 1.15rem; font-size: 0.8125rem; color: var(--text-muted); }

/* ---------- Schéma d'intégration (étape 01) ---------- */
.wire {
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: 16px 0 0 16px; box-shadow: var(--shadow-card);
  margin: 0 calc(-1 * clamp(1.75rem, 4vw, 3.25rem)) 0 0;
  padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1.2rem, 2vw, 1.75rem);
  display: grid; grid-template-columns: auto 1.6rem auto 1.6rem auto;
  gap: 0.35rem; align-items: center;
}
.wire__col { display: grid; gap: 0.5rem; }
.wire__lbl {
  margin: 0 0 0.15rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-muted);
}
.wire__box {
  background: var(--k-gray-bg); border: 1px solid var(--hairline);
  border-radius: 10px; padding: 0.6rem 0.75rem;
  font-size: 0.8125rem; white-space: nowrap;
}
.wire__box--out { background: var(--k-purple-bg); border-color: rgba(124, 58, 237, 0.22); }

.wire__link { display: grid; gap: 1.35rem; }
.wire__link span {
  display: block; height: 1px; background: linear-gradient(90deg, var(--hairline), var(--k-purple));
  position: relative;
}
.wire__link span::after {
  content: ''; position: absolute; right: -1px; top: -2px;
  border: 2.5px solid transparent; border-left-color: var(--k-purple);
}
.wire__link--one { gap: 0; }

.wire__kalent {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--k-white); border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 12px; padding: 0.75rem 0.9rem;
  box-shadow: 0 10px 26px rgba(55, 12, 130, 0.12);
}
.wire__kalent p { margin: 0; display: grid; line-height: 1.25; }
.wire__kalent b { font-size: 0.9375rem; }
.wire__kalent i { font-style: normal; font-size: 0.75rem; color: var(--text-muted); }
.wire__note { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--text-muted); max-width: 16ch; }

@media (max-width: 1100px) {
  .wire { grid-template-columns: 1fr; gap: 1rem; margin-right: 0; border-radius: 16px; }
  .wire__link { grid-auto-flow: column; justify-content: center; gap: 0; }
  .wire__link span { width: 1px; height: 1.6rem; background: var(--k-purple); }
  .wire__link span::after { right: -2px; top: auto; bottom: -1px;
    border: 2.5px solid transparent; border-top-color: var(--k-purple); border-left-color: transparent; }
  .wire__box { white-space: normal; }
}

/* « OWN » est le mot qui porte le titre : on le met en violet. */
.hero__own { color: var(--k-purple); }

/* ---------- Avant / après : la ligne bascule au scroll ---------- */
.flip__title { text-align: center; max-width: 22ch; margin-inline: auto; }
.flip__switch {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  margin: var(--space-xl) auto 0;
}
.flip__state {
  font-size: 0.875rem; font-weight: 600; color: #BFC2CF;
  transition: color 0.25s ease;
}
.flip__state.is-now { color: var(--text-primary); }
.flip__state--after.is-now { color: var(--k-purple); }
.flip__track {
  position: relative; width: 6rem; height: 4px; border-radius: 4px;
  background: var(--hairline); overflow: hidden;
}
.flip__dot {
  position: absolute; inset: 0 auto 0 0; width: 100%;
  background: linear-gradient(90deg, var(--k-purple), var(--k-purple-deep));
  transform: translateX(-100%); transition: transform 0.2s linear;
}

.flip__list {
  list-style: none; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 0;
  max-width: 54rem;
}
.fl__row {
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
  gap: clamp(1rem, 2vw, 2rem); align-items: center;
  padding: 1.35rem 0; border-top: 1px solid var(--hairline);
}
.fl__topic { margin: 0; font-weight: 600; font-size: 1rem; }
.fl__swap { display: grid; }
.fl__b, .fl__a {
  grid-area: 1 / 1; margin: 0; line-height: 1.55;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fl__b { color: var(--text-muted); }
.fl__a { opacity: 0; transform: translateY(8px); }
.fl__row.is-on .fl__b { opacity: 0; transform: translateY(-8px); }
.fl__row.is-on .fl__a { opacity: 1; transform: none; }
.fl__gain {
  display: inline-block; margin-left: 0.4rem;
  color: var(--k-purple); font-weight: 600; font-size: 0.9375rem;
}
@media (max-width: 760px) {
  .fl__row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* La citation client sous les logos : plus grande, avec le passage qui compte surligné. */
.st-cq__quote { max-width: 44rem; margin-inline: auto; text-align: center; }
.st-cq__quote blockquote { font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); line-height: 1.45; text-wrap: balance; }
.st-cq__quote blockquote b { color: var(--k-purple); font-weight: inherit; }


/* ---------- Conformité ---------- */
.trust__title { text-align: center; max-width: 22ch; margin-inline: auto; }
.trust__grid {
  list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg); max-width: 64rem;
}
.trust__item { text-align: center; display: grid; justify-items: center; }
.trust__item img, .trust__ico { margin-inline: auto; }
.trust__item h3 { margin: 0.9rem 0 0.4rem; font-size: 1.125rem; }
.trust__item p { margin: 0; color: var(--text-muted); line-height: 1.55; font-size: 0.9375rem; max-width: 34ch; }
.trust__ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--k-purple-bg); color: var(--k-purple); font-size: 1rem;
}
.trust__cta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; gap: var(--space-sm); flex-wrap: wrap; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust__grid { grid-template-columns: 1fr; } }

/* L'économie, sous le prix. */
.plan__save {
  margin: var(--space-md) 0 0; padding-top: var(--space-md);
  border-top: 1px solid var(--hairline);
  color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5;
}
.plan__save b { color: var(--k-purple); font-size: 1.0625rem; }
.plan__save-ref { color: var(--text-muted); }
.trust__ico svg { width: 20px; height: 20px; }

/* ---------- Avant / après : un tableau, nos composants, du gros texte ---------- */
.cmp__title { text-align: center; max-width: 22ch; margin-inline: auto; }

/* ---------- Déroulé en 5 étapes : structure reprise de la timeline de kalent.ai ----------
   Le trait central et sa barre violette utilisent la même astuce que la prod :
   une barre sticky de 50vh remontée de -50vh dans un trait en overflow clip. */
.tl__title { text-align: center; max-width: 22ch; margin-inline: auto; }
.tl__component { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.tl__progress {
  position: absolute; inset: 0; display: flex; justify-content: center; z-index: 0;
}
.tl__line { width: 2px; background: var(--hairline); overflow: clip; position: relative; }
.tl__bar {
  width: 100%; height: 50vh; margin-top: -50vh;
  position: sticky; top: 0; background: var(--k-purple);
}
.tl__list { position: relative; z-index: 1; }
.tl__item {
  display: grid; grid-template-columns: 1fr 2.5rem 1fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(2rem, 5vw, 3.5rem); position: relative;
}
.tl__content { display: flex; flex-direction: column; justify-content: center; }
.tl__h { margin: 0; font-size: clamp(1.35rem, 1.05rem + 1vw, 1.75rem); max-width: 20ch; }
.tl__p { margin: var(--space-md) 0 0; color: var(--text-muted); line-height: 1.6; max-width: 42ch; }
.tl__count { display: flex; justify-content: center; align-items: center; }
.tl__num {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: #E9E9E9; color: var(--k-white); font-family: var(--font-display);
  font-weight: 500; font-size: 1.25rem;
  transition: background-color 0.35s ease;
}
.tl__num.is-on { background: var(--k-purple-deep); }
.tl__visual { display: flex; }
.tl__visual > * { width: 100%; }
.tl__visual .stage, .tl__visual .ready, .tl__visual .wire {
  margin: 0; border-radius: 16px; min-height: 0; max-height: 26rem; overflow: hidden;
}
.tl__visual .stage { height: 22rem; }
@media (max-width: 900px) {
  .tl__progress { display: none; }
  .tl__item { grid-template-columns: 1fr; gap: 1.5rem; min-height: 0; padding-block: clamp(2rem, 6vw, 3rem); }
  .tl__count { justify-content: flex-start; }
  .tl__visual { order: 2; }
}
.tl__content .uc__nudge { margin-top: var(--space-lg); }

/* ---------- Kalent × le nom du prospect, en haut du hero ---------- */
.hero__pair {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.5rem 1rem 0.5rem 0.6rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
  font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem;
  line-height: 1;
}
.hero__pair img { display: block; }
.hero__pair-us { color: var(--text-primary); }
.hero__pair-x { color: var(--k-purple); font-size: 0.9375rem; }
.hero__pair-them { color: var(--text-primary); }

/* ---------- Hero repris de kalent.ai : contenu à gauche, widget à droite ---------- */
/* Le bloc du haut porte le fond de marque et le grain : la nav baigne dedans,
   et le fondu vers les logos se fait à sa base. */
.top {
  position: relative; isolation: isolate;
  background-color: var(--k-white);
  background-image: url('../assets/sun.avif');
  background-position: 10% 40%; background-repeat: no-repeat; background-size: 2000px;
}
.top > * { position: relative; z-index: 3; }   /* au-dessus du grain et du fondu */
/* La nav vit au-dessus du bloc, pour rester collante sur toute la page. */
body:has(.top) .nav-wrap { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body:has(.top) .nav-wrap.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--hairline);
}
/* Le bloc remonte sous la nav : le fond passe derrière elle, sans cassure. */
.top { margin-top: -77px; padding-top: 77px; }
.hero1__title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: var(--lh-title);
}
.hero1__lead { margin: var(--space-xl) 0 0; font-size: var(--fs-lead); color: var(--text-muted); max-width: 34ch; line-height: 1.6; }
.hero1__lead strong { color: var(--k-purple); font-weight: 600; }
.hero1__cta { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.st-clients__intro { margin: 0 0 var(--space-xl); text-align: center; color: var(--text-muted); }
.st-clients__intro b { color: var(--text-primary); font-weight: 600; }

.st-clients { padding-top: clamp(1.5rem, 4vh, 3rem); }


/* ---------- Avant / après : onglets gris, puis le avant barré à gauche ---------- */
.cmp__wrap { text-align: center; }
.cmp__switch { border: 0; margin: 0; padding: 0; }
.cmp__tabs {
  display: inline-flex; gap: 0.5rem; padding: 5px; border-radius: 14px; background: var(--k-gray-bg);
}
.cmp__tabs label {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  padding: 0.6rem 1.1rem; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 600; color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cmp__wrap:has(#ba-1:checked) label[for="ba-1"],
.cmp__wrap:has(#ba-2:checked) label[for="ba-2"] {
  background: var(--k-white); color: var(--text-primary); box-shadow: 0 1px 2px rgba(10,4,6,.08);
}
.cmp__title { margin: clamp(2rem, 4vw, 3rem) auto 0; }
.cmp__t--a { display: none; color: var(--k-purple); }
.cmp__wrap:has(#ba-2:checked) .cmp__t--b { display: none; }
.cmp__wrap:has(#ba-2:checked) .cmp__t--a { display: inline; }

.cmp__list {
  list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: 0;
  max-width: 58rem; text-align: left;
}
.cmp__row {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.35rem 1rem; align-items: baseline;
  padding: clamp(1rem, 2vw, 1.4rem) 0;
}
.cmp__row + .cmp__row { border-top: 1px solid var(--hairline); }
.cmp__n { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }
.cmp__before, .cmp__after {
  font-family: var(--font-display); font-weight: 500; line-height: 1.35;
  transition: font-size 0.25s ease, color 0.25s ease;
}
.cmp__before { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); color: var(--text-muted); }
.cmp__after { display: none; }

/* Onglet After : le avant rétrécit et se barre, la réponse Kalent prend la place */
.cmp__wrap:has(#ba-2:checked) .cmp__row {
  grid-template-columns: 1.5rem minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.cmp__wrap:has(#ba-2:checked) .cmp__n { color: var(--k-purple); }
.cmp__wrap:has(#ba-2:checked) .cmp__before {
  color: #A9ACBB;
  text-decoration: line-through; text-decoration-color: rgba(124, 58, 237, 0.55);
}
.cmp__wrap:has(#ba-2:checked) .cmp__after {
  display: block; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); color: var(--text-primary);
}
@media (max-width: 760px) {
  .cmp__wrap:has(#ba-2:checked) .cmp__row { grid-template-columns: 1.5rem minmax(0, 1fr); }
}

/* ---------- Bande de logos qui défile, comme sur kalent.ai ---------- */
.lstrip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lstrip__track { display: flex; width: max-content; animation: lstrip 38s linear infinite; }
.lstrip__row { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); list-style: none; margin: 0; padding: 0 clamp(1.25rem, 2.5vw, 2.25rem); }
.lstrip__row img { height: 26px; width: auto; opacity: 0.85; }
@keyframes lstrip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lstrip__track { animation: none; } }


/* Moins d'air entre la fin du bloc du haut et la section avant / après. */
.top { padding-bottom: clamp(2rem, 5vh, 3.5rem); }
.top + .cmp { padding-top: clamp(3rem, 7vh, 5rem); }


/* ---------- Hero : structure et mesures de kalent.ai ----------
   conteneur 80rem, contenu à gauche large de 44.5rem, H1 3.875rem,
   sous-titre 1.5rem, 2rem sous le titre, 2.5rem avant les boutons. */
.hero1 { position: relative; padding-block: 5rem 4rem; }
.hero1__container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter, 1.5rem); }
.hero1__content { display: flex; flex-direction: column; align-items: flex-start; max-width: 44.5rem; text-align: left; }
.hero1__title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.875rem); line-height: var(--lh-title);
}
.hero1__lead {
  margin: 2rem 0 0; color: var(--text-muted); line-height: 1.45;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); max-width: 40ch;
}
.hero1__lead strong { color: var(--k-purple); font-weight: 600; }
.hsearch {
  margin-top: 2.5rem; width: min(38rem, 100%);
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: var(--radius-pill); padding: 0.4rem 0.45rem 0.4rem 1.15rem;
  box-shadow: 0 10px 30px rgba(55, 12, 130, 0.10);
}
.hero1__cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (max-width: 900px) { .hero1 { padding-block: 3rem 2.5rem; } }

/* La ligne de recherche du hero (styles remis après refonte). */
.hsearch__icon { display: grid; place-items: center; color: var(--text-muted); flex: none; }
.hsearch__icon svg { width: 18px; height: 18px; }
.hsearch__input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 1rem; color: var(--text-primary);
  padding: 0.55rem 0;
}
.hsearch__input::placeholder { color: var(--text-muted); }
.hsearch__go {
  flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0;
  border: 0; border-radius: var(--radius-pill); background: var(--k-purple); color: var(--k-white);
  cursor: pointer; transition: background-color 0.15s ease;
}
.hsearch__go:hover { background: var(--k-purple-deep); }
.hsearch__go .btn__arrow { width: 1.2rem; height: 1.2rem; background: none; color: inherit; border-radius: 0; }
.hsearch__go svg { width: 18px; height: 18px; }
.hero1__content { max-width: 50rem; }

/* Fondu doux entre le bloc violet et la bande de logos. */
.top::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem;
  background: linear-gradient(to bottom, rgba(248,249,253,0), var(--surface-page));
  pointer-events: none; z-index: 2;
}
.st-clients { padding-top: clamp(1.5rem, 4vh, 2.5rem); background: var(--surface-page); }
.st-clients__line { margin: var(--space-xl) auto 0; max-width: 60ch; text-align: center;
  color: var(--text-muted); font-size: 1.0625rem; line-height: 1.6; }
.st-clients__line b { color: var(--text-primary); font-weight: 600; }

/* Hero centré : même structure que kalent.ai, contenu au milieu. */
.hero1__content { align-items: center; text-align: center; margin-inline: auto; }
.hero1__lead { max-width: 46ch; }
.hero1__cta { justify-content: center; }
.tl__visual--docs { display: block; }
.tl__btns--under { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tl__visual--docs { display: grid; gap: var(--space-lg); }
.tl__visual--docs .tl__btns { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.ready__gains { list-style: none; margin: 0; padding: 0.9rem 1.15rem 0; display: grid; gap: 0.5rem; }
.ready__gains li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--text-muted); }
.ready__gains b { color: var(--k-purple); font-weight: 600; }
.ready__arrow { color: var(--k-purple); }
/* Étape 1 : plus de schéma, juste les deux accès à la doc. */
.tl__visual--docs { align-content: center; }
.tl__visual--docs .tl__btns { justify-content: flex-start; }

/* Citation : un peu plus d'air entre les lignes, et le passage clé en violet. */
.quote__text { line-height: 1.18; }
.quote__c--hl.is-on { color: var(--k-purple); }

/* Le fond à pois de la marque prend le relais dès la fin du hero. */
body:has(.top) {
  background-color: var(--surface-page);
  background-image: radial-gradient(rgba(74, 58, 92, 0.16) 1px, transparent 1.1px);
  background-size: 26px 26px;
}
body:has(.top) .section--bg,
body:has(.top) .st-clients,
body:has(.top) .tl,
body:has(.top) .trust,
body:has(.top) .pricing,
body:has(.top) .faq { background-color: transparent; }

/* Onglets de /staffing : mêmes règles que la LP, sur les ids st-1..st-5. */
.stw .uc__wrap:has(#st-1:checked) .uc__panel[data-for="st-1"],
.stw .uc__wrap:has(#st-2:checked) .uc__panel[data-for="st-2"],
.stw .uc__wrap:has(#st-3:checked) .uc__panel[data-for="st-3"],
.stw .uc__wrap:has(#st-4:checked) .uc__panel[data-for="st-4"],
.stw .uc__wrap:has(#st-5:checked) .uc__panel[data-for="st-5"] { display: grid; }
.stw .uc__wrap:has(#st-1:checked) [for="st-1"],
.stw .uc__wrap:has(#st-2:checked) [for="st-2"],
.stw .uc__wrap:has(#st-3:checked) [for="st-3"],
.stw .uc__wrap:has(#st-4:checked) [for="st-4"],
.stw .uc__wrap:has(#st-5:checked) [for="st-5"] { background: var(--k-purple); color: var(--k-white); box-shadow: none; }
.stw .uc__wrap:has(#st-1:checked) [for="st-2"],
.stw .uc__wrap:has(#st-2:checked) [for="st-3"],
.stw .uc__wrap:has(#st-3:checked) [for="st-4"],
.stw .uc__wrap:has(#st-4:checked) [for="st-5"] { box-shadow: none; }
.stw .uc__tab { display: inline-flex; align-items: center; }
.stw .uc__wrap:has(#st-1:checked) [for="st-1"] .tabn,
.stw .uc__wrap:has(#st-2:checked) [for="st-2"] .tabn,
.stw .uc__wrap:has(#st-3:checked) [for="st-3"] .tabn,
.stw .uc__wrap:has(#st-4:checked) [for="st-4"] .tabn,
.stw .uc__wrap:has(#st-5:checked) [for="st-5"] .tabn { background: rgba(255,255,255,0.24); color: var(--k-white); }
.st-vis { display: flex; }
.st-vis > * { width: 100%; }
.st-vis--empty { min-height: 12rem; }
.stw .tl__btns { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tabn {
  display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem;
  margin-right: 0.45rem; border-radius: 50%;
  background: var(--k-purple-bg); color: var(--k-purple);
  font-size: 0.75rem; font-weight: 600; flex: none;
}

/* ---------- Étape 1 : la fenêtre d'autorisation ---------- */
.auth {
  width: 100%; max-width: 26rem; margin-inline: auto;
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden;
}
.auth__bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 0.9rem; background: var(--k-gray-bg); border-bottom: 1px solid var(--hairline);
}
.auth__bar > span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #D9D9E0; }
.auth__bar > span:first-child { background: #F5A3A3; }
.auth__bar > span:nth-child(2) { background: #F3D08A; }
.auth__bar > span:nth-child(3) { background: #A8DDB0; }
.auth__url { margin: 0 0 0 0.6rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
             font-size: 0.75rem; color: var(--text-muted); }
.auth__body { padding: clamp(1.75rem, 3vw, 2.5rem) 1.5rem; text-align: center; }
.auth__apps { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
.auth__app {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 12px;
  background: var(--k-gray-bg); border: 1px solid var(--hairline); color: #D97757;
}
.auth__app svg { width: 22px; height: 22px; fill: none; }
.auth__arrow { color: var(--text-muted); }
.auth__title { margin: 1.25rem 0 0; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.auth__sub { margin: 0.5rem 0 0; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; }
.auth__btn {
  display: inline-block; margin-top: 1.4rem; padding: 0.75rem 1.4rem; border-radius: 10px;
  background: var(--k-purple); color: var(--k-white); font-weight: 500;
}
/* L'accroche de chaque argument ressort en violet. */
.st-why__list b { color: var(--k-purple); font-weight: 600; }
.st-why__list li { font-size: 1.0625rem; }

/* ---------- Accompagnement à l'intégration ---------- */
.help { position: relative; }
.help__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  border-radius: var(--radius-panel); overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  background-color: var(--k-lavender);
  background-image: linear-gradient(120deg, rgba(255,255,255,0.35), rgba(255,255,255,0)), url('../assets/sun.avif');
  background-position: 0 0, 60% 40%; background-repeat: no-repeat; background-size: auto, 1800px;
}
.help__card {
  background: var(--k-white); border-radius: var(--radius-panel);
  padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: var(--shadow-card);
}
.help__title { margin: var(--space-md) 0 0; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.1; }
.help__text { margin: var(--space-lg) 0 var(--space-xl); color: var(--text-muted); line-height: 1.6; max-width: 40ch; }

.help__board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.85rem; }
.hb { border-radius: 14px; min-height: 5.25rem; }
.hb--ghost { border: 1px solid rgba(255,255,255,0.45); }
.hb--tile { display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 6px 18px rgba(55,12,130,0.10); }
.hb--tile img { width: 44px; height: 44px; }
.hb--card {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem;
  background: var(--k-white); box-shadow: 0 8px 24px rgba(55,12,130,0.12);
}
.hb--w2 { grid-column: span 2; }
.hb__ico { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px;
           background: var(--k-purple); flex: none; }
.hb__ico img { width: 14px; height: auto; filter: brightness(0) invert(1); }
.hb--card p { margin: 0; display: grid; gap: 0.15rem; }
.hb--card b { font-size: 0.9375rem; }
.hb--card i { font-style: normal; font-size: 0.8125rem; color: var(--text-muted); }
@media (max-width: 1000px) {
  .help__inner { grid-template-columns: 1fr; }
  .help__board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px) { .help__board { display: none; } }
/* Le grain couvre le bloc d'accompagnement, cases vides comprises. */
.help__inner { position: relative; isolation: isolate; }
/* Le grain reste derrière : il texture le fond, jamais les tuiles ni les visages. */
.help__inner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url('../assets/noise-pattern.svg'); background-repeat: repeat; opacity: 0.55;
}
.help__card, .help__board { position: relative; z-index: 1; }
.hb--tile img { width: 46px; height: 46px; }
/* La tuile prend la couleur de l'image : une seule couleur, pas deux. */
.hb--tile { padding: 0.6rem; }
.hb--tile img { width: 100%; height: auto; max-width: 3.5rem; border-radius: 10px; }
/* La pastille du bloc d'accompagnement s'aligne à gauche, comme le texte. */
.help__card .kicker { margin-inline: 0; }

/* ---------- Is it you : carte violette, liste sur panneau blanc ---------- */
.cmp { padding-inline: 0; }
.cmp__wrap {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-panel);
  padding: clamp(2rem, 4vw, 3.5rem);
  background-color: #F4F1FE;
  background-image: linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)), url('../assets/sun.avif');
  background-position: 0 0, 20% 60%; background-repeat: repeat, no-repeat; background-size: auto, 1800px;
}
.cmp__wrap::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('../assets/noise-pattern.svg'); background-repeat: repeat; opacity: 0.5;
}
.cmp__wrap > * { position: relative; z-index: 1; }
.cmp__tabs { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.cmp__tabs label { color: #3D3644; }
.cmp__list {
  background: var(--k-white); border-radius: 18px;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 18px 40px rgba(55, 12, 130, 0.18);
  max-width: 62rem;
}

/* Un grain léger à l'intérieur du panneau des étapes. */
.stw .uc__panel { position: relative; isolation: isolate; }
.stw .uc__panel::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('../assets/noise-pattern.svg'); background-repeat: repeat; opacity: 0.3;
}
.stw .uc__panel > * { position: relative; z-index: 1; }
/* La pastille de la section « why » s'aligne à gauche, comme son titre. */
.st-why .kicker { margin-inline: 0; }


/* ---------- Lookalike (page ATS) ---------- */
.look { width: 100%; background: var(--k-white); border: 1px solid var(--hairline);
        border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.look__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem;
             background: var(--k-gray-bg); border-bottom: 1px solid var(--hairline); }
.look__bar > span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #D9D9E0; }
.look__bar > span:first-child { background: #F5A3A3; }
.look__bar > span:nth-child(2) { background: #F3D08A; }
.look__url { margin: 0 0 0 0.6rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
             font-size: 0.75rem; color: var(--text-muted); }
.look__body { padding: 1.6rem 1.75rem 1.9rem; }
.look__prompt { margin: 0 0 0 auto; max-width: 82%; background: var(--k-gray-bg);
                border-radius: 16px 16px 4px 16px; padding: 0.95rem 1.15rem;
                font-size: 0.9375rem; line-height: 1.55; }
.look__meta { margin: 1.4rem 0 0; display: flex; align-items: center; gap: 0.45rem;
              font-size: 0.75rem; color: var(--text-muted); }
.look__meta i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--k-purple); }
.look__found { margin: 1.15rem 0 0.35rem; padding-top: 1.1rem; border-top: 1px solid var(--hairline);
               font-size: 1rem; }
.look__list { list-style: none; margin: 0; padding: 0; }
.look__list li { padding: 1rem 0; border-top: 1px solid var(--hairline);
                 font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); }
.look__list li:first-child { border-top: 0; }
.look__list b { color: var(--text-primary); font-weight: 600; }

.stw .uc__wrap:has(#st-6:checked) .uc__panel[data-for="st-6"] { display: grid; }
.stw .uc__wrap:has(#st-6:checked) [for="st-6"] { background: var(--k-purple); color: var(--k-white); box-shadow: none; }
.stw .uc__wrap:has(#st-5:checked) [for="st-6"] { box-shadow: none; }
.stw .uc__wrap:has(#st-6:checked) [for="st-6"] .tabn { background: rgba(255,255,255,0.24); color: var(--k-white); }

/* Page ATS : le bloc d'accompagnement montre l'appel API. */
.help__code { position: relative; z-index: 1; }
.help__code .code__panel {
  display: block; width: 100%; max-height: 26rem; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--hairline); background: var(--k-white);
  box-shadow: 0 18px 40px rgba(55, 12, 130, 0.18);
}
/* Le libellé des onglets est centré dans sa case. */
.stw .uc__tab { justify-content: center; text-align: center; }
/* Le titre des étapes tient sur deux lignes, sans couper le nom du prospect. */
.stw .uc__title { max-width: 26ch; }
.stw .uc__accent { display: inline; white-space: nowrap; }

/* ---------- Agent autonome (page ATS) ---------- */
/* La pastille chevauche le bas de l'onglet, à cheval sur son bord. */
.stw .uc__tabs { overflow: visible; }
.uc__tab--soon { position: relative; overflow: visible; }
.tab-soon {
  position: absolute; left: 50%; bottom: -0.7rem; transform: translateX(-50%);
  white-space: nowrap; font-size: 0.6875rem; font-weight: 600;
  padding: 0.15rem 0.55rem; border-radius: var(--radius-pill);
  background: var(--k-white); color: var(--k-purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 4px 12px rgba(55, 12, 130, 0.14);
}
.stw .uc__wrap:has(#st-7:checked) .uc__panel[data-for="st-7"] { display: grid; }
.stw .uc__wrap:has(#st-7:checked) [for="st-7"] { background: var(--k-purple); color: var(--k-white); box-shadow: none; }
.stw .uc__wrap:has(#st-6:checked) [for="st-7"] { box-shadow: none; }
.stw .uc__wrap:has(#st-7:checked) [for="st-7"] /* La pastille chevauche le bas de l'onglet, à cheval sur son bord. */
.stw .uc__tabs { overflow: visible; }
.uc__tab--soon { position: relative; overflow: visible; }
.tab-soon {
  position: absolute; left: 50%; bottom: -0.7rem; transform: translateX(-50%);
  white-space: nowrap; font-size: 0.6875rem; font-weight: 600;
  padding: 0.15rem 0.55rem; border-radius: var(--radius-pill);
  background: var(--k-white); color: var(--k-purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 4px 12px rgba(55, 12, 130, 0.14);
}
.agent__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--k-purple);
              animation: agentPulse 1.6s ease-in-out infinite; }
@keyframes agentPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }

.agent__steps { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1.25rem; counter-reset: st; }
.agent__steps li {
  position: relative; padding: 0.85rem 0 0.85rem 2rem; display: grid; gap: 0.15rem;
  border-bottom: 1px solid var(--hairline); color: var(--text-muted);
}
.agent__steps li:last-child { border-bottom: 0; }
.agent__steps li::before {
  content: ''; position: absolute; left: 0; top: 1.15rem;
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  border: 1.5px solid var(--hairline); background: var(--k-white);
}
.agent__steps .is-done::before { background: var(--k-purple); border-color: var(--k-purple); }
.agent__steps .is-run::before { border-color: var(--k-purple);
  animation: agentPulse 1.4s ease-in-out infinite; background: var(--k-purple-bg); }
.agent__steps b { color: var(--text-primary); font-size: 0.9375rem; }
.agent__steps i { font-style: normal; font-size: 0.8125rem; }
.agent__steps .is-run b { color: var(--k-purple); }
@media (prefers-reduced-motion: reduce) { .agent__dot, .agent__steps .is-run::before { animation: none; } }

/* ---------- L'agent parle dans un chat ---------- */
.chat { width: 100%; background: var(--k-white); border: 1px solid var(--hairline);
        border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.chat__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem;
             background: var(--k-gray-bg); border-bottom: 1px solid var(--hairline); }
.chat__bar > span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #D9D9E0; }
.chat__bar > span:first-child { background: #F5A3A3; }
.chat__bar > span:nth-child(2) { background: #F3D08A; }
.chat__url { margin: 0 0 0 0.6rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
             font-size: 0.75rem; color: var(--text-muted); }
.chat__body { padding: 1.5rem 1.6rem 1.75rem; display: grid; gap: 1.1rem; }
.chat__me {
  margin: 0 0 0 auto; max-width: 80%; background: var(--k-gray-bg);
  border-radius: 16px 16px 4px 16px; padding: 0.85rem 1.1rem;
  font-size: 0.9375rem; line-height: 1.55;
}
.chat__ai { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.75rem; align-items: start; }
.chat__ai img { margin-top: 0.15rem; }
.chat__ai > div {
  background: var(--k-purple-bg); border-radius: 16px 16px 16px 4px;
  padding: 0.85rem 1.1rem; display: grid; gap: 0.5rem;
}
.chat__ai p { margin: 0; font-size: 0.9375rem; line-height: 1.55; }
.chat__ai b { font-weight: 600; }
.chat__think { color: var(--k-purple); font-style: italic; }
.chat__typing { display: flex; gap: 0.25rem; }
.chat__typing i { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--k-purple);
                  opacity: 0.4; animation: chatDot 1.2s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .chat__typing i { animation: none; } }

/* ---------- Prix sur mesure (page ATS) ---------- */
.cprice {
  margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 58rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xl);
  align-items: center;
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: var(--radius-panel); box-shadow: var(--shadow-card);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.cprice__num { margin: 0; font-family: var(--font-display); font-weight: 500;
               font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); line-height: 1; }
.cprice__sub { margin: var(--space-md) 0 0; color: var(--text-muted); line-height: 1.6; max-width: 52ch; }
.cprice__list { margin: var(--space-lg) 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.cprice__list li { position: relative; padding-left: 1.4rem; color: var(--text-muted); font-size: 0.9375rem; }
.cprice__list li::before { content: '\2713'; position: absolute; left: 0; color: var(--k-purple); font-size: 0.8125rem; }
@media (max-width: 760px) { .cprice { grid-template-columns: 1fr; } }

/* Les bulles du chat arrivent vite, l'une après l'autre. */
.chat__body > * { opacity: 0; animation: chatIn 0.45s ease forwards; }
.chat__body > *:nth-child(1) { animation-delay: 0.15s; }
.chat__body > *:nth-child(2) { animation-delay: 0.75s; }
.chat__body > *:nth-child(3) { animation-delay: 1.35s; }
.chat__body > *:nth-child(4) { animation-delay: 1.95s; }
.chat__body > *:nth-child(5) { animation-delay: 2.55s; }
.chat__body > *:nth-child(6) { animation-delay: 3.15s; }
@keyframes chatIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chat__body > * { opacity: 1; animation: none; } }

/* La fenêtre garde sa hauteur : les messages remontent et sortent du champ. */
.chat__scroll { height: 21rem; overflow: hidden; position: relative; }
.chat__scroll::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2.5rem;
  background: linear-gradient(to bottom, var(--k-white), rgba(255,255,255,0));
  pointer-events: none;
}
.chat__body { animation: chatScroll 4.4s ease forwards; }
@keyframes chatScroll {
  0%, 45%   { transform: translateY(0); }
  62%       { transform: translateY(-4.5rem); }
  80%       { transform: translateY(-9.5rem); }
  100%      { transform: translateY(-17.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .chat__scroll { height: auto; }
  .chat__body { animation: none; }
}


/* ---------- Build vs buy (page ATS) : violet doux, texte noir, grain ---------- */
.bvb__title { text-align: center; max-width: 26ch; margin-inline: auto; }
.bvb__cols {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 64rem;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
}
.bvb__col {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-panel); padding: clamp(1.75rem, 3vw, 2.5rem);
}
.bvb__col::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('../assets/noise-pattern.svg'); background-repeat: repeat; opacity: 0.5;
}
.bvb__col--build { background: var(--k-gray-bg); }
.bvb__col--kalent { background: #E7E0FB; }
.bvb__head {
  position: relative; z-index: 1; margin: 0 0 1.5rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.bvb__head--k { display: flex; align-items: center; gap: 0.55rem; color: var(--k-purple-deep); }
.bvb__head--k img { border-radius: 7px; background: var(--k-white); padding: 2px; }
.bvb__col ul { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.bvb__col li {
  position: relative; padding-left: 2rem; line-height: 1.45;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
}
.bvb__col--build li { color: #8E8A99; }
.bvb__col--build li::before { content: '\2715'; position: absolute; left: 0; top: 0.1em; font-size: 0.85em; color: #B9B1C2; }
.bvb__col--kalent li { color: var(--text-primary); }
.bvb__col--kalent li::before { content: '\2713'; position: absolute; left: 0; top: 0.05em; font-size: 0.9em; color: var(--k-purple); }
.bvb__vs { align-self: center; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
@media (max-width: 860px) {
  .bvb__cols { grid-template-columns: 1fr; }
  .bvb__vs { justify-self: center; }
}

/* ---------- Avantage : visuel à gauche, carte à droite ---------- */
.adv__band {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-panel); padding: clamp(2rem, 4vw, 3.25rem);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  background-color: #C9B8F7;
  background-image: url('../assets/sun.avif');
  background-position: 55% 40%; background-repeat: no-repeat; background-size: 1600px;
}
.adv__band > * { position: relative; z-index: 1; }
.adv__mos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.65rem; }
.adv__tile, .adv__ghost { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; }
.adv__tile { background: rgba(255, 255, 255, 0.88); }
.adv__ghost { border: 1px solid rgba(255, 255, 255, 0.45); }
.adv__tile img { width: 46px; height: 46px; border-radius: 8px; }

.adv__card {
  background: var(--k-white); border-radius: 18px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 18px 40px rgba(55, 12, 130, 0.16);
}
.adv__card .kicker { margin-inline: 0; }
.adv__title { margin: var(--space-md) 0 var(--space-lg); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem); }
.adv__list { list-style: none; margin: 0 0 var(--space-xl); padding: 0; display: grid; gap: 1.1rem; }
.adv__list li { color: var(--text-muted); line-height: 1.5; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); }
.adv__list b {
  display: block; margin-bottom: 0.15rem; color: var(--text-primary);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem);
}
@media (max-width: 960px) { .adv__band { grid-template-columns: 1fr; } .adv__mos { order: 2; } }
.bvb__lead { margin: var(--space-md) auto 0; text-align: center; max-width: 52ch;
  color: var(--text-muted); font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1875rem); line-height: 1.6; }

/* ---------- Rangée de logos : filets verticaux, phrase en dessous ---------- */
.lrow {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
}
.lrow li { padding: 0 clamp(1.5rem, 4vw, 3rem); }
.lrow li + li { border-left: 1px solid var(--hairline); }
.lrow img { height: 30px; width: auto; }
.lrow img[alt="FAB Group"] { height: 26px; }
.lrow img[alt="Trimoji"] { height: 34px; }
@media (max-width: 700px) {
  .lrow li { padding: 0.75rem 1.25rem; }
  .lrow li + li { border-left: 0; }
  .lrow img { height: 26px; }
}

/* ---------- Apparition au scroll ---------- */
.rise { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; } }
/* Les logos clients passent en noir et blanc. */
.lrow img { filter: grayscale(1); opacity: 0.75; transition: opacity 0.2s ease, filter 0.2s ease; }
.lrow img:hover { filter: grayscale(1); opacity: 1; }

/* ---------- Nav mobile ---------- */
.nav__burger { display: none; }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; row-gap: 0; }
  .nav__burger {
    display: grid; gap: 4px; margin-left: auto; order: 2;
    width: 2.5rem; height: 2.5rem; place-content: center;
    border: 1px solid var(--hairline); border-radius: 10px;
    background: rgba(255, 255, 255, 0.8); cursor: pointer;
  }
  .nav__burger span { display: block; width: 1.05rem; height: 2px; border-radius: 2px; background: var(--text-primary); }
  .nav-wrap.is-open .nav__burger span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-wrap.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav-wrap.is-open .nav__burger span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .nav__burger span { transition: transform 0.2s ease, opacity 0.2s ease; }

  .nav__menu, .nav__actions { display: none; width: 100%; }
  .nav-wrap.is-open .nav__menu,
  .nav-wrap.is-open .nav__actions { display: block; order: 3; }
  .nav-wrap.is-open { background: var(--k-white); border-bottom-color: var(--hairline); }

  .nav-wrap.is-open .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 0; }
  .nav-wrap.is-open .menu__item { border-top: 1px solid var(--hairline); }
  .nav-wrap.is-open .menu__link { display: flex; width: 100%; padding: 0.9rem 0; justify-content: space-between; }
  .nav-wrap.is-open .menu__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0.5rem; background: transparent; width: 100%;
  }
  .nav-wrap.is-open .nav__actions {
    display: flex; flex-wrap: wrap; gap: var(--space-sm);
    padding: 0.9rem 0 1.1rem; border-top: 1px solid var(--hairline);
  }
  .nav-wrap.is-open .nav__actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 900px) {
  /* le panneau Solution se range dans la colonne, sans déborder */
  .nav-wrap.is-open .menu__panel--wide { width: 100%; min-width: 0; left: 0; right: auto; }
  .nav-wrap.is-open .menu__panel ul { display: grid; gap: 0; width: 100%; padding: 0; margin: 0; }
  .nav-wrap.is-open .menu__panel li { width: 100%; }
  .nav-wrap.is-open .mi { width: 100%; padding: 0.7rem 0 0.7rem 0.25rem; }
  .nav-wrap.is-open .lang { order: 3; }
  .nav-wrap.is-open .nav__actions { align-items: center; }
  .nav-wrap.is-open .nav__actions .btn { display: inline-flex; }
  .nav-wrap.is-open .container.nav { padding-bottom: 0.25rem; }
}
@media (max-width: 900px) {
  /* le panneau déroulant n'est plus centré sur le bouton : il se range à gauche */
  .nav-wrap.is-open .menu__panel { translate: none; left: auto; top: auto; min-width: 0; }
}
/* Drapeaux du sélecteur de langue. */
.flag { width: 18px; height: 13px; border-radius: 2px; display: inline-block; margin-right: 0.45rem; flex: none; }
.lang summary .flag { margin-right: 0.35rem; }
.lang ul a { display: flex; align-items: center; }

/* ---------- Page de retrait de profil ---------- */
.oo__card {
  max-width: 44rem; margin-inline: auto; display: grid; gap: 0.5rem;
  background: var(--k-white); border: 1px solid var(--hairline);
  border-radius: var(--radius-panel); box-shadow: var(--shadow-card);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.oo__label { font-weight: 600; font-size: 0.9375rem; margin-top: 0.75rem; }
.oo__input {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--hairline);
  border-radius: 10px; font-family: var(--font-body); font-size: 1rem;
  background: var(--surface-page);
}
.oo__input:focus-visible { outline: 2px solid var(--k-purple); outline-offset: 1px; }
.oo__submit { margin-top: 1.25rem; justify-self: start; }
.oo__note { margin: 0.9rem 0 0; font-size: 0.875rem; color: var(--text-muted); }

/* ---------- Pages légales ---------- */
.lg__inner { max-width: 48rem; margin-inline: auto; }
.lg__title { margin: 0; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
.lg__date { margin: var(--space-md) 0 var(--space-xl); color: var(--text-muted); font-size: 0.9375rem; }
.lg__body { color: var(--text-muted); line-height: 1.7; }
.lg__body h2 { margin: 2.5rem 0 0.75rem; font-size: 1.375rem; color: var(--text-primary); }
.lg__body h3, .lg__body h4 { margin: 1.75rem 0 0.5rem; font-size: 1.0625rem; color: var(--text-primary); }
.lg__body p { margin: 0 0 1rem; }
.lg__body ul, .lg__body ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.lg__body li { margin-bottom: 0.5rem; }
.lg__body strong { color: var(--text-primary); }
.lg__body a { color: var(--k-purple); }
