/* COMPONENT : SINGLE SOMMAIRE */

.sommaire {
    position: sticky !important;
    top: 10rem !important;
    padding: 40px;
    height: fit-content;
    background: #EDF2FF; /* Remplacé par Cloudberry / 500 / 100% */
    border-radius: 12px; /* Ajusté pour mieux correspondre à l'image, 30px semblait trop arrondi */
    max-width: 25rem !important;
}

@media (width <= 1024px) {
    .sommaire {
        position: relative !important;
        top: unset !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
}

.sommaire-nav-title {
    position: relative;
    top: -16px;
    font-family: var(--e-global-typography-a79eaae-font-family), Inter;
    font-size: var(--e-global-typography-a79eaae-font-size);
    font-weight: 700;
    text-transform: var(--e-global-typography-a79eaae-text-transform);
    line-height: var(--e-global-typography-a79eaae-line-height);
    color: #3B3B3B; /* Remplacé par Dark / 500 / 100% */
}

.sommaire-marker {
  position: absolute;
  left: 16.5px;
  width: 4px; /* Affiné pour correspondre à la ligne de votre maquette */
  height: 20px;
  background: #6706FF; /* Remplacé par Dark / 500 / 100% (anciennement vert) */
  border-radius: 4px;
  transition: transform 0.25s ease;
  cursor: grab;
}

.sommaire-nav-list {
    padding: 0;
}

.sommaire-nav-item {
  list-style: none;
  margin-bottom: 18px;
  cursor: pointer;
}

.sommaire-nav-item a {
  text-decoration: none;
  font-family: var(--e-global-typography-c0db6ee-font-family), Inter;
  font-size: var(--e-global-typography-c0db6ee-font-size);
  font-weight: 500; /* Légèrement plus épais pour la lisibilité */
  line-height: var(--e-global-typography-c0db6ee-line-height);
  color: #3B3B3B; /* Remplacé par Dark / 500 / 100% */
  transition: color 0.2s ease;
  display: flex;
  justify-content: space-between; /* Prépare l'espace pour la flèche */
  align-items: center;
}

.sommaire-nav-item.active a {
  color: #6706FF;
  /*font-weight: 600;*/
}

/* Optionnel : Ajoute automatiquement la flèche sur le lien actif en CSS */
/*.sommaire-nav-item.active a::after {
  content: "→";
  font-size: 1.2em;
  font-weight: 400;
}*/

