/* # Variante ACTIVE : panneau bleu profond et parcours vertical.
   Cette feuille surcharge les seules règles .process de style.css.
   Ne pas charger intervention-v2.css en même temps.
   Les variantes précédentes sont sauvegardées dans
   Entreprise/Sauvegardes-LS-Informatique/. */

.process {
  width: calc(100% - 48px);
  margin-inline: auto;
  padding-block: 82px;
  border-radius: 44px 110px 44px 44px;
  background: var(--navy);
  color: white;
  isolation: isolate;
}

.process::before {
  content: "";
  position: absolute;
  left: -190px;
  bottom: -400px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(20, 175, 172, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(20, 175, 172, 0.055),
    0 0 0 88px rgba(20, 175, 172, 0.03);
  pointer-events: none;
  z-index: -1;
}

.process::after {
  content: "";
  position: absolute;
  left: 76px;
  top: 0;
  width: 90px;
  height: 5px;
  background: var(--teal);
  border-radius: 0 0 5px 5px;
  pointer-events: none;
}

/* # 01 — Composition en deux colonnes sur ordinateur */
.process-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 85px;
  align-items: center;
}

.process .section-heading {
  display: block;
  margin: 0;
}

.process .eyebrow {
  color: var(--ice);
  margin-bottom: 27px;
}

.process .section-number {
  background: rgba(215, 232, 235, 0.08);
  border-color: rgba(215, 232, 235, 0.45);
  color: var(--ice);
  opacity: 1;
}

.process h2 {
  font-size: clamp(32px, 3.1vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.process-title-accent {
  color: var(--teal);
}

.process .section-heading > p {
  max-width: 360px;
  margin-top: 25px;
  padding: 0;
  color: var(--ice);
  font-size: 14px;
  line-height: 1.9;
}

/* # 02 — Parcours vertical, numéros et connecteur décoratif */
.process .steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.process .steps::before {
  top: 35px;
  bottom: 60px;
  left: 30px;
  right: auto;
  border: 0;
  width: 1px;
  background: linear-gradient(var(--teal), rgba(20, 175, 172, 0.12));
}

.process .steps li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: start;
  gap: 25px;
  padding: 27px 0;
  min-height: 0;
}

.process .steps li:first-child {
  padding-top: 0;
}

.process .steps li:last-child {
  padding-bottom: 0;
}

.process .step-number,
.process .steps li:first-child .step-number {
  position: relative;
  top: 0;
  left: 0;
  width: 62px;
  height: 62px;
  margin: 0;
  background: var(--navy);
  border: 1px solid rgba(20, 175, 172, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--navy);
  color: var(--teal);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.process .steps li:first-child .step-number {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
}

.process .step-content {
  padding-top: 5px;
}

.process .steps li + li .step-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 87px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 232, 235, 0.22), transparent);
}

.process .step-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.process .step-heading .icon {
  width: 21px;
  height: 21px;
  color: var(--teal);
  stroke-width: 1.5;
}

.process .steps h3 {
  color: white;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin: 0;
}

.process .steps p {
  color: var(--ice);
  font-size: 13px;
  line-height: 1.9;
}

/* # 03 — Zone d'intervention : à gauche sur ordinateur, après les étapes sur mobile */
.process .intervention-banner {
  display: block;
  margin-top: 42px;
  padding: 27px 0 0;
  border-top: 1px solid rgba(215, 232, 235, 0.16);
  max-width: 405px;
}

.process .intervention-banner::before,
.process .intervention-banner::after {
  display: none;
}

.process .intervention-marker {
  justify-content: flex-start;
  gap: 15px;
  text-align: left;
}

.process .location-icon {
  width: 45px;
  height: 45px;
  background: rgba(20, 175, 172, 0.12);
  color: var(--teal);
  box-shadow: none;
  border: 1px solid rgba(20, 175, 172, 0.35);
  border-radius: 14px;
}

.process .location-icon .icon {
  width: 22px;
  height: 22px;
}

.process .intervention-label {
  font-size: 9px;
  color: var(--ice);
  letter-spacing: 0.13em;
  margin-bottom: 5px;
}

.process .intervention-banner strong {
  color: white;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* # 04 — Adaptations responsive, sans modifier l'ordre de lecture du document */
@media (min-width: 901px) and (max-width: 1150px) {
  .process-layout {
    gap: 42px;
  }
  .process > .container {
    width: calc(100% - 72px);
  }
  .process h2 {
    font-size: 35px;
  }
  .process .steps li {
    gap: 18px;
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .process .step-number,
  .process .steps li:first-child .step-number {
    width: 54px;
    height: 54px;
    font-size: 23px;
  }
  .process .steps::before {
    left: 26px;
  }
  .process .steps li + li .step-content::before {
    left: 72px;
  }
  .process .steps h3 {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .process {
    width: calc(100% - 32px);
    padding-block: 56px;
    border-radius: 32px 78px 32px 32px;
  }
  .process-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .process-intro {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 26px;
    align-items: end;
  }
  .process h2 {
    font-size: 34px;
  }
  .process .section-heading > p {
    font-size: 13px;
    margin-top: 20px;
  }
  .process .intervention-banner {
    margin-top: 0;
    padding-top: 22px;
  }
  .process .intervention-marker {
    align-items: flex-start;
  }
  .process .steps li {
    padding-block: 25px;
  }
  .process .steps p {
    max-width: 570px;
  }
}

@media (max-width: 680px) {
  .process {
    width: calc(100% - 24px);
    padding-block: 40px;
    border-radius: 28px 65px 28px 28px;
  }
  .process > .container {
    width: calc(100% - 40px);
  }
  .process::before {
    left: -430px;
    bottom: -220px;
  }
  .process::after {
    left: 36px;
    width: 62px;
    height: 4px;
  }
  .process-layout {
    gap: 0;
  }
  .process-intro {
    display: contents;
  }
  .process .section-heading {
    order: 0;
    margin-bottom: 34px;
  }
  .process .eyebrow {
    font-size: 8px;
    letter-spacing: 0.09em;
    gap: 8px;
    margin-bottom: 22px;
  }
  .process h2 {
    font-size: clamp(28px, 7.6vw, 36px);
  }
  .process .section-heading > p {
    font-size: 12px;
    margin-top: 19px;
  }
  .process .steps {
    order: 1;
  }
  .process .steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding-block: 24px;
  }
  .process .step-number,
  .process .steps li:first-child .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
    box-shadow: 0 0 0 6px var(--navy);
  }
  .process .steps::before {
    left: 21px;
    bottom: 80px;
  }
  .process .steps li + li .step-content::before {
    left: 60px;
  }
  .process .step-content {
    padding-top: 2px;
  }
  .process .step-heading {
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  .process .step-heading .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }
  .process .steps h3 {
    font-size: 17px;
  }
  .process .steps p {
    font-size: 12px;
    line-height: 1.9;
  }
  .process .intervention-banner {
    order: 2;
    margin-top: 30px;
    padding-top: 23px;
    max-width: none;
  }
  .process .intervention-marker {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .process .location-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .process .intervention-banner strong {
    font-size: 14px;
    max-width: none;
    text-wrap: initial;
  }
  .process .intervention-label {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
}

/* # 05 — Version imprimable */
@media print {
  .process {
    width: 100%;
    color: var(--navy);
    background: white;
    border: 1px solid var(--navy);
    border-radius: 20px;
    padding: 25px;
  }
  .process::before,
  .process::after,
  .process .steps::before {
    display: none;
  }
  .process-layout {
    display: block;
  }
  .process .steps {
    margin-top: 25px;
  }
  .process .steps li {
    break-inside: avoid;
  }
  .process .steps p,
  .process .steps h3,
  .process .section-heading > p,
  .process .eyebrow,
  .process .intervention-label,
  .process .intervention-banner strong {
    color: var(--navy);
  }
  .process .step-number,
  .process .steps li:first-child .step-number {
    background: white;
    box-shadow: none;
    color: var(--navy);
  }
}
