 /* =========================
     VARS (namespaced)
  ==========================*/
 :root {
   --candt-teal: #40dcd2;
   --candt-teal2: #2ec6bd;
   --candt-purple: #6000BC;
   --candt-purple2: #5028c7;
   --candt-ink: #0f1130;
   --candt-ink-soft: #2a3353;
   --candt-white: #fff;
   --candt-radius: 14px;
   --candt-shadow: 0 10px 26px rgba(0, 0, 0, .18);
   --candt-softshadow: 0 8px 20px rgba(0, 0, 0, .12);
   --candt-maxw: 1120px;
   --candt-gap: clamp(22px, 3.6vw, 36px);
 }


 /* =========================
     SECTION
  ==========================*/
 .candt-section {
   background: #E7FEFE;
   padding: clamp(26px, 5vw, 56px) 0 105px;
   position: relative;
   overflow: hidden;
 }

 .candt-wrap {
   position: relative;
   max-width: var(--candt-maxw);
   margin: 0 auto;
   padding: 0 20px;
   z-index: 1;
 }

 /* header */
 .candt-underline {
   width: 68px;
   height: 6px;
   border-radius: 6px;
   background: var(--candt-purple);
   margin-bottom: 10px
 }

 .candt-title {
   margin: 0 0 10px;
   font-weight: 900;
   font-size: clamp(28px, 5vw, 48px);
   text-transform: uppercase;
   color: var(--candt-purple);
   letter-spacing: .5px
 }

 /* prereqs + notice */
 .candt-prereq {
   max-width: 820px;
   margin: 16px auto 14px;
   text-align: center;
   background: var(--candt-white);
   border: 3px solid var(--candt-purple);
   box-shadow: var(--candt-softshadow);
   padding: 20px 22px
 }

 .candt-prereq h3 {
   margin: 0 0 8px;
   color: var(--candt-purple);
   font-size: clamp(18px, 2.4vw, 22px)
 }

 .candt-prereq p {
   margin: 0;
   color: #4b3e99
 }

 .candt-notice {
   max-width: 880px;
   margin: 12px auto 32px;
   color: var(--candt-ink-soft);
   text-align: center
 }

 /* =========================
     TIMELINE
  ==========================*/
.candt-timeline {
  position: relative;
  margin-top: 8px;
  padding-bottom: 22px;
}

 /* eixo contínuo */
.candt-axis {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 20px;
  transform: translateX(-50%);
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--candt-purple) 0%, var(--candt-purple2) 100%);
}

 /* cada passo (linha) é um grid 3 colunas para poder centralizar verticalmente o nó */
 .candt-row {
   display: grid;
   grid-template-columns: 1fr 44px 1fr;
   /* esquerda | eixo | direita */
   column-gap: 18px;
   align-items: center;
   /* <<< nó central fica alinhado ao centro da altura do conteúdo */
   margin: var(--candt-gap) 0;
   position: relative;
 }

 /* nó no eixo (círculo branco com aro roxo e glow) */
 .candt-node {
   grid-column: 2;
   justify-self: center;
   width: 1px;
   height: 100%;
   position: relative;
 }

.candt-node::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
   transform: translate(-50%, -50%);
   width: 16px;
   height: 16px;
  border-radius: 50%;
}

.candt-row:nth-of-type(even) .candt-node::after {
  top: calc(50% + 3px);
}

 /* painéis esquerda/direita */
 .candt-left {
   grid-column: 1;
   display: flex;
   justify-content: flex-end
 }

.candt-right {
  grid-column: 3;
  display: flex;
  justify-content: flex-start
}

.candt-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 352px;
  top: 15px;
  position: relative;
  text-align: justify;
}

.candt-step::before {
    content: "";
    position: absolute;
    bottom: -27px;
    right: -120px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--candt-purple);
    z-index: 1;
}

.candt-step::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: -100px;
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--candt-purple) 0,
    var(--candt-purple) 0,
    transparent 2px,
    transparent 8px
  );
  white-space: nowrap;
  overflow: hidden;
}

@media(min-width: 935px) {
  .candt-step {
    right: 70px;
  }
}

 /* badge */
.candt-badge {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: var(--candt-purple);
    box-shadow: var(--candt-shadow), inset 0 -3px 0 rgba(0, 0, 0, .18);
    font-size: 45px;
    bottom: 0;
    position: relative;
    z-index: 1000;
    margin-left: 10px;
}

@media (min-width: 823px) {
  .candt-left .candt-step {
    justify-content: flex-start;
    align-items: flex-end;
  }

  .candt-right .candt-step {
    justify-content: flex-end;
    margin-left: auto;
    align-items: flex-end;
  }

  .candt-right .candt-step::after {
    left: -115px;
    right: 0;
  }

  .candt-right .candt-step::before {
    left: -128px;
  }

  .candt-left .candt-badge {
    margin-left: 0;
    margin-right: 10px;
    transform: translateY(45px);
  }

  .candt-right .candt-badge {
    margin-left: 10px;
    transform: translateY(45px);
  }
}

 .candt-badge span {
   transform: translateY(-8px) translateX(0px);
 }

 /* cartão + “tick” roxo no lado do eixo */
.candt-card {
    padding: 12px 14px;
    min-width: 380px;
    max-width: 440px;
    min-height: 96px;
    position: relative;
    bottom: -20px;
}

 .candt-card h4 {
   margin: 0 0 6px;
   color: var(--candt-purple);
   /* max-width: 235px; */
   text-align: start;
 }

 .candt-card p {
   margin: 0;
   line-height: 1.48
 }

 /* imagem opcional */
 .candt-media {
   margin-top: 10px;
   width: 240px;
   height: 150px;
   object-fit: cover;
   object-position: center;
   border-radius: 12px;
   box-shadow: var(--candt-softshadow)
 }

 /* CTA */
 .candt-cta {
   text-align: center;
   margin-top: 38px
 }

 .candt-btn {
   appearance: none;
   border: 0;
   cursor: pointer;
   background: var(--candt-purple);
   color: #fff;
   font-weight: 800;
   border-radius: 12px;
   padding: 12px 22px;
   box-shadow: var(--candt-shadow)
 }

 .candt-btn:hover {
   filter: brightness(1.06)
 }

 /* =========================
     RESPONSIVO
  ==========================*/
 @media (max-width:960px) {
  .candt-media {
    width: 200px;
    height: 132px
  }

  .candt-step::before,
  .candt-step::after {
    display: none;
  }
}

 @media (max-width:822px) {
   .candt-axis {
     left: 24px;
     transform: none;
     width: 8px
   }

   .candt-card {
      min-width: unset !important;
   }

   .candt-row {
     grid-template-columns: 24px 1fr;
     column-gap: 16px;
     margin: 24px 0;
   }

   .candt-left,
   .candt-right {
     grid-column: 2;
     justify-content: flex-start
   }

   .candt-node {
     display: none;
   }

   .candt-card {
     max-width: none;
     width: 100%;
     min-height: 80px;
     bottom: 0;
   }

   .candt-media {
     display: none
   }

   .candt-card--tick-right::after,
   .candt-card--tick-left::after {
     display: none
   }

   .candt-step::before,
   .candt-step::after {
     display: none;
   }

   .candt-step {
     align-items: flex-start;
     max-width: 100%;
     top: 0;
     gap: 16px;
   }

   .candt-right .candt-step {
     flex-direction: row-reverse;
     justify-content: flex-end;
   }

   .candt-left .candt-step {
     flex-direction: row;
     justify-content: flex-start;
   }

   .candt-badge {
     width: 44px;
     height: 44px;
     font-size: 32px;
     bottom: 0;
     position: relative;
     z-index: 1;
     transition: transform 0.2s ease;
   }

   .candt-badge:hover {
     transform: scale(1.05);
   }

   .candt-badge span {
     transform: translateY(-4px) translateX(0px);
   }

   .mt-4 {
     margin-top: 0 !important;
     padding-left: 0 !important;
   }

   .candt-card h4 {
     margin-bottom: 4px;
     line-height: 1.3;
   }

   .candt-card p {
     font-size: 0.9rem;
     line-height: 1.4;
   }

   .candt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 0, 188, 0.15);
  }
 }

 /* Melhorias para tablets */
 @media (max-width:480px) {
  .candt-row {
    margin: 20px 0;
  }
  
  .candt-card {
    padding: 14px;
    min-height: 70px;
  }
  
  .candt-badge {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
  
    
  .candt-card p {
    font-size: 0.85rem;
  }
}

 /* Melhorias para telas muito pequenas */
 @media (max-width:360px) {
  .candt-row {
    column-gap: 12px;
  }
  
  .candt-card {
    padding: 12px;
  }
  
  .candt-badge {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

 .candidate-symbol-white {
   position: absolute;
   top: -51px;
   left: -40px;
   z-index: 1;
   width: 22vw;
 }

 .candidate-shape-1 {
   position: absolute;
   background: #12BAB9;
   top: -38px;
   left: 0;
   width: 60%;
   aspect-ratio: 1162 / 376;
   clip-path: polygon(100% 0%,
       /* (1162.7114, 0) -> (100%, 0%) */
       0% 89.74425%,
       /* (0, 337.3179) -> 337.3179/375.8658 */
       0% 100%,
       /* (0, 375.8658) -> (0%, 100%) */
       100% 100%
       /* (1162.7114, 375.8658) -> (100%, 100%) */
     );
   transform: rotate(180deg);
 }

 ul > li::marker {
  text-align: unset !important;
  text-align-last: unset !important;

 }

 .dot-container {
  display: inline-block;
  align-items: center;
  gap: 10px;
 }
 
 .warning-icon-container {
    text-align: center;
 }

 .candt-step p {
  color: var(--candt-purple);
 }
