/* Triodax landing, phone and tablet layout (< 1024px).
   Same tokens as the desktop design: ink #1d2939, IBM Plex, grid lines #edeff2, logo colours for
   the three modules. Below 1024px the 1440px desktop canvas (#stage) is hidden. */

:root {
  --m-ink: #1d2939;
  --m-text: #4f5154;
  --m-muted: #8c8d90;
  --m-faint: #aeb0b3;
  --m-line: #edeff2;
  --m-border: #d0d5dd;
  --m-field: #fbfbfb;
  --m-compta: #73abe4;
  --m-paie: #a28feb;
  --m-fact: #77bbb5;
  --m-compta-ink: #2778ca;
  --m-paie-ink: #7a5fe2;
  --m-fact-ink: #41817b;
  --m-gutter: 20px;
  --m-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.m-page {
  display: none;
}

@media (max-width: 1023.98px) {
  .stage {
    display: none;
  }
  .m-page {
    display: block;
    font-family:
      'IBM Plex Sans',
      system-ui,
      -apple-system,
      'Segoe UI',
      sans-serif;
    color: var(--m-ink);
  }
  html {
    scroll-padding-top: 72px;
  }
}

/* ---------- shared ---------- */
.m-page main {
  max-width: 680px;
  margin: 0 auto;
}
.m-page section {
  padding: 56px var(--m-gutter);
  border-bottom: 1px solid var(--m-line);
}
.m-page p {
  margin: 0;
}
.m-page img {
  display: block;
  max-width: 100%;
}
.m-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.m-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  background: linear-gradient(147deg, #a28feb 32%, #73abe4 68%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px !important;
}
.m-eyebrow-sm {
  font-size: 10px;
  margin: 24px 0 10px !important;
}
.m-mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--m-text);
}
.m-h1 {
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
}
.m-h2 {
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.m-h2 em,
.m-h1 em {
  font-style: italic;
}
.m-h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 14px;
}
.m-text,
.m-lead {
  font-size: 16px;
  line-height: 26px;
  color: var(--m-text);
}
.m-lead {
  font-size: 17px;
}
.m-hand {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  line-height: 1.1;
  color: var(--m-text);
  margin-top: 24px !important;
  transform: rotate(-4deg);
}
.m-hand-right {
  text-align: right;
  margin: 0 0 8px !important;
}

/* Buttons and fields: antd sizes of the design (40px controls, pill shape) */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font:
    400 15px/1 'IBM Plex Sans',
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s var(--m-ease),
    border-color 0.25s var(--m-ease),
    color 0.25s var(--m-ease),
    scale 0.15s var(--m-ease);
  -webkit-tap-highlight-color: transparent;
}
.m-btn:active {
  scale: 0.97;
}
.m-btn-primary {
  background: var(--m-ink);
  border-color: var(--m-ink);
  color: #fff;
}
.m-btn-primary:hover {
  background: #344054;
  border-color: #344054;
}
.m-btn-default {
  background: #fff;
  border-color: var(--m-border);
  color: var(--m-ink);
}
.m-btn-default:hover {
  border-color: var(--m-ink);
  background: #f8f9fb;
}
.m-btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}
.m-btn-block {
  width: 100%;
}
.m-module .m-btn,
.m-role-detail .m-btn {
  margin-top: 20px;
}

.m-field {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--m-border);
  border-radius: 6px;
  background: var(--m-field);
  font:
    400 16px/24px 'IBM Plex Sans',
    sans-serif;
  color: var(--m-ink);
  outline: none;
  appearance: none;
  transition:
    border-color 0.25s var(--m-ease),
    box-shadow 0.25s var(--m-ease);
}
.m-field::placeholder {
  color: var(--m-faint);
}
.m-field:hover {
  border-color: var(--m-muted);
}
.m-field:focus {
  border-color: var(--m-compta);
  box-shadow: 0 0 0 3px rgba(115, 171, 228, 0.18);
}
.m-field:-webkit-autofill {
  -webkit-text-fill-color: var(--m-ink);
  transition: background-color 600000s 0s;
}
select.m-field {
  cursor: pointer;
  padding-right: 36px;
  background: var(--m-field)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238c8d90' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat right 14px center;
}
select.m-field:invalid {
  color: var(--m-faint);
}
textarea.m-field {
  height: auto;
  padding: 10px 14px;
  resize: none;
}

.m-checks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.m-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 20px;
  color: var(--m-text);
}
.m-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background: url('assets/2c6b523dd44db6d3299709af8190dfd8f3026f62.svg') no-repeat center / 18px;
}

/* Horizontal card rail with snap */
.m-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 28px calc(-1 * var(--m-gutter)) 0;
  padding: 6px var(--m-gutter) 18px;
  scroll-padding-inline: var(--m-gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.m-scroller::-webkit-scrollbar {
  display: none;
}
.m-scroller > * {
  scroll-snap-align: start;
  flex: none;
}
.m-clone {
  position: relative;
}

/* ---------- header and menu ---------- */
.m-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 var(--m-gutter);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--m-line);
}
.m-logo {
  margin-right: auto;
}
.m-logo img {
  width: 124px;
  height: auto;
}
.m-burger {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.m-burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--m-ink);
  transition: transform 0.3s var(--m-ease);
}
.m-burger[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.m-burger[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.m-menu {
  position: fixed;
  inset: 64px 0 auto;
  z-index: 59;
  display: grid;
  padding: 8px var(--m-gutter) 24px;
  background: #fff;
  border-bottom: 1px solid var(--m-line);
  box-shadow: 0 16px 32px -16px rgba(15, 23, 41, 0.18);
  opacity: 0;
  translate: 0 -8px;
  visibility: hidden;
  transition:
    opacity 0.25s var(--m-ease),
    translate 0.25s var(--m-ease),
    visibility 0.25s;
}
.m-menu.is-open {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
}
.m-menu > a {
  padding: 14px 0;
  font-size: 17px;
  color: var(--m-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--m-line);
}
.m-menu-ctas {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.m-menu-ctas .m-btn {
  height: 44px;
}

/* ---------- hero ---------- */
.m-hero {
  text-align: center;
  padding-top: 40px !important;
  background: linear-gradient(
      #fff 0,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0) 70%,
      #fff 100%
    ),
    repeating-linear-gradient(90deg, var(--m-line) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, var(--m-line) 0 1px, transparent 1px 40px);
}
.m-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--m-border);
  background: #f8f9fb;
  font:
    500 11px/1.4 'IBM Plex Sans',
    sans-serif;
  letter-spacing: 0.3px;
  color: var(--m-ink);
}
.m-lead {
  max-width: 30em;
  margin: 0 auto !important;
}
.m-action-card {
  margin: 28px auto 0;
  max-width: 480px;
  padding: 14px;
  border: 1px solid var(--m-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px -8px rgba(15, 23, 41, 0.1);
  text-align: left;
}
.m-action-tabs {
  display: flex;
  gap: 4px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--m-line);
}
.m-action-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--m-text);
  text-decoration: none;
  transition: background-color 0.25s var(--m-ease);
}
.m-action-tab:hover,
.m-action-tab.is-active {
  background: rgba(29, 41, 57, 0.08);
  color: var(--m-ink);
}
.m-trial {
  display: grid;
  gap: 10px;
}
.m-trial .m-field {
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
}
.m-trial .m-btn {
  height: 44px;
}
.m-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--m-border);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}
.m-chip-compta {
  color: var(--m-compta-ink);
  background: rgba(115, 171, 228, 0.1);
  border-color: rgba(115, 171, 228, 0.45);
}
.m-chip-paie {
  color: var(--m-paie-ink);
  background: rgba(162, 143, 235, 0.1);
  border-color: rgba(162, 143, 235, 0.45);
}
.m-chip-fact {
  color: var(--m-fact-ink);
  background: rgba(119, 187, 181, 0.12);
  border-color: rgba(119, 187, 181, 0.5);
}

/* ---------- confiance ---------- */
.m-logos {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--m-line);
  border-left: 1px solid var(--m-line);
}
.m-logos li {
  display: grid;
  place-items: center;
  height: 92px;
  padding: 18px;
  border-right: 1px solid var(--m-line);
  border-bottom: 1px solid var(--m-line);
}
.m-logo-clone {
  width: 132px;
  height: 40px;
  display: grid;
  place-items: center;
}
.m-logo-clone > * {
  zoom: 0.75;
}
@media (min-width: 600px) {
  .m-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- la solution ---------- */
.m-manifesto {
  display: grid;
  gap: 18px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}
.m-manifesto-2 {
  color: var(--m-text);
}
.m-manifesto-3 {
  color: var(--m-faint);
}
.m-ico {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  vertical-align: -3px;
}
.m-ico img {
  width: 13px;
  height: 13px;
  filter: brightness(0) invert(1);
}
.m-ico-paie {
  background: var(--m-paie);
}
.m-ico-fact {
  background: var(--m-fact);
}
.m-ico-compta {
  background: var(--m-compta);
}
.m-docs .m-clone {
  width: 209px;
  height: 112px;
}
.m-docs .m-clone:last-child {
  width: 224px;
  height: 128px;
}

/* ---------- modules ---------- */
.m-underline {
  font-style: italic;
  color: var(--m-compta);
  text-decoration: underline 2px;
  text-decoration-color: rgba(115, 171, 228, 0.55);
  text-underline-offset: 6px;
}
.m-segmented {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 20px;
  padding: 4px;
  border: 1px solid var(--m-border);
  border-radius: 999px;
  background: #fff;
}
.m-segmented button {
  position: relative;
  z-index: 1;
  height: 38px;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  border-radius: 999px;
  text-align: center;
  font:
    500 14px 'IBM Plex Sans',
    sans-serif;
  color: var(--m-text);
  cursor: pointer;
  transition: color 0.35s var(--m-ease);
}
.m-segmented button[aria-selected='true'] {
  color: #fff;
}
.m-segmented::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: var(--seg, var(--m-compta));
  translate: calc(var(--seg-i, 0) * 100%) 0;
  transition:
    translate 0.45s var(--m-ease),
    background-color 0.45s var(--m-ease);
}
.m-module {
  animation: m-fade 0.4s var(--m-ease);
}
.m-module[hidden] {
  display: none;
}
@keyframes m-fade {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}
/* Feature rows: the desktop cells (Ligne / Ouverte), tap to open */
.m-cells {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--m-line);
}
.m-cells li {
  border-bottom: 1px solid var(--m-line);
}
.m-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 4px 0 14px;
  border: 0;
  border-left: 2px solid transparent;
  background: #fff;
  font:
    500 15px/1.3 'IBM Plex Sans',
    sans-serif;
  color: var(--m-ink);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.3s ease-out,
    background-color 0.3s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.m-cell:hover,
.m-cell[aria-expanded='true'] {
  border-left-color: var(--mod);
}
.m-cell:hover {
  background: #fbfbfb;
}
.m-cell-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}
.m-cell[aria-expanded='true'] + .m-cell-body {
  grid-template-rows: 1fr;
}
.m-cell-body p {
  overflow: hidden;
  padding: 0 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--m-text);
  border-left: 2px solid var(--mod);
  transition: padding 0.3s ease-out;
}
.m-cell[aria-expanded='true'] + .m-cell-body p {
  padding-bottom: 16px;
}
.m-next {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  background: #fff;
}
.m-next .m-mono {
  color: var(--m-faint);
}
.m-next-title {
  margin-top: 12px !important;
  font-size: 17px;
  font-weight: 500;
}
.m-next-text {
  margin-top: 6px !important;
  font-size: 13px;
  line-height: 20px;
  color: var(--m-text);
}
.m-btn-module {
  height: auto;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--mod);
  border-color: var(--mod);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: filter 0.25s var(--m-ease);
}
.m-btn-module:hover {
  filter: brightness(0.92);
}
.m-module .m-hand {
  margin-top: 16px !important;
}
[data-panel='compta'] {
  --mod: var(--m-compta);
}
[data-panel='paie'] {
  --mod: var(--m-paie);
}
[data-panel='fact'] {
  --mod: var(--m-fact);
}

/* ---------- pour qui ---------- */
.m-marks {
  position: relative;
  padding: 0 22px;
  white-space: nowrap;
}
.m-marks::before,
.m-marks::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 32px;
  translate: 0 -50%;
  background: no-repeat center / contain;
}
.m-marks::before,
.m-marks::after {
  transform: scaleX(-1); /* the marks open toward the word */
}
.m-marks::before {
  left: 0;
  background-image: url('assets/ecf0acc9b607a9ab5e4f860213b32b9db24222c4.svg');
}
.m-marks::after {
  right: 0;
  background-image: url('assets/b7003fd6f3474aa5a4320eb274d64011e89fcd83.svg');
}
.m-demo-link {
  margin-top: 20px;
}
.m-demo-link img {
  width: 12px;
  height: 12px;
}
.m-roles {
  list-style: none;
}
.m-role {
  display: grid;
  align-content: start;
  gap: 8px;
  width: 220px;
  padding: 18px 18px 22px;
  border: 1px solid var(--m-line);
  background: #fff;
}
.m-role img {
  margin-bottom: 4px;
}
.m-role strong {
  font-size: 16px;
  font-weight: 500;
}
.m-role span {
  font-size: 13px;
  line-height: 20px;
  color: var(--m-text);
}
.m-role-detail {
  margin-top: 20px;
}
.m-benefits {
  margin: 0;
}
.m-benefits dt {
  font-size: 17px;
  font-weight: 500;
  margin-top: 16px;
}
.m-benefits dd {
  margin: 4px 0 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--m-line);
  font-size: 14px;
  line-height: 22px;
  color: var(--m-muted);
}

/* ---------- tarifs ---------- */
.m-switch {
  position: relative;
  display: inline-flex;
  gap: 4px;
  margin: 24px 0 8px;
  padding: 4px;
  border-radius: 24px;
  background: #edeef0;
}
.m-switch button {
  position: relative;
  z-index: 1;
  height: 34px;
  padding: 0 14px;
  border: 0;
  background: none !important;
  border-radius: 999px;
  cursor: pointer;
}
.m-switch p {
  font:
    400 14px 'IBM Plex Sans',
    sans-serif;
  transition: color 0.45s var(--m-ease);
}
.m-plans {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 680px) {
  .m-plans {
    grid-template-columns: 1fr 1fr;
  }
}
.m-plan {
  padding: 24px;
  border: 1px solid var(--m-line);
  border-radius: 16px;
  background: #fff;
}
.m-plan h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mod);
}
.m-dots {
  display: inline-flex;
}
.m-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: -3px;
}
.m-dots span:nth-child(1) {
  background: var(--m-fact);
}
.m-dots span:nth-child(2) {
  background: var(--m-compta);
}
.m-dots span:nth-child(3) {
  background: var(--m-paie);
  margin-right: 4px;
}
.m-off {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--m-paie);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.m-included-label {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid var(--m-line);
  color: var(--m-muted);
}
.m-option-cards {
  display: grid;
  margin-top: 20px;
  border: 1px solid var(--m-line);
}
@media (min-width: 680px) {
  .m-option-cards {
    grid-template-columns: 1fr 1fr;
  }
  .m-option + .m-option {
    border-top: 0 !important;
    border-left: 1px solid var(--m-line);
  }
}
.m-option {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px 64px 22px 20px;
  color: var(--m-ink);
  text-decoration: none;
  transition: background-color 0.25s var(--m-ease);
}
.m-option + .m-option {
  border-top: 1px solid var(--m-line);
}
.m-option:hover {
  background: #fbfbfb;
}
.m-option strong {
  font-size: 15px;
  font-weight: 500;
}
.m-option span {
  font-size: 13px;
  line-height: 20px;
  color: var(--m-muted);
}
.m-option i {
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f4f7;
  font-style: normal;
  font-size: 14px;
  transition: translate 0.25s var(--m-ease);
}
.m-option:hover i {
  translate: 3px -50%;
}
.m-plan-for {
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px !important;
}
.m-price {
  margin-top: 14px !important;
}
.m-price [data-price] {
  font-size: 34px;
  font-weight: 600;
}
.m-unit {
  font-size: 14px;
  color: var(--m-text);
}
.m-per {
  font-size: 12px;
  color: var(--m-muted);
  margin-top: 4px !important;
}
.m-plan-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.4px;
  color: var(--m-muted);
  margin-top: 4px !important;
}
.m-plan .m-btn {
  margin-top: 22px;
}
.m-plan-frame {
  position: relative;
  padding: 6px;
  border-radius: 22px;
  margin-top: 10px;
}
.m-plan-frame .m-plan {
  border-radius: 16px;
}
.m-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  padding: 3px 10px;
  border: 1px solid #dcd4f7;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--m-paie-ink);
  white-space: nowrap;
}
.m-contact a {
  color: var(--m-ink);
  font-weight: 500;
  text-decoration: underline 1px transparent;
  text-underline-offset: 3px;
  transition:
    color 0.25s var(--m-ease),
    text-decoration-color 0.25s var(--m-ease);
}
.m-contact a:hover {
  color: #46698c;
  text-decoration-color: currentColor;
}
[data-price],
[data-unit],
[data-instead] {
  transition:
    opacity 0.2s var(--m-ease),
    translate 0.2s var(--m-ease);
}

/* Gradient frames: same colours and slow turn as the desktop Business card and demo form */
@property --m-frame {
  syntax: '<angle>';
  initial-value: 52deg;
  inherits: false;
}
.m-plan-frame {
  background: linear-gradient(
    var(--m-frame),
    rgb(232, 255, 253) 6.63%,
    rgb(137, 241, 232) 15.81%,
    rgb(115, 171, 228) 42.39%,
    rgb(162, 143, 235) 82.6%,
    rgb(209, 198, 251) 110.09%
  );
}
@media (prefers-reduced-motion: no-preference) {
  .m-plan-frame {
    animation: m-frame-turn 8s linear infinite;
  }
}
@keyframes m-frame-turn {
  from {
    --m-frame: 52deg;
  }
  to {
    --m-frame: 412deg;
  }
}

/* ---------- démo ---------- */
.m-form-frame {
  margin-top: 28px;
}
.m-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 22px 18px;
  border: 1px solid #e6eef5;
  border-radius: 16px;
  background: #fff;
}
.m-form > :not(.m-glow) {
  position: relative;
}
.m-glow {
  position: absolute;
  width: 95%;
  max-width: none !important;
  rotate: -32deg;
  pointer-events: none;
}
.m-glow-1 {
  left: -23%;
  top: 268px;
}
.m-glow-2 {
  left: 25%;
  top: -112px;
}
.m-form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px !important;
}
.m-form-note {
  font-size: 12px;
  line-height: 18px;
  color: var(--m-text);
  text-align: center;
}
.m-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 18px;
  margin: 28px 0 0;
  font-size: 14px;
}
.m-contact dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--m-paie-ink);
  padding-top: 2px;
}
.m-contact dd {
  margin: 0;
  color: var(--m-ink);
}

/* ---------- footer ---------- */
.m-footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px var(--m-gutter) 28px;
}
.m-footer-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-capture {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 8px 8px 16px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #f9fafb;
}
.m-capture .m-field,
.m-capture .m-field:hover,
.m-capture .m-field:focus {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: 14px;
}
.m-capture .m-btn {
  height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.m-social {
  display: inline-flex;
  gap: 16px;
  margin-left: auto;
}
.m-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--m-line);
}
.m-footer-cols > div {
  display: grid;
  gap: 12px;
  align-content: start;
}
.m-footer-cols .m-mono {
  color: var(--m-muted);
  font-size: 11px;
  letter-spacing: 0.66px;
}
.m-footer-cols a,
.m-footer-cols span {
  font-size: 14px;
  color: var(--m-text);
  text-decoration: none;
  transition: color 0.25s var(--m-ease);
}
.m-footer-cols a:hover {
  color: #46698c;
}
.m-footer-big {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 44px auto 0;
}
.m-legal > span:not(.m-social) {
  white-space: nowrap;
}
.m-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--m-text);
}
.m-copy {
  margin-top: 14px !important;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--m-muted);
}

.m-page :focus,
.m-page :focus-visible {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .m-module {
    animation: none;
  }
}

/* ---------- tarifs page ---------- */
.m-price .m-amount {
  font-size: 34px;
  font-weight: 600;
}
.m-sim {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 41, 57, 0.06);
}
.m-sim-company {
  display: flex;
  align-items: center;
  gap: 12px;
}
.m-sim-company .m-field {
  flex: 1;
  min-width: 0;
  height: 40px;
  background: #fff;
  border-radius: 4px;
}
.m-sim-company .m-mono {
  flex: none;
  color: var(--m-muted);
}
.m-sim-label {
  margin: 22px 0 10px !important;
  color: var(--m-muted);
  letter-spacing: 0.8px;
}
.m-sim-group {
  padding-top: 22px;
  border-top: 1px solid var(--m-line);
}
.m-tiles {
  display: grid;
  gap: 10px;
}
@media (min-width: 560px) {
  .m-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
.m-tile {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  font: inherit;
  color: var(--m-ink);
  cursor: pointer;
  transition: border-color 0.25s var(--m-ease);
  -webkit-tap-highlight-color: transparent;
}
.m-tile:hover {
  border-color: var(--m-muted);
}
.m-tile-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.m-tile-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 9px;
  background: var(--m-ink);
  transition:
    background-color 0.25s var(--m-ease),
    box-shadow 0.25s var(--m-ease);
}
.m-tile-check img {
  width: 12px;
  height: 12px;
  transition: opacity 0.25s var(--m-ease);
}
.m-tile[aria-pressed='false'] .m-tile-check {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--m-border);
}
.m-tile[aria-pressed='false'] .m-tile-check img {
  opacity: 0;
}
.m-tile-price {
  font-size: 12px;
  color: var(--m-text);
}
.m-tile-price strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--m-ink);
  margin-right: 4px;
}
.m-tile-note {
  font-size: 11px;
  color: var(--m-muted);
}
.m-segments {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #e9ebee;
}
.m-segments button {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 8px 2px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition:
    background-color 0.25s var(--m-ease),
    border-color 0.25s var(--m-ease),
    box-shadow 0.25s var(--m-ease);
  -webkit-tap-highlight-color: transparent;
}
.m-segments button[aria-pressed='true'] {
  background: #fff;
  border-color: #e4e7ec;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.m-segments strong {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--m-text);
}
.m-segments button[aria-pressed='true'] strong {
  color: var(--m-ink);
}
.m-segments span {
  font-size: 10px;
  color: var(--m-muted);
  white-space: nowrap;
}
.m-btn-dashed {
  margin-top: 18px;
  background: #fff;
  border: 1px dashed var(--m-border);
  color: var(--m-ink);
}
.m-btn-dashed:hover {
  border-color: var(--m-ink);
  background: #f8f9fb;
}
.m-sim-fields {
  display: grid;
  gap: 12px;
}
@media (min-width: 560px) {
  .m-sim-fields {
    grid-template-columns: 1fr 1fr;
  }
}
.m-sim-fields label {
  display: grid;
  gap: 6px;
}
.m-sim-field-label {
  display: block;
  margin-bottom: 6px !important;
  font-size: 12px;
  color: var(--m-text);
}
.m-sim-fields label .m-sim-field-label {
  margin-bottom: 0 !important;
}
.m-sim-fields .m-field {
  height: 40px;
  background: #f2f3f5;
  border-color: #f2f3f5;
  border-radius: 4px;
  -moz-appearance: textfield;
}
.m-stepper {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  height: 40px;
  border-radius: 8px;
  background: #edeef0;
  text-align: center;
  font-size: 14px;
  color: var(--m-ink);
}
.m-stepper button {
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--m-ink);
  cursor: pointer;
  transition: background-color 0.25s var(--m-ease);
}
.m-stepper button:hover {
  background: rgba(29, 41, 57, 0.06);
}
.m-sim-switches {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.m-option-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  color: var(--m-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--m-ease);
  -webkit-tap-highlight-color: transparent;
}
.m-option-switch:hover {
  border-color: var(--m-muted);
}
.m-recap-frame {
  margin-top: 12px;
  border-radius: 24px;
  padding: 8px;
}
.m-recap {
  display: grid;
  gap: 12px;
  padding: 28px 22px;
  border-radius: 16px;
  background: #fff;
}
.m-recap .m-mono {
  color: var(--m-muted);
  letter-spacing: 0.8px;
}
.m-recap-lines {
  display: grid;
  gap: 12px;
}
.m-recap-line {
  display: grid;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: var(--m-ink);
  cursor: pointer;
  transition: opacity 0.25s var(--m-ease);
  -webkit-tap-highlight-color: transparent;
}
.m-recap-lines:has(> :nth-child(2)) > .m-recap-line[aria-pressed='false'] {
  opacity: 0.55;
}
.m-recap-line .m-recap-row {
  font-size: 16px;
}
.m-recap-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 22px;
}
.m-recap-row strong {
  font-weight: 600;
}
.m-recap-detail {
  font-size: 13px;
  line-height: 20px;
  color: var(--m-text);
}
.m-recap-dash {
  padding-top: 12px;
  border-top: 1px dashed var(--m-border);
}
.m-recap-sep {
  padding-top: 12px;
  border-top: 1px solid var(--m-line);
}
.m-recap-row > span:first-child {
  color: var(--m-ink);
}
.m-recap-row > .m-recap-muted {
  color: var(--m-muted);
}
.m-recap-big {
  margin-top: 8px !important;
  font-size: 16px;
  color: var(--m-text);
}
.m-recap-big strong {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: var(--m-ink);
  margin-right: 6px;
}
.m-recap-year,
.m-recap-fees {
  font-size: 12px;
  line-height: 18px;
  color: var(--m-muted);
}
.m-recap .m-btn {
  margin-top: 12px;
}
.m-recap-link {
  justify-self: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--m-ink);
  text-decoration: underline 1px transparent;
  text-underline-offset: 3px;
  transition:
    color 0.25s var(--m-ease),
    text-decoration-color 0.25s var(--m-ease);
}
.m-recap-link:hover {
  color: #46698c;
  text-decoration-color: currentColor;
}
.m-recap-fees {
  font-size: 11px;
  line-height: 16px;
}
.m-bullets {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--m-text);
}
.m-bullets li::marker {
  color: var(--m-faint);
}
.m-start {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--m-line);
  border-radius: 16px;
}
.m-start .m-text {
  font-size: 14px;
  line-height: 22px;
}
.m-start-ctas {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

/* Hero typed word (Figma "Mot tapé"): word in its module colour, blinking cursor */
.m-typed {
  white-space: nowrap;
}
.m-typed-word {
  font-style: italic;
}
.m-caret {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 3px;
  vertical-align: -0.08em;
  border-radius: 2px;
  background: var(--m-ink);
  animation: m-caret 1s steps(1) infinite;
}
@keyframes m-caret {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .m-caret {
    animation: none;
  }
}

/* Tarifs: pricing guide (Oct 2026) */
.m-sim-remove {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--m-border);
  border-radius: 4px;
  background: #fff;
  color: var(--m-muted);
  font-size: 14px;
  cursor: pointer;
}
.m-sim-remove[hidden] {
  display: none;
}
.m-recap-row[hidden] {
  display: none;
}
.m-details .px-head {
  display: block;
}
.m-details .px-eyebrow {
  font-size: 12px;
  margin-bottom: 14px;
}
.m-details .px-title {
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.m-details .px-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.m-details .px-card {
  padding: 18px;
}
.m-details .px-table th,
.m-details .px-table td {
  padding: 8px 10px;
}
.m-details .px-table {
  font-size: 13px;
}

/* Footer social icons: the outline logos as drawn, like the desktop footer */
.m-social img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.m-social a:hover img,
.m-social a:focus-visible img {
  opacity: 1;
}

/* Tarifs, multi-entreprise simulator (Figma 2023:2917) */
.m-sim-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.m-sim-head-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--m-muted);
  letter-spacing: 0.8px;
}
.m-sim-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font:
    400 12px/1 'IBM Plex Sans',
    sans-serif;
  letter-spacing: 0;
}
.m-sim-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border: 1px solid #b7eb8f;
  border-radius: 4px;
  background: #f6ffed;
  color: #52c41a;
  font-size: 12px;
  line-height: 20px;
}
.m-sim-tag[hidden] {
  display: none;
}
.m-companies {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.m-co {
  width: 100%;
  border-radius: 12px;
  font: inherit;
  color: var(--m-ink);
  text-align: left;
}
.m-co-open {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--m-border);
  border-radius: 16px;
  background: rgba(237, 238, 240, 0.4);
}
.m-co-closed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--m-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s var(--m-ease);
  -webkit-tap-highlight-color: transparent;
}
.m-co-closed:hover {
  border-color: var(--m-border);
}
.m-co-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 10px;
  cursor: pointer;
}
.m-co-chev {
  flex: none;
  width: 10px;
  height: 5px;
  background: url('assets/29e7acdcdfbfb5223dc56a6eb7d2da8303e2c12a.svg') no-repeat center / contain;
}
.m-co-chev.is-open {
  background-image: url('assets/184e32122c7ccae62b08e694dbd8101a42e50aa8.svg');
}
.m-co-name {
  font-size: 15px;
  font-weight: 600;
}
.m-co-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.m-co-summary {
  font-size: 12px;
  line-height: 18px;
  color: var(--m-muted);
}
.m-co-total {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.m-co-remove {
  flex: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  color: #aeb0b3;
  cursor: pointer;
}
.m-co-remove[hidden] {
  display: none;
}
.m-co-field {
  height: 40px;
  background: #fff;
  border-radius: 4px;
}
.m-recap-agg strong:first-child {
  font-size: 16px;
}
.m-recap-toggle {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: #2f54eb;
  cursor: pointer;
}
.m-recap-rows {
  display: grid;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--m-line);
}
.m-recap-rows[hidden] {
  display: none;
}
.m-recap-sub {
  font-size: 13px;
}
