/* Pop-up « Fonctionnement » de Numa (numa-fonctionnement.js, 2026-09-30) : port natif du composant ServicesStack, même
   famille que la pop-up « Personnalisez Numa » (.ring-modal*) : voile, grande pop-up centrée aux coins arrondis.
   Défilement interne : panneaux collants dans .nh-scroll, fond collant (titres de gauche, grain, dégradés aux teintes de
   Numa : vert #12b98c, indigo #4f44e2, lavande #8f86ec, menthe #bfe9dc, nuit #0b0f4a / #06121a).
   Carte : colonne de droite dès 1024 px, sinon titre au-dessus et carte en dessous. Styles préfixés nh-. */
.nh-modal {
  --nh-h: min(860px, 90vh);
  --nh-ink: #0b0f4a;
  --nh-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  position: fixed; z-index: 410; inset: 0; display: grid; place-items: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.nh-modal[hidden] { display: none; }
/* mobiles : hauteur de la fenêtre visible (barres du navigateur déduites) quand dvh est connu */
@supports (height: 1dvh) { .nh-modal { --nh-h: min(860px, 90dvh); } }
.nh-modal *, .nh-modal *::before, .nh-modal *::after { box-sizing: border-box; }
.nh-backdrop { position: absolute; inset: 0; background: rgb(6 18 26 / 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: nh-fade 200ms ease both; }
.nh-dialog {
  position: relative; width: min(1280px, 94vw); height: var(--nh-h); overflow: hidden; border-radius: 20px; background: #06121a;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 30px 80px -20px rgb(6 18 26 / 0.6);
  animation: nh-pop 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes nh-fade { from { opacity: 0; } }
@keyframes nh-pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
.nh-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* bouton de fermeture discret */
/* plus de bouton de fermeture (demande de l'utilisateur, 2026-09-30) : Échap et clic sur le voile ferment */

/* conteneur qui défile : les panneaux collent à son haut, pas à celui de la fenêtre */
.nh-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; outline: none; }
.nh-scroll:focus-visible { box-shadow: inset 0 0 0 2px rgb(191 233 220 / 0.6); border-radius: 20px; }
.nh-stack { position: relative; isolation: isolate; width: 100%; color: var(--nh-ink); }

/* panneaux collants : la hauteur du conteneur, contenu centré ; ajustement du top par fit() */
.nh-step {
  position: sticky; top: 0; display: grid; width: 100%; min-height: var(--nh-h); margin: 0 auto;
  align-content: center; align-items: center; padding: 64px 16px 24px; transform-origin: top;
}
.nh-card-wrap { width: 100%; max-width: 36rem; margin: 0 auto; transform-origin: top center; will-change: transform, opacity; }
.nh-head { margin: 0 0 20px; color: #fff; font-size: 1.5rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.nh-head span { display: block; }
.nh-head .nh-eye { color: rgb(255 255 255 / 0.5); }

/* carte : animation, texte, « Ce que Numa fait », puces des missions */
/* fond blanc (demande de l'utilisateur, 2026-09-30 : « passer de fond gris à fond blanc ») */
.nh-card { overflow: hidden; padding: 20px 16px 0; border-radius: 10px; background: #fff; }
/* zone d'animation agrandie en hauteur, largeur de la carte inchangée (2026-09-30) : marges latérales réduites */
.nh-anim { padding: 6px 0 2px; }
.nh-anim svg { display: block; width: 100%; height: auto; }
.nh-body { padding: 24px 20px 20px; }
.nh-text { max-width: 36.25rem; margin: 0; font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0.005em; }
.nh-label {
  /* « Ce que Numa fait » dans la famille des textes (Inter) et non plus en chasse fixe (2026-10-01) */
  margin: 28px 0 0; color: rgb(11 15 74 / 0.8); font: 600 0.75rem/1.2 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0.04rem; text-transform: uppercase;
}
.nh-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 0.875rem; line-height: 1.2; }
.nh-chip { position: relative; padding: 6px 10px 8px; border-radius: 8px; background: #d4ebe3; transition: background-color 500ms ease; }
.nh-chip::before { content: none; }
/* la puce de la mission que l'animation joue en ce moment */
.nh-chip.is-on { background: #aee3cf; }
.nh-note { margin: 18px 0 0; color: rgb(11 15 74 / 0.6); font-size: 0.75rem; line-height: 1.35; }

/* fond collant : dégradés enchaînés, grain, titres de gauche */
.nh-bg { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.nh-bg-sticky { position: sticky; top: 0; display: grid; width: 100%; height: var(--nh-h); overflow: hidden; }
.nh-fill { position: absolute; inset: 0; opacity: 0; transition: opacity 1000ms ease; }
.nh-fill.is-on { opacity: 1; }
.nh-grain { position: absolute; inset: 0; overflow: hidden; }
/* grain : motif SVG feTurbulence en data URI (encodé en base64, aucune ressource chargée), animé par steps(10) */
.nh-grain::after {
  content: ""; position: absolute; top: 0; left: 0; width: 140%; height: 140%; opacity: 0.07; background-size: 220px 220px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMjAiIGhlaWdodD0iMjIwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==");
  animation: nh-grain 8s steps(10) infinite;
}
@keyframes nh-grain {
  0% { transform: translate(0); }
  10%, 30%, 50%, 70%, 90% { transform: translate(-5%, -10%); }
  20%, 40%, 60%, 80%, 100% { transform: translate(-15%, -20%); }
}
.nh-titles { display: none; }

/* sous 1024 px, le titre blanc est posé en haut du panneau, là où les halos clairs des étapes 2 et 4 (lavande, menthe)
   l'effaceraient : voile sombre en haut du fond et accroche un peu plus appuyée (contraste ≥ 3:1, texte de 24 px) */
@media (max-width: 1023.98px) {
  .nh-bg-sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 18 26 / 0.55) 0%, rgb(6 18 26 / 0) 40%); }
  .nh-head .nh-eye { color: rgb(255 255 255 / 0.62); }
}

@media (min-width: 640px) {
  .nh-step { padding: 64px 48px 24px; }
}
@media (min-width: 1024px) {
  .nh-stack { padding: 0 36px; }
  .nh-step { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 56px 0; }
  .nh-card-wrap { grid-column: 2; max-width: none; margin: 0; }
  .nh-head { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nh-card { max-width: 42.5rem; padding-top: 24px; border-radius: 14px; }
  .nh-anim { padding: 10px 4px 4px; }
  .nh-body { padding: 26px 40px 30px; }
  .nh-chips { gap: 8px; }
  .nh-chip { display: flex; align-items: baseline; gap: 8px; padding: 8px 10px 10px; }
  .nh-chip::before {
    content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 999px; background: var(--nh-ink);
    transform: translateY(-20%); transition: background-color 500ms ease;
  }
  .nh-chip.is-on::before { background: #12b98c; }

  .nh-titles {
    position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); width: 100%; height: 100%; padding: 64px 36px;
    color: #fff; font-size: clamp(1.75rem, 0.5263vw + 1.6184rem, 2.25rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.025em;
  }
  .nh-tcol { display: flex; grid-column: span 5; flex-direction: column; height: 100%; }
  .nh-teye { display: flex; height: 50%; flex-direction: column; justify-content: flex-end; }
  .nh-eyebrow { margin: 0; color: rgb(255 255 255 / 0.5); }
  .nh-tbox { position: relative; height: 50%; }
  .nh-tbox span { position: absolute; inset: 0; transition: opacity 300ms ease, transform 300ms ease; }
  .nh-tbox span:not(.is-on) { opacity: 0; transform: translateY(2.5rem); }
}
@media (min-width: 1024px) and (max-height: 910px) {
  .nh-step { padding: 32px 0; }
  .nh-body { padding-top: 22px; padding-bottom: 24px; }
}

/* mouvement réduit : images fixes (JS), ni grain, ni échelle, ni transitions */
@media (prefers-reduced-motion: reduce) {
  .nh-backdrop, .nh-dialog { animation: none; }
  .nh-grain { display: none; }
  .nh-fill, .nh-tbox span, .nh-chip, .nh-chip::before { transition: none; }
  .nh-tbox span:not(.is-on) { transform: none; }
  .nh-card-wrap { will-change: auto; }
}

/* 2026-10-03 (demande de l'utilisateur) : fonds dégradés retirés (fond uni du dialogue, grain gardé, plus de voile du haut),
   bloc « Ce que Alto fait » et mention retirés ; animations agrandies : carte plus large (7 colonnes sur 12 dès 1024 px) et
   zone d'animation sans marges */
.nh-bg-sticky::after { content: none !important; }
.nh-card-wrap { max-width: 44rem; }
.nh-card { padding: 12px 8px 0; }
.nh-anim { padding: 0; }
@media (min-width: 1024px) {
  .nh-step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .nh-card { max-width: none; padding: 16px 8px 0; }
  .nh-anim { padding: 0; }
}

/* 2026-10-03 (suite) : fond blanc, cartes de droite en gris très pâle ; titres de gauche à l'encre de la carte, grain retiré */
.nh-dialog { background: #fff; box-shadow: 0 0 0 1px rgb(11 15 74 / 0.06), 0 30px 80px -20px rgb(6 18 26 / 0.45); }
.nh-grain { display: none; }
.nh-card { background: #f6f6f7; }
.nh-head, .nh-titles { color: var(--nh-ink); }
.nh-head .nh-eye, .nh-eyebrow { color: rgb(11 15 74 / 0.5) !important; }
.nh-scroll { scrollbar-color: rgb(11 15 74 / 0.2) transparent; }
.nh-scroll:focus-visible { box-shadow: inset 0 0 0 2px rgb(11 15 74 / 0.25); }

/* 2026-10-03 (suite) : cartes de droite sur fond blanc aussi ; visuels des pages 01 à 04 sous les titres de gauche
   (images, vidéo en page 04) ; sous 1024 px, image sous le titre posé au-dessus de la carte */
.nh-card { background: #fff; }
.nh-visuel { display: block; width: 100%; max-width: 340px; height: auto; aspect-ratio: 1; margin-top: 20px; object-fit: contain; }
@media (max-width: 1023.98px) { .nh-head .nh-visuel { max-width: 160px; margin: 12px 0 0; } }
@media (min-width: 1024px) {
  .nh-teye { height: 34%; }
  .nh-tbox { height: 66%; }
  .nh-tbox .nh-visuel { max-width: min(340px, 100%); max-height: calc(var(--nh-h) * 0.66 - 140px); width: auto; }
}
.nh-visuel { mix-blend-mode: multiply; }   /* fond presque blanc des visuels fondu dans le blanc de la page */
img.nh-visuel { filter: brightness(1.02); }   /* bords #fdfdfd -> blanc pur : aucun cadre visible */
/* visuels descendus en pied de page, titres juste au-dessus (2026-10-03) : colonne de gauche calée en bas, le titre de
   l'étape (deux lignes au plus) puis le visuel posé sur le bas de la pop-up */
@media (min-width: 1024px) {
  .nh-titles { --nh-vis: min(340px, calc(var(--nh-h) * 0.48)); padding-bottom: 20px; }
  .nh-tcol { justify-content: flex-end; }
  .nh-teye { height: auto; }
  .nh-tbox { height: calc(var(--nh-vis) + 2 * 1.15em + 12px); flex: 0 0 auto; }
  .nh-tbox > span { display: flex; flex-direction: column; }
  .nh-tbox .nh-visuel { width: var(--nh-vis); max-width: 100%; max-height: var(--nh-vis); margin-top: auto; }
}
/* accroche, titre et visuel en un seul groupe calé en bas : plus d'écart entre le titre et son visuel */
@media (min-width: 1024px) {
  .nh-teye { display: none; }
  .nh-tbox { height: 100%; }
  .nh-tbox > span { justify-content: flex-end; }
  .nh-tbox .nh-visuel { margin-top: 16px; }
}
/* page 04 : l'animation des peluches (vidéo) 20 % plus grande (2026-10-03). Elle grandit vers le bas (marge négative) :
   le titre reste au même endroit que sur les trois autres pages ; le bas coupé par le dialogue n'est que du blanc */
@media (min-width: 1024px) {
  .nh-tbox video.nh-visuel { width: calc(var(--nh-vis) * 1.2); max-height: calc(var(--nh-vis) * 1.2); margin-bottom: calc(var(--nh-vis) * -0.2);
    transform: translate(-8.333%, -8.333%); }   /* centrée sur la case des trois images (34 px vers le haut et la gauche) */
}
/* titres et visuels de gauche des 4 pages : même axe, décalé de 20 px vers la droite (2026-10-03) */
@media (min-width: 1024px) {
  .nh-tcol { transform: translateX(20px); }   /* décalage sans réduire la largeur : les titres gardent leur ligne */
  /* la carte de droite (blanche, sans bord ni ombre, sur le blanc du dialogue) devient transparente : la fin d'un titre
     long (« … sur Internet ») qui déborde de quelques px sous son bord reste visible */
  .nh-card { background: transparent; }
}
/* blocs de droite (animation et texte) des 4 pages : même marge à droite que la marge de gauche des titres (bord du
   dialogue -> 36 px de la pile + 20 px de décalage), 2026-10-03. La carte va jusqu'au bout de sa colonne, garde 20 px à
   droite, et le texte n'a plus de largeur maximale : ses lignes vont jusqu'à cette marge. */
@media (min-width: 1024px) {
  .nh-card-wrap { max-width: none; }
  .nh-card { padding-right: 20px; }
  .nh-body { padding-right: 0; }
  .nh-body p { max-width: none; }
}

/* 2026-10-03 : animations passées à gauche, au-dessus du titre et du visuel ; paragraphes de droite retirés ; à leur place,
   un seul formulaire de connexion (port natif d'AuthForm, shadcn), fixe à droite pendant le défilement des 4 étapes */
@media (min-width: 1024px) {
  .nh-step { align-content: start; padding-top: 72px; }
  .nh-card-wrap { grid-column: 1; margin-left: 20px; }   /* même axe que les titres (décalés de 20 px) */
  .nh-card { padding: 0; }
}
@media (min-width: 1024px) and (max-height: 910px) {
  .nh-step { padding-top: 48px; }
}
/* sous 1024 px : l'animation au-dessus du titre et du visuel, le formulaire après les étapes */
@media (max-width: 1023.98px) {
  .nh-card-wrap { display: flex; flex-direction: column; }
  .nh-card { order: -1; }
  .nh-head { margin: 16px 0 0; }
}

.nh-auth { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.nh-auth-sticky {
  position: sticky; top: 0; display: grid; height: var(--nh-h); padding: 24px 56px 24px 36px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
}
.nh-auth-card {
  grid-column: 2; justify-self: end; width: 100%; max-width: 28rem; max-height: calc(var(--nh-h) - 48px); overflow-y: auto;
  padding: 24px; border: 1px solid #e5e7eb; border-radius: 8px; color: var(--nh-ink); background: #fff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); font-size: 14px; pointer-events: auto;
}
@media (max-width: 1023.98px) {
  .nh-auth { position: relative; inset: auto; pointer-events: auto; }
  .nh-auth-sticky { position: static; display: block; height: auto; padding: 24px 16px 40px; }
  .nh-auth-card { margin: 0 auto; max-height: none; overflow: visible; }
}
.nh-auth-title { margin: 0; font-size: 24px; font-weight: 600; line-height: 1; letter-spacing: -0.015em; }
.nh-auth-desc { margin: 6px 0 0; color: #6b7280; font-size: 14px; line-height: 1.45; }
.nh-auth-group { margin-top: 24px; }
.nh-auth-small { margin: 0 0 8px; color: #6b7280; font-size: 12px; font-weight: 500; line-height: 1; }
.nh-auth-social { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nh-auth-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border: 0;
  border-radius: 6px; font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.nh-auth-btn:focus-visible, .nh-auth-link:focus-visible, .nh-auth-eye:focus-visible { outline: 2px solid var(--nh-ink); outline-offset: 2px; }
.nh-auth-outline { padding: 0 8px; border: 1px solid #e5e7eb; color: var(--nh-ink); background: #fff; }
.nh-auth-outline:hover { background: #f4f4f5; }
.nh-auth-outline svg { width: 16px; height: 16px; flex-shrink: 0; }
.nh-auth-outline svg.nh-auth-apple { width: 20px; height: 20px; }
.nh-auth-outline[data-auth="sso"] svg { width: 20px; height: 20px; }
.nh-auth-or { position: relative; margin: 16px 0; color: #6b7280; font-size: 12px; text-align: center; text-transform: uppercase; }
.nh-auth-or::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; border-top: 1px solid #e5e7eb; }
.nh-auth-or span { position: relative; padding: 0 8px; background: #fff; }
.nh-auth-form { display: grid; gap: 16px; margin: 0; }
.nh-auth-field { display: grid; gap: 8px; }
.nh-auth-field label { font-size: 14px; font-weight: 500; line-height: 1; }
.nh-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nh-auth-input { position: relative; }
.nh-auth-input > svg { position: absolute; top: 50%; left: 12px; width: 16px; height: 16px; color: #6b7280; transform: translateY(-50%); pointer-events: none; }
.nh-auth-input input {
  display: block; width: 100%; height: 40px; padding: 8px 12px 8px 36px; border: 1px solid #e5e7eb; border-radius: 6px;
  color: var(--nh-ink); background: #fff; font: inherit; font-size: 14px;
}
.nh-auth-input input::placeholder { color: #9ca3af; }
.nh-auth-input input:focus-visible { outline: 2px solid var(--nh-ink); outline-offset: 2px; }
.nh-auth-input input[name="password"] { padding-right: 40px; }   /* fenêtre Fonctionnement et préhome Legal */
.nh-auth-eye {
  position: absolute; top: 50%; right: 6px; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0;
  border-radius: 6px; color: #6b7280; background: transparent; cursor: pointer; transform: translateY(-50%);
}
.nh-auth-eye:hover { background: #f4f4f5; }
.nh-auth-eye svg { width: 16px; height: 16px; }
.nh-auth-link { padding: 0; border: 0; color: var(--nh-ink); background: none; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.nh-auth-link:hover { text-decoration: underline; }
.nh-auth-primary { width: 100%; color: #fff; background: var(--nh-ink); }
.nh-auth-primary:hover { background: rgb(11 15 74 / 0.9); }
.nh-auth-note { margin: 12px 0 0; color: var(--nh-ink); font-size: 13px; line-height: 1.4; }
.nh-auth-note:empty { margin: 0; }
.nh-auth-footer { display: grid; gap: 16px; margin-top: 24px; }
.nh-auth-ghost { width: 100%; color: #6b7280; background: transparent; }
.nh-auth-ghost:hover { color: var(--nh-ink); background: #f4f4f5; }
.nh-auth-ghost svg { width: 16px; height: 16px; }
.nh-auth-legal { margin: 0; color: #6b7280; font-size: 12px; line-height: 1.5; text-align: center; }
.nh-auth-legal .nh-auth-link { color: inherit; font-size: inherit; font-weight: inherit; text-decoration: underline; }
.nh-auth-legal .nh-auth-link:hover { color: var(--nh-ink); }
@media (prefers-reduced-motion: reduce) { .nh-auth-btn { transition: none; } }

/* 2026-10-03 : frise des 4 étapes au-dessus du titre et du visuel de gauche (port natif de BasicSteps, Ark UI Steps) ;
   positionnée par placeSteps() (JS) sur la couche du formulaire ; cachée sous 1024 px, où les titres sont dans les étapes */
.nh-steps { display: none; }
@media (min-width: 1024px) {
  .nh-steps { position: absolute; top: 0; left: 0; display: block; pointer-events: auto; }
}
.nh-steps-list { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.nh-steps-item { position: relative; display: flex; align-items: center; }
.nh-steps-item:not(:last-child) { flex: 1; }
.nh-steps-trigger { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.nh-steps-trigger:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.nh-steps-indicator {
  display: flex; width: 32px; height: 32px; flex-shrink: 0; align-items: center; justify-content: center; border: 2px solid #e5e7eb;
  border-radius: 999px; color: #6b7280; background: #f3f4f6; font-size: 14px; font-weight: 600; line-height: 1;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}
.nh-steps-item[data-state="complete"] .nh-steps-indicator,
.nh-steps-item[data-state="current"] .nh-steps-indicator { border-color: #2563eb; color: #fff; background: #2563eb; }
.nh-steps-trigger:hover .nh-steps-indicator { border-color: #2563eb; }
.nh-steps-sep { flex: 1; height: 2px; margin: 0 12px; background: #e5e7eb; transition: background-color 300ms ease; }
.nh-steps-item[data-state="complete"] .nh-steps-sep { background: #2563eb; }
@media (prefers-reduced-motion: reduce) { .nh-steps-indicator, .nh-steps-sep { transition: none; } }

/* accroches grises sur une seule ligne (2026-10-03) : « Comprendre les contextes avec Alto » dépasse la colonne d'environ 15 px,
   la place libre avant le formulaire suffit */
@media (min-width: 1024px) {
  .nh-tbox .nh-eyebrow { white-space: nowrap; }
}

/* « avec Alto » : logo « alto » de la home à la place du mot, en gris (couleur de l'accroche), posé sur la ligne de base
   (2026-10-03) */
.nh-alto-logo { display: inline-block; width: auto; height: 0.72em; margin-left: 0.04em; vertical-align: -0.025em; overflow: visible; }

/* fenêtre de l'étape (2026-10-03) : port natif du Popover Radix / shadcn (w-72 max 300 px, bordure, ombre légère, p-4,
   text-sm, entrée fondu + zoom 95 % + glissé du bas, côté haut, décalage 8 px) ; ouverte au clic ou au changement d'étape */
.nh-pop {
  position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 2;
  box-sizing: border-box; width: 300px; max-width: 300px; padding: 16px;
  border: 1px solid #e5e7eb; border-radius: 6px; color: var(--nh-ink); background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  font-size: 14px; line-height: 1.45; text-align: left;
  transform-origin: var(--nh-pop-origin, 50%) 100%;
  transition: opacity 150ms ease, transform 150ms ease;
}
.nh-pop[hidden] { display: none; }
/* pas la place au-dessus de la frise (écran bas, iPad en paysage, 2026-10-05) : fenêtre ouverte sous la frise */
.nh-pop[data-side="bottom"] { top: calc(100% + 8px); bottom: auto; transform-origin: var(--nh-pop-origin, 50%) 0; }
.nh-pop[data-side="bottom"][data-state="closed"] { transform: translateY(-8px) scale(0.95); }
.nh-pop[data-state="closed"] { opacity: 0; transform: translateY(8px) scale(0.95); }
.nh-pop[data-state="open"] { opacity: 1; transform: none; }
.nh-pop > * + * { margin-top: 8px; }
.nh-pop-title { margin: 0; font-weight: 500; }
.nh-pop-text { margin: 0; color: #6b7280; }
.nh-pop-note { display: flex; align-items: center; gap: 4px; margin-bottom: 0; }
.nh-pop-badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 5px; border-radius: 4px;
  color: #fff; background: #2563eb; font-size: 11px; font-weight: 500; line-height: 12px; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .nh-pop { transition: none; } }

/* logo « alto » des accroches en noir, comme le logo de la home (demande de l'utilisateur, 2026-10-03) ; le texte reste gris */
.nh-eyebrow .nh-alto-logo, .nh-eye .nh-alto-logo { color: #000; }

/* iPad et tablettes (écran tactile, 2026-10-07, demande de l'utilisateur) : sous la frise 1 2 3 4, plus d'accroche ni de titre
   (la fenêtre de l'étape les recouvrait) ; restent la frise, les fenêtres 1 à 4 et les visuels (peluches). Ordinateur
   inchangé. Le titre reste lu par les lecteurs d'écran (.nh-head masqué visuellement, pas retiré). */
@media (min-width: 1024px) and (hover: none) and (pointer: coarse) {
  .nh-tbox .nh-eyebrow { display: none; }
  .nh-tbox > span { font-size: 0; line-height: 0; }   /* titre de l'étape : nœud texte, masqué sans toucher au visuel */
}

/* Carte noire de connexion (07/10) : composant « modern-login-signup » de la préhome Legal et Prisme, déplacé ici depuis
   views/annexes.css pour la pop-up Fonctionnement (« remplacer par le pop up noir sans ombres portées ») ; la carte
   blanche (.nh-auth-card) cède la place à droite, même emplacement, sans ombre. */
/* carte du composant, valeurs reprises telles quelles */
.lxp-card {
  box-sizing: border-box; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px;
  padding: 2rem; border: 1px solid #222; border-radius: 12px; background: #121212;
  color: #fff; font-family: 'Inter', -apple-system, sans-serif;
}
.lxp-pane { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 360px; text-align: center; }
.lxp-pane[hidden] { display: none; }
/* Prophetic Orchestra en blanc à la place de « JS », réduit de 15 % le 07/10 (90 px → 76,5 px de large) */
.lxp-card-logo.prophetic-logo { margin: 0 0 .75rem; font-size: 18.33px; gap: 3.57px; color: #fff; }
.lxp-card-logo .brand-orchestra { filter: brightness(0) invert(1); }
.lxp-card-title { margin: 0 0 .85rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.025em; color: #fff; }   /* sans sous-titre gris (07/10) */
.lxp-form { display: flex; flex-direction: column; gap: .65rem; width: 100%; margin: 0; }
.lxp-input {
  box-sizing: border-box; width: 100%; padding: .65rem .85rem; border: 1px solid #333; border-radius: 6px; outline: none;
  background: #000; color: #fff; font: inherit; font-size: .875rem;
}
.lxp-btn {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
  padding: .65rem; border-radius: 6px; font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer;
}
.lxp-btn svg { flex-shrink: 0; width: 16px; height: 16px; }
.lxp-btn-primary { border: none; background: #ededed; color: #000; }
.lxp-btn-social { margin-bottom: .4rem; border: 1px solid #333; background: transparent; color: #fff; }
.lxp-btn-social:last-of-type { margin-bottom: 0; }
.lxp-btn:focus-visible, .lxp-switch-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lxp-sep { width: 100%; height: 1px; margin: .85rem 0; background: #222; }
.lxp-switch { margin-top: 1.25rem; font-size: .875rem; color: #888; }
.lxp-switch-btn { padding: 0; border: none; background: none; color: #fff; font-family: inherit; font-size: inherit; font-weight: 500; cursor: pointer; }
/* 17/10 : « sur les pop up pré home des verticales en taille de font inférieur : En continuant, vous acceptez […] » : 12 → 10,5 px */
.lxp-card-foot { margin-top: .85rem; font-size: .65625rem; line-height: 1.45; color: #666; text-align: center; }
.lxp-card-foot a { color: #888; }
.nh-auth-card.lxp-card { max-width: 400px; padding: 2rem; border: 1px solid #222; border-radius: 12px; color: #fff; background: #121212; box-shadow: none; }
