@property --tx {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
@property --ty {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
@property --sc {
  syntax: '<color>';
  inherits: false;
  initial-value: transparent;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
html.dark,
html.dark body {
  background: #0f141b;
}
body {
  width: 1440px;
  min-height: 100vh;
  overflow-x: hidden;
}
.theme {
  position: relative;
  width: 1440px;
}
.theme[hidden] {
  display: none;
}
.page {
  position: relative;
  width: 1440px;
  height: 7798px;
  overflow: hidden;
}
.sec {
  display: contents;
}
.n,
.t {
  position: absolute;
}
.t > div {
  display: block;
  font-size: 0;
  line-height: 0;
}
.svg {
  position: absolute;
  pointer-events: none;
}
.svg svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.gs {
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.ix {
  display: contents;
}
.rx {
  cursor: pointer;
}
.sec:not(.run) * {
  animation-play-state: paused !important;
}
.fixmenu {
  position: fixed;
  left: 0;
  top: 0;
  width: 1440px;
  height: 76px;
  z-index: 50;
}
/* the box ends 12px under the ring, as on its right side (the duration pill that used the extra room is
   gone), so the ring sits the same distance from the right and the bottom of the window */
.fixbub {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 128px;
  height: 124px;
  z-index: 60;
}
.fixbub > [data-node-id],
.fixbub > .ix > [data-node-id] {
  left: 0 !important;
  top: 0 !important;
}
.fixbub .rx {
  transform-origin: 64px 60px;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (hover: hover) {
  .fixbub:hover .rx {
    transform: scale(1.12);
  }
}
/* lightbox (same spec as the earlier code layer) */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb[hidden] {
  display: none;
}
.lb-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lb-dialog {
  position: relative;
  width: min(78vw, calc((100vh - 96px) * 16 / 9));
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  background: #000;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lb.open .lb-veil,
.lb.open .lb-dialog {
  opacity: 1;
  transform: none;
}
.lb video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.lb-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #1d2939;
  font:
    500 16px 'IBM Plex Sans',
    sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* theme switch: in-place wipe (Relume timing) */
::view-transition-old(root) {
  animation: none;
}
::view-transition-new(root) {
  animation: tx-wipe 0.7s ease-in-out;
}
@keyframes tx-wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
  }
  ::view-transition-new(root) {
    animation: none;
  }
}

/* hero screen = play zone (from the hero video code layer 1338:3845) */
.hzone {
  position: absolute;
  left: 272px;
  top: 600px;
  width: 896px;
  height: 544px;
  border-radius: 28px;
  cursor: pointer;
  outline: none;
  z-index: 5;
}
.hzone:focus-visible {
  box-shadow: 0 0 0 3px #4097ff;
}
.hplay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.hplay svg {
  width: 60px;
  height: 60px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 6.67px 10px rgba(10, 23, 64, 0.25));
}
.hzone:hover .hplay,
.hzone:focus-visible .hplay {
  opacity: 1;
  transform: scale(1);
}
.hzone:hover .hplay {
  transform: scale(1.05);
}
@media (hover: none) {
  .hplay {
    opacity: 1;
    transform: scale(1);
  }
}

/* hero tab bar: click a tab to jump the demo to that module (hover + pressed feedback) */
.htabs {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 6;
}
.htab {
  position: absolute;
  top: 548px;
  width: 164px;
  height: 36px;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.htab:focus-visible {
  outline: 2px solid #4097ff;
  outline-offset: 2px;
}
/* S4 tabs: pressed state on top of the Figma hover state */
.s4tab {
  transition:
    transform 0.12s ease,
    filter 0.12s ease;
  transform-origin: center;
}
.s4tab:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}
html.dark .s4tab:active {
  filter: brightness(1.15);
}

/* footer social links (replace the two 20px outline marks; + Instagram) */
.social {
  position: absolute;
  left: 180px;
  top: 326px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #1d2939;
  box-shadow: inset 0 0 0 1px #d0d5dd;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  text-decoration: none;
}
.social a svg {
  width: 18px;
  height: 18px;
  display: block;
}
.social a:hover {
  color: #fff;
  box-shadow: none;
  transform: translateY(-1px);
}
.social a.li:hover {
  background: #0a66c2;
}
.social a.fb:hover {
  background: #1877f2;
}
.social a.ig:hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.social a:active {
  transform: scale(0.95);
}
.social a:focus-visible {
  outline: 2px solid #4097ff;
  outline-offset: 2px;
}
html.dark .social a {
  background: #1a212b;
  color: #f2f4f7;
  box-shadow: inset 0 0 0 1px #2a3441;
}
html.dark .social a:hover {
  color: #fff;
  box-shadow: none;
}

/* video bubble: original Figma play icon, just larger (36 -> 48px), centred on the thumbnail */
.fixbub [data-k='/Bouton lecture'],
.m-bub [data-k='/Bouton lecture'] {
  transform: scale(1.3333);
  transform-origin: 50% 50%;
  transition:
    transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.25s ease;
}
/* the play button appears on hover (or keyboard focus); touch screens, which cannot hover, keep it shown */
@media (hover: hover) {
  .fixbub [data-k='/Bouton lecture'],
  .m-bub [data-k='/Bouton lecture'] {
    opacity: 0;
    transform: scale(1.05);
  }
  .fixbub:hover [data-k='/Bouton lecture'],
  .fixbub:focus-within [data-k='/Bouton lecture'],
  .m-bub:hover [data-k='/Bouton lecture'],
  .m-bub:focus-visible [data-k='/Bouton lecture'] {
    opacity: 1;
    transform: scale(1.3333);
  }
}

/* S1 logo carousel */
.logo-row {
  position: absolute;
  left: 0;
  top: 0;
  width: 1120px;
  height: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.logo-strip {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: max-content;
  height: 64px;
  animation: logo-scroll 60s linear infinite;
  will-change: transform;
}
@keyframes logo-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.logo-set {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  height: 64px;
}
/* Client logos: grey like the design, their real colours on hover (the strip pauses so the logo stays
   under the pointer). On the dark theme a logo in colour sits on a white chip, so dark logos stay legible. */
.tx-logo {
  display: block;
  max-width: none;
  filter: grayscale(1) contrast(1.35) brightness(0.62);
  opacity: 0.85;
  border-radius: 6px;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
html.dark .tx-logo {
  filter: grayscale(1) invert(1);
  opacity: 0.7;
}
@media (hover: hover) {
  .logo-row:hover .logo-strip,
  .m-marq:hover .m-marq-track > div {
    animation-play-state: paused;
  }
  .tx-logo:hover {
    filter: none;
    opacity: 1;
  }
  html.dark .tx-logo:hover {
    filter: none;
    opacity: 1;
    background-color: #fff;
    box-shadow: 0 0 0 6px #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-strip {
    animation: none;
  }
}

/* S4 feature cards: no hover state; pressed feedback on click */
.s4card {
  cursor: pointer;
  transition: box-shadow 0.12s ease;
}
.s4card:active {
  box-shadow: inset 0 0 0 999px rgba(16, 24, 40, 0.04);
}
html.dark .s4card:active {
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.05);
}
/* S4: the animated content layer covers the module tabs -> let clicks through it, keep cards and buttons clickable */
[data-k^='/Contenu animé'] {
  pointer-events: none;
}
[data-k^='/Contenu animé'] .ix > * {
  pointer-events: auto;
}
[data-node-id='1130:11137'] [data-k^='/Libellé'],
[data-node-id='1446:39903'] [data-k^='/Libellé'] {
  cursor: pointer;
}

/* FAQ accordion */
.faq-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.faq-row:hover,
.faq-row.hovering {
  background-color: #f7f9fa !important;
}
.faq-row:active,
.faq-row.pressing {
  background-color: #ecf0f4 !important;
  transition-duration: 0.05s;
}
.faq-row:active .faq-plus,
.faq-row:active .faq-minus,
.faq-row.pressing .faq-plus,
.faq-row.pressing .faq-minus {
  scale: 0.85;
}
.faq-plus,
.faq-minus {
  transition-property: transform, opacity, scale;
}
.faq-row:focus-visible {
  outline: 2px solid #4097ff;
  outline-offset: -2px;
}
html.dark .faq-row:hover,
html.dark .faq-row.hovering {
  background-color: rgba(255, 255, 255, 0.04) !important;
}
html.dark .faq-row:active,
html.dark .faq-row.pressing {
  background-color: rgba(255, 255, 255, 0.09) !important;
}
.faq-a {
  position: absolute;
  left: 58px;
  top: 51px;
  width: 568px;
  font:
    400 15px/24px 'IBM Plex Sans',
    sans-serif;
  color: #4f5154;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
html.dark .faq-a {
  color: #98a2b3;
}
.faq-row.open .faq-a {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.faq-plus {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}
.faq-row.open .faq-plus {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-minus {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: rotate(-90deg);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}
.faq-minus::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  border-radius: 1px;
  background: #667085;
}
html.dark .faq-minus::before {
  background: #98a2b3;
}
.faq-row.open .faq-minus {
  opacity: 1;
  transform: none;
}
/* hand cursor over the "Tarifs" links (their click layer sits elsewhere) */
.fixmenu .t,
.page .t {
  cursor: inherit;
}
/* menu "Tarifs" real link: same hover pill as the other menu items */
.fixmenu .tarlink {
  mix-blend-mode: multiply;
  transition: background-color 0.15s ease;
}
.fixmenu .tarlink:hover {
  background: #f7f7f7;
}
html.dark .fixmenu .tarlink {
  mix-blend-mode: screen;
}
html.dark .fixmenu .tarlink:hover {
  background: #161c25;
}
.fixmenu .tarlink:focus-visible {
  outline: 2px solid #4097ff;
  outline-offset: 1px;
}
/* divider under the fixed menu */
.fixmenu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid #eaecf0;
  pointer-events: none;
  z-index: 6;
}
html.dark .fixmenu::after {
  background: #0f141b;
  border-bottom-color: #232c38;
}
/* interaction pass: no hand cursor on the auto-playing S4 container itself (only on its clickable parts) */
.rx[data-r*='AFTER_TIMEOUT']:not([data-r*='CLICK']):not([data-r*='HOVER']):not(
    [data-r*='MOUSE_ENTER']
  ) {
  cursor: auto;
}
/* pressed state for buttons, pills and menu items (also applies to their hover copies) */
.press,
.press-ix > * {
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.press:active,
.press-ix:active > * {
  transform: scale(0.97);
}
.fixmenu .tarlink:active {
  background: #eceff3;
}
html.dark .fixmenu .tarlink:active {
  background: #1e2631;
}
.fixmenu .tarlink {
  transition: background-color 0.15s ease;
}
/* Mensuel / Annuel sliding knob */
.per-knob {
  position: absolute;
  z-index: 0;
  border-radius: 9999px;
  pointer-events: none;
}
.per-knob.on {
  transition:
    left 0.32s cubic-bezier(0.45, 0, 0.2, 1),
    width 0.32s cubic-bezier(0.45, 0, 0.2, 1);
}
/* footer links: hand cursor + hover */
.flink {
  cursor: pointer !important;
  transition: color 0.15s ease;
}
.flink:hover span {
  color: #0a3ac2 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html.dark .flink:hover span {
  color: #8da2ff !important;
}
.flink:focus-visible {
  outline: 2px solid #4097ff;
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .press,
  .press-ix > *,
  .per-knob.on {
    transition: none;
  }
}
html.per-hover,
html.per-hover * {
  cursor: pointer !important;
}
html.link-hover,
html.link-hover * {
  cursor: pointer !important;
}
.flink.is-hover span {
  color: #0a3ac2 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html.dark .flink.is-hover span {
  color: #8da2ff !important;
}
/* S4 module switch: hand cursor on the whole tab (pill + tab background), and the autoplay progress fill disappears once the visitor takes over */
[data-node-id='1130:11137'] [data-k^='/Pill — onglet actif'],
[data-node-id='1446:39903'] [data-k^='/Pill — onglet actif'],
[data-node-id='1130:11137'] [data-k^='/Fond — Onglet'],
[data-node-id='1446:39903'] [data-k^='/Fond — Onglet'],
[data-node-id='1130:11137'] [data-k^='/Onglets — piste'] *,
[data-node-id='1446:39903'] [data-k^='/Onglets — piste'] * {
  cursor: pointer;
}
[data-k^='/Pill — onglet actif/Progressi'] {
  transition: opacity 0.25s ease;
}
.s4-user [data-k^='/Pill — onglet actif/Progressi'] {
  opacity: 0 !important;
}
/* S4 module tabs: hand cursor in every state (normal copy, hover copy "Survol", active pill) */
.s4tab-ix,
.s4tab-ix * {
  cursor: pointer !important;
}
[data-node-id='1130:11137'] [data-k^='/Survol'],
[data-node-id='1130:11137'] [data-k^='/Survol'] *,
[data-node-id='1446:39903'] [data-k^='/Survol'],
[data-node-id='1446:39903'] [data-k^='/Survol'] * {
  cursor: pointer !important;
}
.hand-ix > *,
.hand-ix > * * {
  cursor: pointer !important;
}

/* dark S4 card: "Explorer la … →" hover pill turns dark, so its label turns light */
.ec4i .ec4h {
  color: rgba(242, 244, 247, 1);
}

/* .ix state wrappers get a real box (no display:contents) so every renderer — incl. Figma's canvas — lays them out like a browser */
.ix.ixa {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.ix.ixr {
  display: grid;
  position: relative;
  flex-shrink: 0;
}
.ix.ixs {
  display: grid;
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
}
/* the wrapper itself is click-through, its content is not (same hit-testing as display:contents) */
.ix.ixa > * {
  pointer-events: auto;
}
.svg .ix.ixa > *,
.gs .ix.ixa > *,
.hplay .ix.ixa > *,
[style*='pointer-events: none'] .ix.ixa > *:not([data-r]):not(.rx) {
  pointer-events: none;
}
/* "Et ensuite" banner (section 04, all modules/themes): small rounded corners */
[data-k$='/Colonne 4/Cellule CTA'] {
  border-radius: 8px;
  overflow: hidden;
}

/* video bubble: the gradient ring fills over a muted track in the launch video's real length (49.4 s,
   assets/video/lancement.mp4), then starts again. Desktop .fixbub and its mobile copy .m-bub. No duration
   pill under it. */
@property --bub-p {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes bub-progress {
  from {
    --bub-p: 0deg;
  }
  to {
    --bub-p: 360deg;
  }
}
.fixbub [data-k='/Anneau dégradé'],
.m-bub [data-k='/Anneau dégradé'] {
  background: conic-gradient(transparent var(--bub-p), #e4e7ec 0),
    linear-gradient(
      42.27deg,
      rgba(232, 255, 253, 1) -6.41%,
      rgba(21, 229, 214, 1) 15.76%,
      rgba(64, 151, 255, 1) 42.02%,
      rgba(10, 58, 194, 1) 99.42%
    ) !important;
  animation: bub-progress 49.4s linear infinite;
}
html.dark .fixbub [data-k='/Anneau dégradé'],
html.dark .m-bub [data-k='/Anneau dégradé'] {
  background: conic-gradient(transparent var(--bub-p), #2d3847 0),
    linear-gradient(
      42.27deg,
      rgba(11, 74, 70, 1) -6.41%,
      rgba(12, 143, 134, 1) 15.76%,
      rgba(34, 87, 168, 1) 42.02%,
      rgba(68, 57, 122, 1) 86.01%,
      rgba(10, 39, 128, 1) 99.42%
    ) !important;
}
@media (prefers-reduced-motion: reduce) {
  .fixbub [data-k='/Anneau dégradé'],
  .m-bub [data-k='/Anneau dégradé'] {
    animation: none;
    --bub-p: 360deg;
  }
}

.fixbub [data-k='/Durée'],
.m-bub [data-k='/Durée'] {
  display: none !important;
}

/* module icons (the app's own: Comptabilité, Facturation, Paie): the ring around the Paie "$" badge takes
   the colour of the surface behind it */
html.dark {
  --tx-ico-gap: #1a212b;
}
