/* Localized first paint for the middle Rive section, « Fonctionnement » (2026-12-03). */
html:lang(fr) #landing-channels {
  --zg-roles-poster: url("/assets/motion/chat-poster-trio-fr-e0322c451ce1.webp");
  --zg-roles-alt: "Vous validez les heures de Hugo dans le widget Pointages, ou vous demandez ses heures à l’IA à la voix.";
  --zg-roles-eyebrow: "[ FONCTIONNEMENT ]";
  --zg-roles-title: "Vous, le Bureau et l’IA travaillent ensemble.";
  --zg-roles-body: "Vous agissez dans vos widgets ou vous parlez à l’IA, à l’écrit comme à la voix. Le Bureau montre ce que décident vos données et vos droits, et transmet à l’IA le dossier ouvert. L’IA prépare, propose et ouvre les bons widgets. C’est toujours vous qui décidez.";
}
html:lang(en) #landing-channels {
  --zg-roles-poster: url("/assets/motion/chat-poster-trio-en-3b87a35a4ecb.webp");
  --zg-roles-alt: "You approve Hugo’s hours in the Timesheets widget, or you ask the AI for his hours by voice.";
  --zg-roles-eyebrow: "[ HOW IT WORKS ]";
  --zg-roles-title: "You, your workspace and the AI work together.";
  --zg-roles-body: "You act in your widgets or talk to the AI, in writing or by voice. The workspace shows what your data and your rights decide, and passes the open folder to the AI. The AI prepares, suggests and opens the right widgets. You always decide.";
}
html:lang(es) #landing-channels {
  --zg-roles-poster: url("/assets/motion/chat-poster-trio-es-e02aa91f498c.webp");
  --zg-roles-alt: "Usted valida las horas de Hugo en el widget de fichajes, o pide sus horas a la IA por voz.";
  --zg-roles-eyebrow: "[ CÓMO FUNCIONA ]";
  --zg-roles-title: "Usted, el Escritorio y la IA trabajan juntos.";
  --zg-roles-body: "Usted actúa en sus widgets o habla con la IA, por escrito o por voz. El Escritorio muestra lo que deciden sus datos y sus derechos, y transmite a la IA el expediente abierto. La IA prepara, propone y abre los widgets adecuados. Usted siempre decide.";
}

html:is(:lang(fr), :lang(en), :lang(es)) #landing-channels .zg-l-anim--channels:not([data-rive-illustration]) {
  display: block;
  position: relative;
  min-height: 0;
  padding: 0;
  aspect-ratio: 5 / 3;
  background-image: var(--zg-roles-poster);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

html:is(:lang(fr), :lang(en), :lang(es)) #landing-channels .zg-l-anim--channels:not([data-rive-illustration]) > :not(.zg-rive-controls) {
  display: none;
}

html:is(:lang(fr), :lang(en), :lang(es)) #landing-channels .zg-l-anim--channels:not([data-rive-illustration])::before {
  content: var(--zg-roles-alt);
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html:is(:lang(fr), :lang(en), :lang(es)) #landing-channels:not([data-rive-copy]) :is(.zg-l-vision-eyebrow, .zg-l-vision-section-title, .zg-l-vision-section-body) .zg-text {
  display: none;
}

html:is(:lang(fr), :lang(en), :lang(es)) #landing-channels:not([data-rive-copy]) .zg-l-vision-eyebrow::before {
  content: var(--zg-roles-eyebrow);
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--zg-l-vision-accent);
}

html:is(:lang(fr), :lang(en), :lang(es)) #landing-channels:not([data-rive-copy]) .zg-l-vision-section-title::before {
  content: var(--zg-roles-title);
  display: block;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--zg-l-vision-ink);
}

html:is(:lang(fr), :lang(en), :lang(es)) #landing-channels:not([data-rive-copy]) .zg-l-vision-section-body::before {
  content: var(--zg-roles-body);
  display: block;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--zg-l-vision-muted);
}
