/* Page Applications mobiles — styles isolés sous .mob-page */

.mob-page {
  --mob-orange: #f1894e;
  --mob-cyan: #22d3ee;
  --mob-ink: #fff;
  --mob-copy: #cbd5e1;
  --mob-line: rgba(148, 163, 184, 0.22);
  --mob-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
  background: #0f172a;
}

.mob-section {
  /* padding-block = --vitrine-section-y (vitrine-layout.css) */
  padding-block: var(--vitrine-section-y, clamp(8.5rem, 14vw, 17rem));
}

.mob-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 960px) {
  .mob-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 3rem;
    align-items: end;
    margin-bottom: 3.25rem;
  }
}

.mob-page h1,
.mob-page h2,
.mob-page h3 {
  text-wrap: balance;
}

.mob-rule {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: var(--mob-orange);
}

.mob-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.78);
}

.mob-meta {
  margin: 1.15rem 0 0;
  font-family: var(--font-code);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.mob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  color: var(--mob-copy);
}

.mob-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .mob-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.mob-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.18s var(--mob-ease), border-color 0.18s var(--mob-ease), transform 0.18s var(--mob-ease);
}

.mob-btn--primary {
  background: #f1894e;
  color: #fff;
}

.mob-btn--primary:hover {
  background: #e0783c;
}

.mob-btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
}

.mob-btn--ghost:hover {
  background: rgba(30, 41, 59, 0.72);
}

.mob-btn:active {
  transform: translateY(1px);
}

.mob-btn:focus-visible {
  outline: 2px solid var(--mob-cyan);
  outline-offset: 3px;
}

/* Hero : image de fond, lampe, puis grille titre / téléphone. */
.mob-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #0f172a;
  color: #f8fafc;
}

.mob-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/images/pageServicesApplicationMobile.webp") right center / cover no-repeat;
}

@media (max-width: 1099px) {
  .mob-hero__bg {
    display: none;
  }
}

.mob-hero__rays,
.light-rays,
.light-rays canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.mob-hero__rays {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 46% at 50% -6%, rgba(125, 211, 252, 0.22), transparent 64%),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.06), transparent 72%);
}

.light-rays canvas {
  background: transparent;
}

.mob-hero__copy {
  position: relative;
  z-index: 2;
  padding-top: 2.75rem;
  padding-bottom: 3.25rem;
}

.mob-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.mob-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  width: 100%;
}

.mob-hero__stage {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 0.15rem 0;
}

  .mob-hero__device {
    width: min(21.5rem, 88vw);
    aspect-ratio: 9 / 16;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
    user-select: none;
  }

.mob-hero__device:active {
  cursor: grabbing;
}

.hero-iphone,
.hero-iphone canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.mob-hero__title {
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.mob-hero__title span:last-child {
  color: #f1894e;
}

.mob-hero__actions {
  margin: 0 0 1.35rem;
  justify-content: flex-start;
}

.mob-hero .mob-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.mob-hero .mob-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mob-hero__lead {
  margin: 0 0 1.45rem;
  max-width: 36rem;
  text-align: left;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
}

.mob-hero__labels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  width: auto;
  max-width: 36rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}

.mob-hero .mob-meta {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.92);
}

.mob-hero .mob-chips {
  margin: 0;
  justify-content: flex-start;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.92);
}

.mob-editorial figcaption,
.mob-device__caption {
  margin: 0.7rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.92);
}

.mob-hero__phone {
  width: 100%;
  transform: none;
}

@media (min-width: 1100px) {
  .mob-hero__copy {
    padding-top: 3.25rem;
    padding-bottom: 2rem;
  }

  .mob-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 3.25rem;
    row-gap: 0;
  }

  .mob-hero__intro {
    grid-column: 1;
    align-self: center;
    max-width: 40rem;
  }

  .mob-hero__title {
    font-size: var(--fs-hero);
  }

  .mob-hero__stage {
    order: 0;
    grid-column: 2;
    align-self: center;
    gap: 0;
  }

  .mob-hero__device {
    width: min(32rem, 38vw);
  }

  .mob-hero__phone {
    transform: none;
    animation: none;
  }

  .mob-hero__lead {
    font-size: 1.06rem;
  }
}


.mob-hero .mob-phone__chassis {
  inset: 0 0.85cqw;
  padding: 0.5cqw;
  background:
    linear-gradient(102deg, rgba(255, 255, 255, 0.2), transparent 16%),
    linear-gradient(180deg, #3a4048 0%, #16191e 38%, #121418 100%);
  box-shadow:
    inset 0.35cqw 0 0 rgba(255, 255, 255, 0.16),
    inset -0.45cqw 0 0.4cqw rgba(0, 0, 0, 0.55);
}

.mob-hero .mob-phone__bezel {
  padding: 1.25cqw;
}

.mob-hero .mob-phone__island {
  top: 2.1cqw;
  width: 31cqw;
  height: 8.1cqw;
}

.mob-hero .mob-phone__key {
  width: 0.65cqw;
  background: linear-gradient(#4a515a, #1a1e24);
}

.mob-hero .mob-phone__sheen {
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.05), transparent 22%);
}

.mob-hero .mob-phone__shot {
  width: 148%;
  height: 200%;
  max-width: none;
  top: -70%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: 54% 78%;
}

.mob-hero .mob-phone {
  filter: none;
}


/* Téléphone de face : graphite, joint noir, îlot, boutons latéraux. */
.mob-phone {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 70.6 / 146.6;
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.34));
}

.mob-phone::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 16%;
  right: 16%;
  bottom: -2.4%;
  height: 4.2%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  filter: blur(7px);
  pointer-events: none;
}

.mob-phone__chassis {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 13.6cqw;
  padding: 1.55cqw;
  background:
    linear-gradient(180deg, #565c64 0%, #2e3338 7%, #1a1c1f 20%, #121416 52%, #1b1e22 80%, #3d4248 100%);
  box-shadow:
    inset 0.45cqw 0 0.55cqw rgba(255, 255, 255, 0.14),
    inset -0.4cqw 0 0.5cqw rgba(0, 0, 0, 0.45),
    inset 0 0.35cqw 0.4cqw rgba(255, 255, 255, 0.2),
    inset 0 -0.4cqw 0.45cqw rgba(0, 0, 0, 0.4),
    inset 0 0 0 0.22cqw rgba(255, 255, 255, 0.12);
}

.mob-phone__band {
  position: absolute;
  z-index: 2;
  width: 1.55cqw;
  height: 5.2cqw;
  background: #6a717a;
  box-shadow: inset 0 0 0 0.12cqw rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.mob-phone__band--lt { left: 0; top: 8.5%; }
.mob-phone__band--lb { left: 0; bottom: 10%; }
.mob-phone__band--rt { right: 0; top: 12%; }
.mob-phone__band--rb { right: 0; bottom: 13%; }

.mob-phone__bezel {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.15cqw;
  border-radius: 11.6cqw;
  background: #050506;
  box-shadow: inset 0 0 0 0.18cqw #000;
}

.mob-phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 10cqw;
  background: #05070c;
  box-shadow: inset 0 0 0 0.16cqw rgba(255, 255, 255, 0.05);
}

.mob-phone__wall,
.mob-phone__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mob-phone__wall {
  background:
    radial-gradient(ellipse 78% 46% at 74% 6%, rgba(150, 214, 232, 0.38), transparent 56%),
    radial-gradient(ellipse 68% 42% at 16% 96%, rgba(241, 137, 78, 0.16), transparent 54%),
    radial-gradient(ellipse 130% 90% at 50% 42%, transparent 42%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(168deg, #1c3a50 0%, #102433 34%, #070b12 100%);
}

.mob-phone__shot {
  object-fit: cover;
}

.mob-phone__island,
.mob-phone__punch {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}

.mob-phone__island {
  top: 2.15cqw;
  width: 29cqw;
  height: 7.6cqw;
  border-radius: 999px;
  background: #050506;
  box-shadow:
    0 0.35cqw 0.8cqw rgba(0, 0, 0, 0.28),
    inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.04);
}

.mob-phone__lens {
  position: absolute;
  top: 50%;
  right: 1.35cqw;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 32% 30%, rgba(186, 214, 230, 0.7), transparent 26%),
    radial-gradient(circle at 50% 55%, #1b2a3a 0%, #05070b 64%, #000 100%);
  box-shadow:
    inset 0 0 0 0.28cqw #0a0e12,
    0 0 0 0.18cqw #050506;
}

.mob-phone__punch {
  top: 2.6cqw;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 30%, rgba(180, 210, 226, 0.65), transparent 28%),
    radial-gradient(circle at 50% 55%, #172433, #05070a 68%);
  box-shadow: 0 0 0 0.5cqw #050506;
}

.mob-phone__home {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.45cqw;
  width: 32cqw;
  height: 1.05cqw;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
}

.mob-phone--android {
  aspect-ratio: 72 / 154;
}

.mob-phone--android .mob-phone__chassis {
  border-radius: 8.8cqw;
  background:
    linear-gradient(180deg, #3e4650 0%, #23282e 10%, #14171b 48%, #1c2126 82%, #343b44 100%);
}

.mob-phone--android .mob-phone__bezel {
  border-radius: 7.6cqw;
}

.mob-phone--android .mob-phone__screen {
  border-radius: 6.2cqw;
}

.mob-phone--android .mob-phone__key--action {
  display: none;
}

.mob-phone__sheen {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 16%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.07), transparent 26%);
}

.mob-phone__key {
  position: absolute;
  z-index: 4;
  width: 1.15cqw;
  min-width: 3px;
  background: linear-gradient(90deg, #6d737b 0%, #2c3136 42%, #101214 100%);
  box-shadow:
    inset 0 0.14cqw 0 rgba(255, 255, 255, 0.38),
    0 0.15cqw 0.25cqw rgba(0, 0, 0, 0.35);
}

.mob-phone__key--action {
  left: -0.55cqw;
  top: 16.4%;
  height: 3.5%;
  border-radius: 0.35cqw 0.12cqw 0.12cqw 0.35cqw;
}

.mob-phone__key--vol-up {
  left: -0.55cqw;
  top: 22.4%;
  height: 6.5%;
  border-radius: 0.4cqw 0.12cqw 0.12cqw 0.4cqw;
}

.mob-phone__key--vol-down {
  left: -0.55cqw;
  top: 30.3%;
  height: 6.5%;
  border-radius: 0.4cqw 0.12cqw 0.12cqw 0.4cqw;
}

.mob-phone__key--power {
  right: -0.55cqw;
  left: auto;
  top: 24.6%;
  height: 10%;
  border-radius: 0.12cqw 0.4cqw 0.4cqw 0.12cqw;
  background: linear-gradient(270deg, #6d737b 0%, #2c3136 42%, #101214 100%);
}

.mob-phone--android .mob-phone__key--vol-up { top: 18%; }
.mob-phone--android .mob-phone__key--vol-down { top: 26%; }
.mob-phone--android .mob-phone__key--power { top: 21%; }

@media (prefers-reduced-motion: no-preference) {
  .mob-phone__shot {
    animation: mob-shot 0.45s var(--mob-ease);
  }
}

@keyframes mob-shot {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

.mob-device {
  margin: 0;
}

.mob-device__caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mob-device__caption strong {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.92);
}

/* Usage */
.mob-usage {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.mob-usage__stage { order: 0; }
.mob-usage__copy { order: 1; }

.mob-usage__stage .mob-device {
  width: min(17.5rem, 100%);
  margin-inline: auto;
}

.mob-usage__copy {
  display: grid;
  gap: 0;
}

.mob-part {
  padding: 1.25rem 0 1.35rem;
  border-top: 1px solid var(--mob-line);
}

.mob-part h3,
.mob-platform h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 750;
  line-height: 1.25;
}

.mob-part p,
.mob-platform p,
.mob-why article p,
.mob-path__panel > p:last-child {
  margin: 0;
  max-width: 40rem;
}

@media (min-width: 1024px) {
  .mob-usage {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 20rem);
    gap: 2rem 3.5rem;
  }

  .mob-usage__stage {
    order: 0;
    position: sticky;
    top: 6.5rem;
    grid-column: 2;
    grid-row: 1;
  }

  .mob-usage__copy {
    order: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .mob-usage__stage .mob-device {
    width: min(19rem, 100%);
  }
}

/* Types */
.mob-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.mob-split + .mob-split {
  margin-top: 3.25rem;
}

.mob-split__visual .mob-device {
  width: min(16.5rem, 82%);
  margin-inline: auto;
}

.mob-editorial {
  margin: 0;
}

.mob-editorial img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 48% 58%;
  border-radius: 1.15rem;
}

@media (min-width: 1024px) {
  .mob-split {
    grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.72fr);
    gap: 2.5rem 3.5rem;
  }

  .mob-split--flip {
    grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.1fr);
  }

  .mob-split--flip .mob-split__visual {
    order: -1;
  }

  .mob-split__visual .mob-device {
    width: min(18rem, 100%);
  }

  .mob-split:not(.mob-split--flip) {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 20rem);
    gap: 2rem 3.5rem;
    align-items: start;
  }

  .mob-split:not(.mob-split--flip) .mob-split__visual .mob-device {
    width: min(19rem, 100%);
    margin-inline: auto;
  }
}

/* Plateformes : appareil, sous-titre et paragraphe dans la même colonne */
.mob-platforms {
  display: grid;
  gap: 3rem;
}

.mob-platform {
  min-width: 0;
}

.mob-platform .mob-device {
  width: min(15rem, 72%);
  margin: 0 auto 1.15rem;
}

@media (min-width: 900px) {
  .mob-platforms {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem;
    align-items: start;
  }

  .mob-platform .mob-device {
    width: min(16rem, 100%);
  }
}

/* Chapitre : bande pleine, téléphone fixe, titres en Genos */
.mob-system {
  display: grid;
  gap: 2.25rem;
  margin-inline: -1rem;
  padding: 2.25rem 1rem 0.5rem;
  background: #0b1222;
  border-top: 1px solid rgba(241, 137, 78, 0.4);
  border-bottom: 1px solid rgba(241, 137, 78, 0.4);
}

.mob-system__device {
  width: min(16.5rem, 74%);
  margin-inline: auto;
}

.mob-system__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mob-system__item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: start;
  padding: 1.55rem 0 1.7rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.mob-system__item:last-child {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.mob-system__index {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--mob-orange);
  padding-top: 0.18rem;
}

.mob-system__item h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 2.15vw, 2.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.mob-system__item h3::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 0.55rem;
  background: var(--mob-orange);
  transition: width 0.4s var(--mob-ease);
}

.mob-system__item.is-current h3 {
  color: #fff;
}

.mob-system__item.is-current h3::after {
  width: 2.6rem;
}

.mob-system__item p {
  grid-column: 2;
  margin: 0.85rem 0 0;
  max-width: 40rem;
}

@media (min-width: 640px) {
  .mob-system {
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .mob-system {
    grid-template-columns: minmax(18rem, 21rem) minmax(0, 1fr);
    gap: 1rem 4.5rem;
    align-items: start;
    margin-inline: -2rem;
    padding: 2.75rem 2rem 1.25rem;
  }

  .mob-system__device {
    position: sticky;
    top: 6.5rem;
    width: min(19rem, 100%);
  }

  .mob-system__item {
    grid-template-columns: 3.1rem minmax(0, 40rem);
    padding: 1.85rem 0 2rem;
  }
}

/* Grand écran : le chapitre prend la largeur, le téléphone a de la course */
@media (min-width: 1600px) {
  .mob-section:has(.mob-system) > .vitrine-page__inner {
    max-width: none;
  }

  .mob-section:has(.mob-system) .mob-head h2 {
    font-size: clamp(3.4rem, 2.6vw, 5.4rem);
  }

  .mob-section:has(.mob-system) .mob-head p {
    max-width: 34rem;
    font-size: clamp(1.15rem, 1vw, 1.4rem);
  }

  .mob-system {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2.5rem clamp(3rem, 4vw, 6rem);
    padding: 3.25rem clamp(2rem, 3vw, 4.5rem) 1.5rem;
  }

  .mob-system__device {
    width: min(28rem, 16vw, 26vh);
  }

  .mob-system__item {
    grid-template-columns: 4.75rem minmax(16rem, 26rem) minmax(22rem, 1fr);
    column-gap: clamp(1.35rem, 2vw, 2.5rem);
    align-items: center;
    min-height: max(22rem, 32vh);
    padding-block: 2.25rem;
  }

  .mob-system__index {
    padding-top: 0;
    font-size: clamp(2.5rem, 1.8vw, 4rem);
  }

  .mob-system__item h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(2.2rem, 1.7vw, 3.8rem);
  }

  .mob-system__item p {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    max-width: none;
    font-size: clamp(1.15rem, 0.95vw, 1.5rem);
    column-count: 2;
    column-gap: clamp(1.5rem, 2vw, 3rem);
  }
}

@media (min-width: 2800px) {
  .mob-system__item p {
    column-count: 3;
  }
}

/* Étapes : boutons à gauche, texte à droite */
.mob-path {
  display: grid;
  gap: 1.5rem;
}

.mob-path__tabs {
  display: grid;
  gap: 0.7rem;
}

.mob-path__tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--mob-ease), background 0.25s var(--mob-ease), box-shadow 0.25s var(--mob-ease);
}

.mob-path__tab:hover {
  border-color: rgba(241, 137, 78, 0.35);
  background: rgba(255, 255, 255, 0.045);
}

.mob-path__tab:focus-visible {
  outline: 2px solid var(--mob-orange);
  outline-offset: 2px;
}

.mob-path__tab.is-current {
  border-color: rgba(241, 137, 78, 0.55);
  background: linear-gradient(135deg, rgba(241, 137, 78, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: inset 3px 0 0 var(--mob-orange);
}

.mob-path__num {
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: rgba(241, 137, 78, 0.62);
}

.mob-path__tab.is-current .mob-path__num {
  color: var(--mob-orange);
}

.mob-path__label {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.35;
}

.mob-path__tab.is-current .mob-path__label {
  color: #fff;
}

.mob-path__stage {
  position: relative;
  min-height: 16rem;
  padding: 1.45rem 1.35rem 1.55rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(160deg, rgba(241, 137, 78, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.12);
}

.mob-path__panel[hidden] {
  display: none;
}

.mob-path__kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mob-orange);
}

.mob-path__panel h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.mob-path__panel > p:last-child {
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.65;
}

@media (min-width: 1100px) {
  .mob-path {
    grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
    gap: clamp(1.75rem, 3vw, 3.25rem);
    align-items: stretch;
    min-height: 30rem;
  }

  .mob-path__tabs {
    height: 100%;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .mob-path__tab {
    height: 100%;
    align-items: center;
    align-content: center;
    padding: 1.35rem 1.35rem;
  }

  .mob-path__label {
    font-size: 1.05rem;
  }

  .mob-path__stage {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 100%;
    padding: 2.4rem 2.5rem;
  }

  .mob-path__panel h3 {
    max-width: 16em;
    font-size: clamp(2rem, 2.4vw, 2.75rem);
  }

  .mob-path__panel > p:last-child {
    max-width: 36rem;
  }
}

/* Intégration : lecture éditoriale, sans schéma technique */
.mob-integ__copy {
  display: grid;
  gap: 0;
}

@media (min-width: 960px) {
  .mob-integ__copy {
    grid-template-columns: 1fr 1fr;
    gap: 0 3.5rem;
    align-items: start;
  }

  .mob-integ__copy .mob-part {
    border-top: 0;
    padding-top: 0;
    padding-left: 1.15rem;
    border-left: 2px solid rgba(241, 137, 78, 0.7);
  }
}

/* Cas : cartes de part et d’autre du réacteur */
.mob-reactor {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.mob-reactor__col h3 {
  margin: 0 0 0.9rem;
  font-size: 1.28rem;
  line-height: 1.25;
}

.mob-dossier__note {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.75);
}

.mob-reactor__col dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.mob-reactor__col dl > div {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr);
  column-gap: 0.7rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 232, 240, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.mob-reactor__col dl > div::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.28rem;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #f1894e;
}

.mob-reactor__col dt,
.mob-reactor__col dd {
  grid-column: 2;
}

.mob-reactor__col--link dl > div::before {
  background: #22d3ee;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35);
}

.mob-reactor__col dt {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mob-reactor__col dd {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.mob-reactor__stage {
  width: min(18rem, 72vw);
  aspect-ratio: 1;
  margin-inline: auto;
}

.mob-reactor__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 1100px) {
  .mob-reactor {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
  }

  .mob-reactor__stage {
    width: min(22rem, 100%);
  }
}

.mob-center {
  margin-top: 2.25rem;
  text-align: center;
}

/* Pourquoi */
.mob-why {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .mob-why {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
  }
}

.mob-why article h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.2;
}

.mob-why a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
}

/* CTA : le chrome vient de services.css ; ici, le second bouton */
.mob-page .svc-final-cta__actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mob-cta-ghost {
  display: inline-flex;
  width: 100%;
  max-width: 22rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.35);
  background: rgba(5, 10, 20, 0.35);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
}

.mob-cta-ghost:hover {
  background: rgba(15, 23, 42, 0.72);
}

.mob-cta-ghost:focus-visible {
  outline: 2px solid var(--mob-cyan);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .mob-cta-ghost {
    width: auto;
    max-width: none;
  }
}

.light .mob-page {
  --mob-ink: #0f172a;
  --mob-copy: #475569;
  --mob-line: rgba(15, 23, 42, 0.12);
  background: transparent;
}

.light .mob-kicker,
.light .mob-meta,
.light .mob-dossier__note,
.light .mob-device__caption,
.light .mob-device__caption strong,
.light .mob-editorial figcaption {
  color: #0f172a;
}

.light .mob-reactor__col dl > div {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.light .mob-path__tab {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}

.light .mob-path__tab.is-current {
  background: linear-gradient(135deg, rgba(241, 137, 78, 0.12), #fff);
}

.light .mob-path__label,
.light .mob-path__panel h3 {
  color: #0f172a;
}

.light .mob-path__tab:not(.is-current) .mob-path__label {
  color: #475569;
}

.light .mob-path__panel > p:last-child {
  color: #475569;
}

.light .mob-path__stage {
  background:
    linear-gradient(160deg, rgba(241, 137, 78, 0.08), transparent 42%),
    #fff;
  border-color: rgba(15, 23, 42, 0.08);
}

.light .mob-system {
  background: #f6f3ef;
  border-color: rgba(241, 137, 78, 0.55);
}

.light .mob-system__item h3 {
  color: rgba(15, 23, 42, 0.48);
}

.light .mob-system__item.is-current h3 {
  color: #0f172a;
}

.light .mob-hero__title,
.light .mob-hero .mob-hero__lead,
.light .mob-hero .mob-kicker,
.light .mob-hero .mob-meta,
.light .mob-hero .mob-chips {
  color: #f8fafc;
}

.light .mob-hero .mob-kicker,
.light .mob-hero .mob-meta {
  color: rgba(226, 232, 240, 0.82);
}

.light .mob-btn--ghost {
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
}

.light .mob-hero .mob-btn--ghost {
  background: rgba(8, 16, 28, 0.28);
  color: #fff;
  border-color: rgba(226, 232, 240, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .mob-system__item h3::after,
  .mob-phone__shot,
  .mob-hero__phone,
  .mob-btn {
    animation: none;
    transition: none;
    translate: none;
    scale: none;
  }
}

/* Proportions grand écran : cadre et rôles typographiques fluides. */

@media (min-width: 1600px) {
 .mob-hero .mob-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--vitrine-gap); }
 .mob-hero .mob-hero__intro { max-width: 72rem; }
 .mob-hero__lead { max-width: 54ch; }
 .mob-hero .mob-hero__device { width: min(40rem, 100%, 70vh); }
 .mob-head, .mob-split { gap: var(--vitrine-gap); }
 .mob-usage { grid-template-columns: minmax(0, 1fr) minmax(24rem, .65fr); gap: var(--vitrine-gap); }
 .mob-usage__stage .mob-device, .mob-split__visual .mob-device { width: min(100%, clamp(20rem, calc(12rem + 6vw), 30rem)); margin-inline: auto; }
 .mob-platforms .mob-device { max-width: clamp(20rem, calc(12rem + 6vw), 30rem); margin-inline: auto; }
 .mob-device__caption, .mob-device__caption strong { font-size: var(--fs-small); }
 .mob-path__tab { min-height: 4em; }
 .mob-path__label { font-size: var(--fs-button); }
 .mob-path__num, .mob-meta, .mob-chips { font-size: var(--fs-small); }
 .mob-page .mob-meta { font-size: var(--fs-label); }
}
