/* ============================================
   M&A Decorator — Forma a L + Progress Bar
   File: ma-decorator.css
   ============================================ */

/* Wrapper generale del decoratore */
.ma-decorator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10;
}

/* Tratto verticale */
.ma-decorator__vertical {
  position: absolute;
  left: 0;
  width: 2px;
  background-color: #1a2e4a;
  top: var(--ma-line-top, 0px);
  bottom: 0;
  transform-origin: top center;
}

/* Pallino all'angolo (giunzione verticale/orizzontale) */
.ma-decorator__dot {
  position: absolute;
  left: -4px; /* centra sul tratto verticale (2px / 2 + 3px raggio) */
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #1a2e4a;
  z-index: 11;
}

/* Traccia orizzontale (sfondo grigio chiaro) */
.ma-decorator__track {
  position: absolute;
  left: 0;
  height: 2px;
  background-color: var(--blu);
  width: 100%;
}

/* Barra di progresso (si riempie con JS) */
.ma-decorator__progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: #1a2e4a;
  transition: width 0.1s linear;
}

/* ============================================
   Posizionamento sezione HERO (section 1)
   ============================================ */
#section_167238588 {
  position: relative;
}

/* ============================================
   Posizionamento sezione SLIDE (section 2)
   ============================================ */
#section_1240868995 {
  position: relative;
}
.ma-decorator--slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* Titolo LE FASI OPERATIVE — spazio sopra per la barra */
#section_1240868995 .p-h3 {
  position: relative;
  padding-top: 28px; /* spazio per la barra orizzontale sopra */
}

/* ============================================
   Responsive: nascondi su mobile/tablet
   ============================================ */
@media (max-width: 849px) {
  .ma-decorator {
    display: none;
  }
}
