/* ================================
   HEADER DE L'ARBRE  : TITRE & SOUS-TITRE
   ================================ */
   .tree-header {
    text-align: center;
    margin-bottom: 6rem;
  }
  
  .tree-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e04f1a;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 2rem ;
  }
  
  .tree-header p {
    font-size: 1.125rem;
    color: #4a5568;          /* gris foncé */
    margin: 0.5rem 0 0;
    text-align: center;
  }
  
  .tree-header .header-highlight {
    font-weight: bold;
    color: #e04f1a;
    margin-right: 0.25rem;
  }  

/* ========================================
        STYLES GLOBAUX
   ======================================== */
   .tree-schema {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  /* ========================================
        ÉTAPES (STEPS)
     ======================================== */
  .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .steps {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
  }
  
  .step {
    background: #f0f6f9;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .step .number {
    font-size: 6rem;
    font-weight: bold;
    color: #3b80ad;
    opacity: 0.2;
    line-height: 1;
  }
  
  .step h3 {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 200;
    line-height: 1.6;
    color: #e04f1a;
    text-transform: uppercase;
  }
  
  .step .subtitle {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.6;
    color: #3b80ad;
    text-transform: uppercase;
  }
  
  .step .text{
    margin-top: 1rem;
  }

  .step p {
    font-size: 0.875rem;
    font-weight: 100;
    color: #94a3b8;
    line-height: 1.4;
    text-align: center;
  }
  
  /* ========================================
        CONNECTEUR « BRANCHES »
     ======================================== */
  
  /* Masqué sur mobile */
  .connectors {
    display: none;
  }
  
  @media (min-width: 768px) {
    .connectors {
      display: block;
      position: relative;
      width: 100%;
      margin-top: 2rem;
    }
  }
  
  /* Grille 3 colonnes alignée sous les .step */
  .connectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 18px;
    position: relative;
    z-index: 2;
  }
  
  /* Branche verticale sous chaque nœud */
  .connector {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .node {
    width: 10px;
    height: 10px;
    background: #e04f1a;
    border-radius: 50%;
    z-index: 2;
  }
  
  .v-line {
    width: 1px;
    height: 116px;
    background: #94a3b8;
    margin-top: 8px;
  }
  
  /* Ligne horizontale entre le 1er et le 3e nœud */
  .h-line {
    position: absolute;
    top: 150px;
    left: 16.6667%;
    right: 16.6667%;
    height: 1px;
    background: #94a3b8;
    z-index: 1;
  }
  
  /* ========================================
        FLÈCHE CENTRALE
     ======================================== */
  @media (min-width: 768px) {
    /* Préparation de la colonne centrale */
    .connectors-grid .connector:nth-child(2) {
      position: relative;
    }
  
    /* Prolongation de la barre verticale centrale */
    .connectors-grid .connector:nth-child(2) .v-line {
      height: 150px;
    }
  
    /* Shaft de la flèche sous la .h-line */
    .connectors-grid .connector:nth-child(2) .v-line::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 1px;
      height: 60px;
      background: #94a3b8;
    }
  
    /* Pointe de la flèche */
    .connectors-grid .connector:nth-child(2) .v-line::before {
      content: "";
      position: absolute;
      top: calc(100% + 50px);
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      width: 8px;
      height: 8px;
      border-right: 1px solid #94a3b8;
      border-bottom: 1px solid #94a3b8;
    }
  }
  
  /* ========================================
        TEXTE FINAL
     ======================================== */
  .final-text {
    display: none;
  }
  
  @media (min-width: 768px) {
    .final-text {
      display: block;
      margin-top: 110px;
      text-align: center;
      font-size: 1.125rem;
      font-weight: bold;
      color: #e04f1a;
      text-transform: uppercase;
    }
  }
  
    /* ========================================
        NOS MISSIONS
     ======================================== */

#section-mission > section:first-child{
    padding: 0;
}

.missions-section {
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
  }
  
  @media (min-width: 768px) {
    .missions-section {
      padding: 4rem 2rem;
      padding-top: 0;
    }
  }
  
  /* Conteneur à deux colonnes */
  .missions-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .missions-container {
      grid-template-columns: 1fr 2fr;
      gap: 4rem;
      max-width: 1200px;
      margin: 0 auto;
    }
  }
  
  /* Titre NOS MISSIONS */
  .missions-title {
    font-size: 1.5rem;
    color: #4a5568;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    align-self: center;
    white-space: nowrap;
  }
  
  /* Liste des missions */
  .missions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .mission h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #e04f1a;
    text-transform: uppercase;
  }
  .mission-subtitle {
    margin: 0.25rem 0 0.5rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
  }
  .mission ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mission ul li {
    font-size: 15px;
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.4;
  }
  .mission ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: #4a5568;
  }
  
  /* Lien bas de section */
  .missions-link {
    display: inline-block;
    margin-top: 2rem;
    color: #e04f1a;
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .missions-link:hover {
    color: #ed835d;
  }
  @media (min-width: 768px) {
    .missions-link {
      grid-column: 1 / -1;
      text-align: center;
    }
  }
  
    /* ========================================
        LIGNES DIAGONALES
     ======================================== */
  .diag-left,
  .diag-right {
    position: absolute;
    display: block;
    background: #c1c7cd; 
    height: 1px;
    width: 500px;
  }
  
  /* ligne depuis le coin haut-gauche */
  .diag-left {
    top: 0;
    left: -200px;
    transform: rotate(45deg);
  }
  
  /* ligne depuis le coin bas-droite */
  .diag-right {
    bottom: 0;
    right: -200px;
    transform: rotate(-45deg);
  }
  