/* ===== Triodax landing — tablet, small laptop & mobile (< 1200 px) =====
   Re-flows the desktop components (cloned) on the desktop grid; values below are measured on the desktop page. */
#mob {
  display: none;
}
html.mob {
  zoom: 1 !important;
}
html.mob body {
  margin: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  overflow-x: clip !important;
  background: #fff;
}
html.mob.dark body {
  background: #0f141b;
}
html.mob .theme,
html.mob .fixmenu,
html.mob .fixbub {
  display: none !important;
}
html.mob #mob {
  display: block;
}
#mob {
  --bg: #ffffff;
  --cell: #ffffff;
  --line: #edeff2;
  --line2: #d0d5dd;
  --fg: #1d2939;
  --fg2: #4f5154;
  --fg3: #8c8d90;
  --soft: #f2f3f5;
  --btn: #1d2939;
  --btnt: #ffffff;
  --btnh: #344054;
  --ghost: #ffffff;
  --ph: #aeb0b3;
  --blue: #4097ff;
  --navy: #0a3ac2;
  --teal: #15e5d6;
  font-family:
    'IBM Plex Sans',
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.dark #mob {
  --bg: #0f141b;
  --cell: #0f141b;
  --line: #1e2632;
  --line2: #2f3a48;
  --fg: #f2f4f7;
  --fg2: #c3cad5;
  --fg3: #8a94a6;
  --soft: #1a212b;
  --btn: #f2f4f7;
  --btnt: #0f141b;
  --btnh: #d0d5dd;
  --ghost: #0f141b;
  --ph: #6b7686;
}
#mob *,
#mob *::before,
#mob *::after {
  box-sizing: border-box;
}
:where(#mob) a {
  color: inherit;
  text-decoration: none;
}
:where(#mob) button {
  font: inherit;
  color: inherit;
}
html.dark #mob .m-lt,
html:not(.dark) #mob .m-dk {
  display: none !important;
}
.m-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* desktop grid behind everything (56 px squares) */
.m-main {
  background-color: var(--bg);
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
}

/* --- cloned pieces --- */
.m-txt {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
}
.m-txt * {
  white-space: normal !important;
}
.m-fit {
  position: relative;
  overflow: visible;
}
.m-fit-in {
  position: relative;
  transform-origin: 0 0;
}
.m-fit.m-center {
  margin-left: auto;
  margin-right: auto;
}
.m-gi {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.m-flow {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  margin-top: 28px;
}
.m-flow * {
  position: static !important;
  width: auto !important;
  height: auto !important;
}
.m-flow > * {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.m-btnc {
  margin-top: 24px;
}
.m-btnc > * {
  position: relative !important;
  left: auto !important;
  top: auto !important;
}
.m-btnc * {
  cursor: pointer;
}

/* --- header (desktop menu style) --- */
.m-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.m-top .m-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.m-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
}
.m-logo svg {
  width: 112px;
  height: auto;
  display: block;
}
.m-sp {
  flex: 1;
}
.m-nav,
.m-top .m-login-top,
.m-top .m-cta-top {
  display: none;
}
.m-nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  height: 36px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--fg);
}
.m-nav a:hover {
  background: var(--soft);
}
.m-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 9999px;
  background: var(--btn);
  color: var(--btnt) !important;
  font:
    400 16px/1 'IBM Plex Sans',
    system-ui,
    sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.16s ease,
    transform 0.12s ease;
}
.m-pill:hover {
  background: var(--btnh);
}
.m-pill:active {
  transform: scale(0.97);
}
.m-pill.ghost {
  background: var(--ghost);
  color: var(--fg) !important;
  box-shadow: inset 0 0 0 1px var(--line2);
}
.m-pill.ghost:hover {
  background: var(--soft);
}
.m-pill.full {
  width: 100%;
  height: 48px;
}
.m-ib {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: var(--cell);
  cursor: pointer;
  color: var(--fg);
}
.m-ib svg {
  width: 18px;
  height: 18px;
}
.m-drawer {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 49;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
  overflow: auto;
}
.m-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.m-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.m-drawer nav a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.m-drawer nav a::after {
  content: '→';
  color: var(--fg3);
}
.m-drawer .m-acts {
  display: grid;
  gap: 10px;
  padding: 20px 0 32px;
}
html.m-lock {
  overflow: hidden;
}

/* --- sections --- */
.m-sec {
  padding: 56px 0;
}
.m-sec + .m-sec {
  padding-top: 0;
}
.m-center-sec .m-wrap {
  text-align: center;
}
.m-eb {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 24px;
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  margin-bottom: 0;
}
.m-eb i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 0.5px;
  background: linear-gradient(90deg, #a28feb, #4097ff);
  z-index: 1;
}
.m-eb .tl {
  left: -3px;
  top: -3px;
}
.m-eb .tr {
  right: -3px;
  top: -3px;
}
.m-eb .bl {
  left: -3px;
  bottom: -3px;
}
.m-eb .br {
  right: -3px;
  bottom: -3px;
}
.m-head {
  position: relative;
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  padding: 28px 24px;
}
.m-head.m-c {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.m-scrib {
  line-height: 0;
  margin-top: 2px;
}
.m-scrib svg {
  width: 276px;
  max-width: 80%;
  height: 9px;
}
.m-cell {
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
}
.m-pad {
  padding: 28px 24px;
}
.m-pad .m-head {
  padding: 0;
  outline: 0;
  background: none;
}
.m-lead {
  margin-top: 16px;
}

/* hero */
.m-hero {
  padding: 48px 0 40px;
  text-align: center;
}
.m-hero .m-pair > * {
  margin-left: auto;
  margin-right: auto;
}
.m-h1 {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.32em;
}
.m-h1 .m-l2 {
  flex-basis: 100%;
}
.m-hero .m-lead {
  margin: 18px auto 0;
  max-width: 640px;
}
.m-mail {
  margin: 28px auto 0;
  max-width: 560px;
  padding: 16px 20px;
  background: var(--cell);
  border-radius: 20px;
  outline: 1px solid var(--line2);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 41, 0.05);
}
.m-mail-in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 4px 4px 4px 20px;
  border-radius: 28px;
  background: var(--soft);
}
.m-mail input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font:
    400 16px/1 'IBM Plex Sans',
    system-ui,
    sans-serif;
  color: var(--fg);
  outline: none;
}
.m-mail input::placeholder {
  color: var(--ph);
}
.m-mail .m-pill {
  height: 40px;
}
.m-htabs {
  margin-top: 28px;
}
.m-device {
  margin-top: 14px;
}

/* logos */
.m-logos {
  padding-bottom: 40px;
}
.m-marq {
  margin-top: 0;
  padding: 20px 0;
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.m-marq div {
  display: flex;
  width: max-content;
  animation: mmarq 40s linear infinite;
}
.m-marq img {
  height: 32px;
  width: auto;
  max-width: none;
}
@keyframes mmarq {
  to {
    transform: translateX(-50%);
  }
}

/* grids */
.m-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.m-grid > .m-gi {
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  padding: 8px 0;
}
.m-g4 > .m-gi {
  padding: 0;
}
.m-split {
  display: grid;
  grid-template-columns: 1fr;
}
.m-split > .m-gi {
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  overflow: hidden;
}
.m-who {
  display: grid;
  grid-template-columns: 1fr;
}
.m-who > .m-gi {
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
}

/* features tabs (desktop switcher) */
.m-ftabs {
  display: flex;
  gap: 4px;
  margin: 28px auto 0;
  padding: 4px;
  max-width: 520px;
  border-radius: 999px;
  background: var(--soft);
  outline: 1px solid var(--line);
}
.m-ftabs button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
}
.m-ftabs button i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.m-ftabs button[aria-selected='true'] {
  background: #4097ff;
  color: #fff;
}
.m-ftabs button[aria-selected='true'] i {
  display: none;
}
.m-fpanel {
  margin-top: 24px;
}

/* tarifs */
.m-tarhead .m-btnc {
  margin-top: 24px;
}
.m-calc {
  display: block;
  width: 100%;
  min-height: 600px;
  margin-top: 24px;
  border: 0;
  background: transparent;
  color-scheme: normal;
}

/* faq */
.m-faqlist {
  margin-top: 0;
}
.m-q {
  border-top: 1px solid var(--line);
}
.m-q:first-child {
  border-top: 0;
}
.m-q button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.m-qi {
  flex: none;
  line-height: 0;
}
.m-qi svg {
  width: 20px;
  height: 20px;
}
.m-qq {
  flex: 1;
  min-width: 0;
}
.m-q button > i {
  width: 20px;
  height: 20px;
  flex: none;
  position: relative;
}
.m-q button > i::before,
.m-q button > i::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: 9.5px;
  height: 1.4px;
  background: var(--fg3);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.m-q button > i::after {
  transform: rotate(90deg);
}
.m-q.open button > i::after {
  transform: rotate(0);
}
.m-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.m-a > div {
  overflow: hidden;
}
.m-a p {
  margin: 0;
  padding: 0 20px 18px 52px;
  font-size: 15px;
  line-height: 24px;
  color: var(--fg2);
}
.m-q.open .m-a {
  grid-template-rows: 1fr;
}

/* demo form (desktop values) */
.m-form {
  margin-top: 24px;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(160deg, #4097ff, #0a3ac2 45%, #3ccfc0);
}
.m-form form {
  border-radius: 10px;
  background: var(--cell);
  padding: 28px 24px;
}
.m-form h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
}
.m-fg {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.m-f {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.m-in {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: #fbfbfb;
  box-shadow: inset 0 0 0 1px #d0d5dd;
  padding: 0 12px;
  font:
    400 16px/24px 'IBM Plex Sans',
    system-ui,
    sans-serif;
  color: #1d2939;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
html.dark #mob .m-in {
  background: #11171e;
  box-shadow: inset 0 0 0 1px #2f3a48;
  color: #f2f4f7;
}
.m-in::placeholder {
  color: #98a2b3;
}
.m-in:focus {
  box-shadow:
    inset 0 0 0 1px #0a3ac2,
    0 0 0 3px rgba(10, 58, 194, 0.12);
}
textarea.m-in {
  height: 112px;
  padding: 8px 12px;
  resize: none;
}
select.m-in {
  padding-right: 36px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2398A2B3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
select.m-in:invalid {
  color: #98a2b3;
}
.m-f.err .m-in {
  box-shadow: inset 0 0 0 1px #d92d20;
}
.m-e {
  display: none;
  font-size: 12px;
  color: #d92d20;
}
.m-f.err .m-e {
  display: block;
}
.m-form .m-pill {
  margin-top: 20px;
  height: 40px;
}
.m-form small {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #4f5154;
}
html.dark #mob .m-form small {
  color: #8a94a6;
}
.m-spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: mspin 0.7s linear infinite;
}
@keyframes mspin {
  to {
    transform: rotate(360deg);
  }
}

/* footer */
.m-foot {
  padding-bottom: 32px;
}
.m-flogo {
  color: var(--fg);
  margin-bottom: 18px;
}
.m-flogo svg {
  width: 120px;
  height: auto;
  display: block;
}
.m-mail-foot {
  margin: 0;
  max-width: none;
  border-radius: 0;
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  box-shadow: none;
}
.m-social {
  margin: 0;
  padding: 16px 24px;
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  box-sizing: content-box;
}
.m-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
  padding: 28px 24px;
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
}
.m-cols h4 {
  margin: 0 0 12px;
  font:
    500 12px/1 'IBM Plex Mono',
    monospace;
  letter-spacing: 0.06em;
  color: var(--fg);
}
.m-cols a,
.m-cols span {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--fg2);
}
.m-band {
  padding: 48px 24px;
}
.m-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--fg2);
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
}
.m-legal b {
  width: 100%;
  font:
    500 11px/18px 'IBM Plex Mono',
    monospace;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--fg3);
}

/* --- phones: desktop type is large, scale the cloned text a little --- */
@media (max-width: 479px) {
  .m-h1 {
    zoom: 0.7;
  }
  .m-head {
    zoom: 0.82;
  }
  .m-lead {
    zoom: 0.9;
  }
  .m-hero .m-lead {
    zoom: 0.92;
  }
  .m-mail {
    padding: 10px;
  }
  .m-mail-in {
    flex-direction: column;
    height: auto;
    padding: 6px;
    border-radius: 16px;
    background: transparent;
  }
  .m-mail input {
    height: 44px;
    width: 100%;
    flex: none;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--soft);
  }
  .m-mail .m-pill {
    width: 100%;
    height: 44px;
  }
}
/* --- tablet --- */
@media (min-width: 640px) {
  .m-wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
  .m-g3,
  .m-g4 {
    grid-template-columns: 1fr 1fr;
  }
  .m-who {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .m-who > .m-gi:first-child {
    grid-column: 1/-1;
  }
  .m-fg {
    grid-template-columns: 1fr 1fr;
  }
  .m-f.full {
    grid-column: 1/-1;
  }
  .m-cols {
    grid-template-columns: repeat(4, 1fr);
  }
  .m-top .m-cta-top {
    display: inline-flex;
  }
}
@media (min-width: 860px) {
  .m-split {
    grid-template-columns: 1fr 1.05fr;
  }
}
/* --- small laptop / tablet landscape --- */
@media (min-width: 1024px) {
  .m-g3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .m-g4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .m-nav {
    display: flex;
    gap: 2px;
    margin-left: 18px;
  }
  .m-top .m-login-top {
    display: inline-flex;
  }
  .m-burger {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .m-marq div {
    animation: none;
  }
}

/* --- existing popups on small screens --- */
html.mob .txpop-card {
  top: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: 12px;
}
html.mob .txpop-scroll {
  padding: 60px 14px 20px;
}
html.mob .txpop-x {
  top: 10px;
  right: 10px;
}
@media (min-width: 640px) {
  html.mob .txpop-scroll {
    padding: 64px 28px 28px;
  }
}
/* centred headings (hero, 02, 04) — the desktop text boxes carry their own left alignment */
.m-h1 .m-txt,
.m-head.m-c .m-txt,
.m-hero .m-lead {
  text-align: center !important;
}
.m-h1 .m-txt > div,
.m-head.m-c .m-txt > div {
  justify-content: center !important;
  align-items: center !important;
}
/* Pour qui: the cell frame is drawn by the grid cell, not twice */
.m-who .m-fit-in > * {
  outline: none !important;
  box-shadow: none !important;
}
/* spacing between cloned text blocks (the clones carry an inline margin:0) */
#mob .m-lead {
  margin-top: 16px !important;
}
#mob .m-flow {
  margin-top: 28px !important;
}
#mob .m-flow * {
  white-space: normal !important;
  min-width: 0;
}
#mob .m-flow > * {
  display: grid !important;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
}
#mob .m-flow > *:not(:has(svg)) {
  grid-template-columns: 96px 1fr;
}
#mob .m-flow > *:only-child,
#mob .m-flow > .t {
  display: block !important;
}
/* footer social buttons (same component as desktop) */
.m-socrow {
  padding: 16px 24px;
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
}
#mob .m-socrow .social {
  position: static;
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .m-g3 > .m-gi:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
}
/* ≥ 1024: Pour qui in its desktop arrangement (heading cell + 3 cells in one row, same proportions) */
@media (min-width: 1024px) {
  .m-who {
    grid-template-columns: 392fr 242fr 242fr 242fr;
  }
  .m-who > .m-gi:first-child {
    grid-column: auto;
    align-items: center;
  }
}

/* ===== v3 — re-flowed sections (phones & tablets) ===== */
.m-fpanel[hidden] {
  display: none !important;
}
@media (max-width: 1023.98px) {
  .m-wide {
    display: none !important;
  }
  .m-whorow > .m-gi:not(:first-child) {
    display: none !important;
  }
  .m-whorow {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 1024px) {
  .m-narrow {
    display: none !important;
  }
}

/* section labels: one size everywhere (desktop: Plex Mono 15 px) */
#mob .m-eb .m-txt,
#mob .m-eb .m-txt * {
  font-size: 15px !important;
  line-height: 20px !important;
  letter-spacing: 0.6px !important;
}
@media (max-width: 479px) {
  #mob .m-eb {
    height: 48px;
    padding: 0 18px;
  }
  #mob .m-eb .m-txt,
  #mob .m-eb .m-txt * {
    font-size: 13px !important;
  }
}
/* headings: balanced lines, no orphan word */
#mob .m-head.m-c .m-txt,
#mob .m-head.m-c .m-txt *,
#mob .m-h1 .m-txt * {
  text-wrap: balance;
}

/* section 04 accordion */
.m-acc {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 24px;
}
.m-ai {
  background: var(--cell);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
}
.m-ah {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  min-height: 56px;
}
.m-aic {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
}
.m-aic > * {
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  width: 20px !important;
  height: 20px !important;
}
.m-aic svg {
  width: 100% !important;
  height: 100% !important;
}
.m-att {
  flex: 1;
  min-width: 0;
}
.m-chev {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--fg3);
  border-bottom: 1.5px solid var(--fg3);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.m-ai.open .m-chev {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.m-ai-flat .m-chev {
  opacity: 0.45;
}
.m-ab {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.m-ab > div {
  overflow: hidden;
}
.m-ai.open .m-ab {
  grid-template-rows: 1fr;
}
.m-abi {
  padding: 0 20px 22px 54px;
}
.m-abi .m-ad {
  margin: 0;
}
.m-abi .m-ail {
  margin: 18px auto 0;
}
.m-acc .m-next {
  margin: 0 auto;
}
.m-acc > .m-gi,
.m-acc > .m-fit.m-next {
  margin-top: 0;
}

/* Pour qui re-flowed cells */
.m-whoflow {
  display: grid;
  grid-template-columns: 1fr;
}
.m-rcell {
  padding: 24px;
}
.m-rcell > .m-txt {
  margin-top: 14px !important;
}
.m-rcell > .m-txt + .m-txt {
  margin-top: 8px !important;
}
.m-rcell > .m-vis {
  margin: 0;
}

@media (min-width: 640px) {
  .m-acc {
    display: block;
    column-count: 2;
    column-gap: 0;
  }
  .m-acc > * {
    break-inside: avoid;
  }
  .m-acc .m-next {
    column-span: all;
    margin-top: 0;
  }
  .m-whoflow {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== v4 — grid-aligned layout (as on desktop: boxes sit on the 56 px grid lines) ===== */
#mob .m-wrap {
  max-width: none !important;
  padding-left: var(--mpad, 20px) !important;
  padding-right: var(--mpad, 20px) !important;
}
#mob .m-main {
  background-position: var(--mpad, 0px) 0 !important;
}
#mob .m-top .m-wrap {
  padding-left: max(16px, var(--mpad, 20px)) !important;
  padding-right: max(16px, var(--mpad, 20px)) !important;
}
#mob .m-eb {
  justify-content: flex-start;
}
@media (max-width: 479px) {
  #mob .m-eb {
    height: 56px;
  }
}
/* sections start and end on grid rows */
#mob .m-sec {
  padding-top: 56px;
  padding-bottom: 56px;
}
#mob .m-sec + .m-sec {
  padding-top: 0;
}
#mob .m-hero {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* centred clones: their inline margin:0 must not cancel the centring */
#mob .m-hero .m-pair > *,
#mob .m-hero .m-lead {
  margin-left: auto !important;
  margin-right: auto !important;
}
#mob .m-hero .m-lead {
  max-width: 640px !important;
  text-align: center !important;
}
#mob .m-hero .m-lead * {
  text-align: center !important;
}

/* logo strip: framed cell, only the logo track fades at the edges */
#mob .m-marq {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  padding: 20px 0;
  overflow: hidden;
}
#mob .m-marq-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
#mob .m-marq-track > div {
  display: flex;
  width: max-content;
  animation: mmarq 40s linear infinite;
}

/* section 04: the re-flowed accordion up to 1199 px (consistent states), 3 flowing columns from 1024 */
@media (min-width: 1024px) {
  #mob .m-narrow {
    display: block !important;
  }
  #mob .m-narrow[hidden] {
    display: none !important;
  }
  #mob .m-wide {
    display: none !important;
  }
  .m-acc {
    column-count: 3 !important;
  }
  .m-whorow > .m-gi:not(:first-child) {
    display: flex !important;
  }
  #mob .m-whoflow {
    display: none !important;
  }
  #mob .m-who.m-whorow {
    display: grid !important;
  }
}
#mob .m-marq .m-marq-track {
  animation: none !important;
  width: auto !important;
  display: block !important;
}
/* each section carries its own grid, starting on its top edge: label boxes and rows land on the lines */
#mob .m-main {
  background-image: none !important;
}
#mob .m-sec {
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: var(--mpad, 0px) 0;
}
#mob .m-center-sec .m-eb {
  justify-content: center;
}
/* logo strip = 2 grid squares tall, logos centred */
#mob .m-marq {
  height: 112px;
  padding: 0 !important;
  display: flex;
  align-items: center;
}
#mob .m-marq .m-marq-track {
  width: 100% !important;
}

/* logo strip: logos at a readable size */
#mob .m-marq img {
  height: 36px !important;
}
@media (min-width: 640px) {
  #mob .m-marq img {
    height: 44px !important;
  }
}

/* ===== fixes 2026-11-18 (b) ===== */
/* Pour qui heading: aligned on the cards' left edge, not floating in the middle */
#mob .m-whorow .m-whohead {
  margin-left: 0 !important;
  margin-right: auto !important;
}
/* module cards: no desktop column divider, card centred in its cell */
#mob .m-g3 .m-card {
  margin-left: auto !important;
  margin-right: auto !important;
}
#mob .m-g3 .m-card .m-fit-in > * {
  box-shadow: none !important;
}
/* hero headline: "Comptabilité," / "facturation et paie" / upright line, instead of a lone "et paie" */
@media (max-width: 899.98px) {
  #mob .m-h1 > .m-txt:first-child {
    flex-basis: 100%;
  }
}

/* ===== video entry points + click/hover consistency (responsive layer) ===== */
/* hero: play zone over the product animation, as on desktop */
#mob .m-device {
  position: relative;
}
#mob .m-hzone {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  cursor: pointer;
  z-index: 3;
  outline: none;
}
#mob .m-hzone:focus-visible {
  box-shadow: 0 0 0 3px var(--blue);
}
#mob .m-hzone .hplay {
  opacity: 1;
  transform: scale(1);
}
#mob .m-hzone:hover .hplay {
  transform: scale(1.08);
}
@media (hover: hover) {
  #mob .m-hzone .hplay {
    opacity: 0;
    transform: scale(0.9);
  }
  #mob .m-hzone:hover .hplay,
  #mob .m-hzone:focus-visible .hplay {
    opacity: 1;
    transform: scale(1.05);
  }
}
/* hero tabs: real buttons over the drawn tabs */
#mob .m-htabs {
  position: relative;
}
#mob .m-htab-row {
  position: absolute;
  inset: 4px;
  display: flex;
  z-index: 2;
}
#mob .m-htab {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
#mob .m-htab:hover {
  background: rgba(64, 151, 255, 0.08);
}
#mob .m-htab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
/* floating video bubble (desktop .fixbub), bottom-right */
.m-bub {
  display: none;
}
html.mob .m-bub {
  display: block;
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 128px;
  height: 124px;
  z-index: 60;
  cursor: pointer;
  zoom: 0.8;
  outline: none;
}
html.mob.dark .m-bub.m-lt,
html.mob:not(.dark) .m-bub.m-dk {
  display: none;
}
html.mob .m-bub * {
  cursor: pointer;
}
.m-bub-in {
  position: relative;
  width: 128px;
  height: 124px;
}
.m-bub-in > *,
.m-bub-in > .ix > * {
  left: 0 !important;
  top: 0 !important;
}
.m-bub-in .rx {
  transform-origin: 64px 60px;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (hover: hover) {
  .m-bub:hover .m-bub-in .rx {
    transform: scale(1.12);
  }
}

.m-bub:focus-visible {
  box-shadow: 0 0 0 3px var(--blue);
  border-radius: 16px;
}
html.mob .trp.open ~ .m-bub,
html.mob.trp-lock .m-bub {
  display: none !important;
}
@media (min-width: 768px) {
  html.mob .m-bub {
    zoom: 1;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}
/* lightbox on small screens: full width video */
@media (max-width: 767.98px) {
  html.mob .lb-dialog {
    width: calc(100vw - 32px);
  }
}
#mob .m-ail,
#mob .m-ail * {
  cursor: default !important;
}
#mob .m-link,
#mob .m-link * {
  cursor: pointer;
}
/* one consistent hover for every CTA in the responsive layer */
#mob .m-hov {
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
#mob .m-hov * {
  cursor: pointer;
}
@media (hover: hover) {
  #mob .m-hov-dk:hover {
    background-color: #344054 !important;
  }
  #mob .m-hov-lt:hover {
    background-color: #f2f3f5 !important;
  }
  html.dark #mob .m-hov-lt:hover {
    background-color: #d0d5dd !important;
  }
  #mob .m-hov-tx:hover .t span {
    color: #0a3ac2 !important;
  }
  html.dark #mob .m-hov-tx:hover .t span {
    color: #8da2ff !important;
  }
  #mob .m-hov:active {
    transform: translateY(1px);
  }
}

/* ===== section 04 below 1200 px: swipeable row of full cards (behaviour studied on readme.com), our cards + 56 px grid kept ===== */
.m-det {
  display: none !important;
}
#mob .m-ah:focus {
  outline: none;
}
#mob .m-ah:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
#mob .m-acc {
  display: block !important;
  column-count: auto !important;
}
#mob .m-acc .m-list {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin-right: calc(-1 * var(--mpad, 20px));
  outline: none;
}
#mob .m-acc .m-list::-webkit-scrollbar {
  display: none;
}
#mob .m-acc .m-list::after {
  content: '';
  flex: 0 0 calc(var(--mcw, 336px) + var(--mpad, 20px) - var(--mcard, 280px));
}
#mob .m-acc .m-list:focus-visible {
  box-shadow: inset 0 0 0 2px var(--blue);
}
#mob .m-list .m-ai {
  flex: 0 0 var(--mcard, 280px);
  width: var(--mcard, 280px);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  box-shadow: none !important;
  background: var(--cell) !important;
}
#mob .m-list .m-ah {
  cursor: inherit;
  padding: 24px 24px 0;
  align-items: flex-start;
  min-height: 0;
}
#mob .m-list .m-chev {
  display: none;
}
#mob .m-list .m-ab {
  display: flex;
  flex: 1;
  grid-template-rows: none;
}
#mob .m-list .m-ab > div {
  display: flex;
  flex: 1;
  overflow: visible;
}
#mob .m-list .m-abi {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 24px 24px 58px;
}
#mob .m-list .m-abi .m-ail {
  margin: auto auto 0 !important;
  padding-top: 24px;
}
#mob .m-list .m-ai,
#mob .m-list .m-ai * {
  cursor: inherit !important;
}
@media (hover: hover) and (pointer: fine) {
  #mob .m-acc .m-list {
    cursor: grab;
  }
  #mob .m-acc .m-list.m-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }
}
#mob .m-side .m-next {
  display: block;
  margin: 0 !important;
}

/* ===== section 04, v2: built on the grid like the reference (tabs = grid cells, card band edge to edge) ===== */
/* module tabs: one row of grid cells, the selected one carries the blue pill */
#mob #m-features .m-ftabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 56px 0 0;
  padding: 0;
  max-width: none;
  border-radius: 0;
  background: var(--cell);
  outline: none;
}
#mob #m-features .m-ftabs button {
  position: relative;
  height: 56px;
  border-radius: 0;
  background: transparent !important;
  color: var(--fg);
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  z-index: 0;
  font-size: 14px;
  transition: color 0.25s ease;
}
#mob #m-features .m-ftabs button::before {
  content: '';
  position: absolute;
  inset: 10px 8px;
  border-radius: 999px;
  background: #4097ff;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}
#mob #m-features .m-ftabs button[aria-selected='true'] {
  color: #fff;
}
#mob #m-features .m-ftabs button[aria-selected='true']::before {
  opacity: 1;
  transform: none;
}
@media (hover: hover) {
  #mob #m-features .m-ftabs button[aria-selected='false']:hover {
    background: var(--soft) !important;
  }
}
#mob #m-features .m-ftabs button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
@media (max-width: 379.98px) {
  #mob #m-features .m-ftabs button {
    font-size: 13px;
    gap: 6px;
  }
}
/* card band: one grid row gap under the tabs, lines run from screen edge to screen edge, cards start on the content edge */
#mob #m-features .m-acc {
  margin-top: 56px !important;
}
#mob .m-acc .m-list {
  margin-left: calc(-1 * var(--mpad, 20px));
  padding-left: var(--mpad, 20px);
  scroll-padding-left: var(--mpad, 20px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
#mob .m-list .m-ai {
  outline: none !important;
  border-right: 1px solid var(--line);
}
#mob .m-list .m-ai:first-child {
  border-left: 1px solid var(--line);
}
/* card text, readable like the reference: title, then the description right under it */
#mob .m-list .m-ah {
  padding: 28px 24px 0;
  gap: 12px;
}
#mob .m-list .m-att .m-txt,
#mob .m-list .m-att .m-txt * {
  font-size: 17px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  color: var(--fg) !important;
}
#mob .m-list .m-abi {
  padding: 12px 24px 28px 24px;
}
#mob .m-list .m-abi .m-ad,
#mob .m-list .m-abi .m-ad * {
  font-size: 15px !important;
  line-height: 23px !important;
  color: var(--fg2) !important;
  font-weight: 400 !important;
}
#mob .m-side .m-next {
  margin-top: 56px !important;
}
#mob .m-list .m-abi .m-ail {
  margin: auto !important;
  padding-top: 24px;
}
/* hero title smaller on phones only (tablets + desktop unchanged) */
@media (max-width: 767.98px) {
  #mob .m-h1 {
    zoom: 0.84;
  }
}
@media (max-width: 479.98px) {
  #mob .m-h1 {
    zoom: 0.7;
  }
}
/* descriptions as plain text in our type (no copied desktop box) */
#mob .m-list .m-adp {
  margin: 0 !important;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 15px !important;
  line-height: 23px !important;
  color: var(--fg2) !important;
  white-space: normal;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
}
/* "Et ensuite" banner sits right under the card band */
#mob .m-side .m-next {
  margin-top: 0 !important;
}
#mob #m-features .m-acc .m-list {
  border-bottom: 0;
}
#mob .m-list .m-adp {
  text-align: left !important;
}

/* responsive clones keep the old transparent wrapper */
#mob .ix {
  display: contents !important;
  position: static !important;
}

/* client logos in the mobile strip: same spacing logic as desktop, sized by the strip's image height */
.m-marq .logo-set {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  height: auto;
}
