/* ═══════════════════════════════════════════════════════
   CiTO Mobile - styles propres à la page (sur le design system unifié).
   Le chrome (header, sous-menu, boutons fantômes, .final-cta__ctas) et les
   maquettes de base .phone sont partagés via theme/. Ici : sections §1-§6
   et les extensions de la maquette téléphone propres à l'app terrain.
   ═══════════════════════════════════════════════════════ */

/* ───────── §1 Hero ───────── */
.mhero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.mhero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px; align-items: center;
}
.mhero__copy { max-width: 36rem; }
.mhero h1 {
  font-size: 64px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.0;
  margin: 22px 0 0; color: var(--ink); text-wrap: balance;
}
.mhero h1 em { font-style: normal; color: var(--blue); }
.mhero__lead { font-size: 18px; color: var(--ink-2); line-height: 1.55; margin: 24px 0 0; max-width: 34rem; }
.mhero__ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.mhero__reassure {
  margin: 22px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4);
  letter-spacing: 0.01em; line-height: 1.7;
}
.mhero__stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.mhero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 50% 45%, color-mix(in oklab, var(--blue) 14%, transparent), transparent 70%);
  pointer-events: none;
}
/* floating proof chips around the hero phone */
.mhero__chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 0.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 10px 13px; font-size: 12px; line-height: 1.25;
  box-shadow: 0 10px 30px -16px rgba(20,20,15,0.4);
}
.mhero__chip b { font-weight: 500; color: var(--ink); display: block; }
.mhero__chip span { color: var(--ink-4); font-size: 12px; }
.mhero__chip-ic {
  width: 30px; height: 30px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mhero__chip--a { top: 64px; left: -8px; }
.mhero__chip--a .mhero__chip-ic { background: var(--amber-soft); color: var(--amber); }
.mhero__chip--b { bottom: 96px; right: -16px; }
.mhero__chip--b .mhero__chip-ic { background: var(--bg-green); color: var(--bg-green-deep); }

/* ───────── §2 Problem ───────── */
.mproblem { background: var(--bg-soft); border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); }
.mproblem__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mproblem__body { font-size: 16px; color: var(--ink-2); line-height: 1.65; margin: 0; max-width: 40ch; }
.mproblem__transition {
  margin: 28px 0 0; font-size: 18px; color: var(--ink); font-weight: 500;
  letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px;
}
.mproblem__transition::before { content: ""; width: 28px; height: 1px; background: var(--blue); flex-shrink: 0; }
/* paper-bon vs live-screen split visual */
.split { display: grid; gap: 12px; }
.split__card {
  border: 0.5px solid var(--line); border-radius: var(--radius-lg); background: var(--bg);
  padding: 20px 22px; position: relative;
}
.split__tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.split__card--paper { background: repeating-linear-gradient(0deg, var(--bg), var(--bg) 27px, var(--line) 27px, var(--line) 27.5px); }
.split__paper-line { height: 27px; display: flex; align-items: center; font-size: 13px; color: var(--ink-3); }
.split__paper-line s { color: var(--ink-4); }
.split__crossed { position: absolute; top: 14px; right: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--amber); }
.split__live .split__tag { color: var(--blue); }
.split__live { border-color: color-mix(in oklab, var(--blue) 26%, transparent); }
.split__live-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 13px; border-top: 0.5px solid var(--line); }
.split__live-row:first-of-type { border-top: 0; }
.split__live-row b { font-weight: 500; }
.split__live-row .ok { color: var(--bg-green-deep); display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }

/* ───────── §3 Pillars (4) ───────── */
.mpillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0px; background: var(--line); border: 0.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 56px; }
.mpillar { background: var(--bg); padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 12px; }
.mpillar__ic {
  width: 44px; height: 44px; border-radius: var(--radius-lg); background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.mpillar__ic--accent { background: var(--amber-soft); color: var(--amber); }
.mpillar h4 { font-size: 16px; font-weight: 500; margin: 0; letter-spacing: -0.015em; line-height: 1.3; }
.mpillar p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.55; }

/* ───────── §4 Journey ───────── */
.mjourney { background: var(--navy-deep); color: var(--on-dark); }
.mjourney .section__eyebrow { color: rgba(255,255,255,0.6); }
.mjourney .section__eyebrow::before { background: rgba(255,255,255,0.5); }
.mjourney .section__title { color: var(--on-dark); }
.journey {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  margin-top: 56px; position: relative;
}
.journey__step { padding: 0 18px; position: relative; }
.journey__step::before {
  content: ""; position: absolute; top: 23px; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.18); z-index: 0;
}
.journey__step:first-child::before { left: 50%; }
.journey__step:last-child::before { right: 50%; }
.journey__node {
  width: 48px; height: 48px; border-radius: var(--radius-lg); position: relative; z-index: 1;
  background: rgba(255,255,255,0.08); border: 0.5px solid rgba(255,255,255,0.2);
  color: var(--on-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.journey__step--last .journey__node { background: var(--blue); border-color: transparent; }
.journey__n { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.journey__step h4 { font-size: 15px; font-weight: 500; color: var(--on-dark); margin: 8px 0 6px; letter-spacing: -0.01em; line-height: 1.25; }
.journey__step p { font-size: 13px; color: rgba(255,255,255,0.62); margin: 0; line-height: 1.45; }
.journey__caption {
  margin: 48px 0 0; padding-top: 28px; border-top: 0.5px solid rgba(255,255,255,0.14);
  font-size: 15px; color: rgba(255,255,255,0.8); max-width: 60ch; line-height: 1.55;
}
.journey__caption b { color: var(--on-dark); font-weight: 500; }

/* ───────── §5 Benefits zigzag (phone mockups) ───────── */
.mbenefits { display: flex; flex-direction: column; gap: 96px; margin-top: 8px; }
.mbenefit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mbenefit--right .mbenefit__copy { order: 2; }
.mbenefit--right .mbenefit__stage { order: 1; }
.mbenefit__copy { max-width: 34rem; }
.mbenefit__title { font-size: 32px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; margin: 10px 0 18px; text-wrap: balance; }
.mbenefit__lead { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin: 0 0 26px; }
.mbenefit__lead strong { font-weight: 500; color: var(--ink); }
.mbenefit__bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mbenefit__bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.mbenefit__bullets .check { width: 20px; height: 20px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.mbenefit__bullets strong { font-weight: 500; color: var(--ink); }
.mbenefit__stage { position: relative; display: flex; justify-content: center; }
.mbenefit__stage::before {
  content: ""; position: absolute; inset: 6% 14%;
  background: var(--bg-soft); border-radius: 28px; z-index: 0;
}
.mbenefit__stage .phone { position: relative; z-index: 1; }

/* eyebrow chip (numbered) */
.mbenefit__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.mbenefit__eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--blue); display: inline-block; }

/* §5.2 callout métier */
.callout {
  margin-top: 30px; background: var(--bg-green); border-radius: var(--radius-lg);
  padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.callout__ic { width: 40px; height: 40px; border-radius: var(--radius-lg); background: color-mix(in oklab, var(--bg-green-deep) 16%, transparent); color: var(--bg-green-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.callout h5 { font-size: 15px; font-weight: 500; margin: 0 0 6px; color: var(--bg-green-deep); letter-spacing: -0.01em; }
.callout p { margin: 0; font-size: 14px; line-height: 1.55; color: color-mix(in oklab, var(--bg-green-deep) 78%, var(--ink) 22%); }
.callout a { color: var(--bg-green-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ───────── §6 Tech reassurance band ───────── */
.techband { background: var(--bg-soft); border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); }
.techband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.techband__item { padding: 6px 28px; border-left: 0.5px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.techband__item:first-child { border-left: 0; padding-left: 0; }
.techband__ic { color: var(--blue); margin-bottom: 6px; }
.techband__item b { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.techband__item span { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.techband__item .todo { font-family: var(--font-mono); font-size: 12px; color: var(--amber); }

/* ═════ Phone internals (étend .phone du design system) ═════ */
.phone { box-shadow: 0 30px 70px -30px rgba(20,20,15,0.45); }
.phone__appbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone__appbar .back { color: var(--ink-3); display: flex; align-items: center; gap: 4px; font-size: 13px; }
.phone__net { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-family: var(--font-mono); padding: 3px 8px; border-radius: var(--radius-pill); }
.phone__net--on { background: var(--bg-green); color: var(--bg-green-deep); }
.phone__net--off { background: var(--amber-soft); color: var(--amber); }
.phone__net .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.phone__check { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 0.5px solid var(--line); font-size: 13px; color: var(--ink-2); }
.phone__check:last-child { border-bottom: 0; }
.phone__check .box { width: 18px; height: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--bg); }
.phone__check .box--on { background: var(--blue); border-color: var(--blue); }
.phone__check .val { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-4); font-size: 12px; }

.phone__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0; }
.phone__thumb { aspect-ratio: 1; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 6px, var(--line) 6px, var(--line) 7px); border: 0.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-4); }
.phone__thumb--add { background: var(--bg); border: 1px dashed var(--line-strong); color: var(--ink-4); }

.phone__pay { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--radius-lg); background: var(--bg-green); color: var(--bg-green-deep); font-size: 13px; margin-top: 4px; }
.phone__pay b { font-weight: 600; font-variant-numeric: tabular-nums; }

.phone__sign { margin-top: 10px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); height: 60px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.phone__sign svg { color: var(--ink-3); }
.phone__sign span { position: absolute; bottom: 6px; left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); }

.phone__toggle { display: flex; background: var(--bg-soft); border: 0.5px solid var(--line); border-radius: var(--radius-lg); padding: 3px; margin: 4px 0 12px; }
.phone__toggle button { flex: 1; border: 0; background: transparent; font-family: inherit; font-size: 12px; padding: 8px; border-radius: var(--radius); color: var(--ink-4); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.phone__toggle button.on { background: var(--amber); color: var(--on-dark); font-weight: 500; }
.phone__banner { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-radius: var(--radius-lg); font-size: 12px; line-height: 1.4; }
.phone__banner--amber { background: var(--amber-soft); color: var(--amber); }
.phone__banner--green { background: var(--bg-green); color: var(--bg-green-deep); }
.phone__queue { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.phone__queue-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 0.5px solid var(--line); }
.phone__queue-row .num { font-family: var(--font-mono); color: var(--ink-4); }
.phone__queue-row .dot-amber { margin-left: auto; }

.phone__list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--line); }
.phone__list-item:last-child { border-bottom: 0; }
.phone__list-ic { width: 34px; height: 34px; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phone__list-ic--new { background: var(--bg-green); color: var(--bg-green-deep); }
.phone__list-tx b { font-weight: 500; font-size: 13px; display: block; }
.phone__list-tx span { font-size: 12px; color: var(--ink-4); }
.phone__list-time { margin-left: auto; font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; }

.phone__hist { margin-top: 4px; }
.phone__hist-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 0.5px solid var(--line); font-size: 12px; }
.phone__hist-row:last-child { border-bottom: 0; }
.phone__hist-row .date { font-variant-numeric: tabular-nums; color: var(--ink-4); font-size: 12px; }
.phone__hist-row .lbl { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.phone__mini-cal { display: grid; grid-template-columns: 48px 1fr; gap: 8px; margin-top: 4px; }
.phone__mini-slot { grid-column: 2; border-radius: var(--radius); padding: 8px 10px; font-size: 12px; font-weight: 500; }
.phone__mini-time { font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; padding-top: 9px; }
.phone__mini-slot--blue { background: var(--blue-soft); color: var(--blue); }
.phone__mini-slot--green { background: var(--bg-green); color: var(--bg-green-deep); }
.phone__mini-slot--new { background: var(--bg-green); color: var(--bg-green-deep); border: 1px dashed color-mix(in oklab, var(--bg-green-deep) 40%, transparent); }

/* ═════ Real screenshots (PhoneShot) ═════ */
.pshot { width: 100%; max-width: 300px; }
.mhero__stage .pshot, .mbenefit__stage .pshot { position: relative; z-index: 1; }
.pshot__frame {
  position: relative; overflow: hidden;
  border-radius: 36px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -30px rgba(20,20,15,0.45);
  background: var(--bg-soft);
}
.pshot__frame img { display: block; width: 100%; height: auto; }
.pshot__cap {
  margin: 12px 0 0; text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-4);
}

/* responsive: phones below text */
@media (max-width: 1080px) {
  .mhero__grid, .mproblem__grid, .mbenefit { grid-template-columns: 1fr; gap: 48px; }
  .mbenefit--right .mbenefit__copy, .mbenefit--right .mbenefit__stage { order: 0; }
  .mpillars { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; gap: 4px; }
  .journey__step { padding: 0; }
  .journey__step::before { display: none; }
  .techband__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .techband__item { border-left: 0; padding-left: 0; }
}
.mbenefit { scroll-margin-top: 30px; }
