/* =============================================================
   Sélection et suivi des projets — styles spécifiques.
   ----------------------------------------------------------------
   La page utilise :
     - .intro          (site.css §6.1b) — eyebrow + titre
     - .editorial      (site.css §6.2)  — bloc « Notre philosophie »
                                          en grille label + body
     - .process-timeline + .timeline (ce fichier) — timeline
                                          verticale des 5 étapes
     - .bridge.solo    (site.css §6.6) — CTA vers Soumettre un projet
   ============================================================= */

/* =========================================================
   PROCESS TIMELINE — section conteneur
   ----------------------------------------------------------
   Padding-top resserré pour enchaîner sans rupture après la
   section .intro (philosophie). Pas de filet de séparation —
   la continuité visuelle se fait par la proximité.
   ========================================================= */
.process-timeline {
  padding: clamp(16px, 2vw, 32px) 0 var(--section-y);
}

/* =========================================================
   TIMELINE — liste verticale d'étapes
   ----------------------------------------------------------
   Chaque .timeline-step : cercle ocre numéroté à gauche,
   titre + paragraphe à droite. Un filet ocre vertical relie
   les cercles (positionné absolument sur .timeline).

   Markup :
     <ol class="timeline">
       <li class="timeline-step">
         <div class="timeline-num">01</div>
         <div class="timeline-content">
           <h3>Contact</h3>
           <p>… <em>mot ocre</em> …</p>
         </div>
       </li>
       …
     </ol>
   ========================================================= */
.timeline {
  position: relative;
  list-style: none;
  padding: 0; margin: 0;
}
/* Filet ocre vertical qui relie les cercles (au centre des
   cercles 44 px, sous le premier, jusqu'au dernier) */
.timeline::before {
  content: ""; position: absolute;
  left: 21.5px;   /* centre des cercles de 44 px (+ 1px border ÷ 2) */
  top: 22px;      /* centre du premier cercle */
  bottom: 22px;   /* centre du dernier cercle */
  width: 1px;
  background: color-mix(in srgb, var(--ocher) 50%, transparent);
}

.timeline-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(36px, 5vw, 56px);
  align-items: start;
}
.timeline-step:last-child { padding-bottom: 0; }

/* Cercle numéroté — mono ocre-deep sur fond paper, bordure ocre.
   Le z-index 2 le pose au-dessus du filet vertical. */
.timeline-num {
  width: 44px; height: 44px;
  background: var(--paper);
  border: 1px solid var(--ocher);
  color: var(--ocher-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  position: relative; z-index: 2;
}

/* Titre + paragraphe à droite du cercle */
.timeline-content { padding-top: 6px; }
.timeline-content h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.14; color: var(--marine);
  letter-spacing: -0.012em;
  margin-bottom: 14px;
  max-width: 22ch;
}
.timeline-content h3 em {
  font-style: italic; color: var(--ocher); font-weight: 400;
}
.timeline-content p {
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65;
  color: var(--stone-700);
  max-width: 60ch;
  text-wrap: pretty;
}
.timeline-content p em {
  font-style: italic; color: var(--ocher); font-weight: 500;
}
