.timelineAlt {

    position: relative;
    width: 100%;
    height: 180px;
}

.timelineAlt__viewport {
    width: 100%;
    transform: scale(1.5);
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
    overscroll-behavior-x: contain;
}

.timelineAlt__viewport::-webkit-scrollbar {
    display: none;
}

.timelineAlt__viewport:active {
    cursor: grabbing;
}

/* Linha horizontal e marcadores */

.timelineAlt__track {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    min-width: 100%;
    height: 100%;
    padding: 0 70px;
    box-sizing: border-box;
}

.timelineAlt__line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(207, 206, 206, 0.3);
    pointer-events: none;
}

/* Bolinhas */

.timelineAlt__marker {
    position: relative;
    flex: 0 0 90px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;


}

/* Linhas verticais */

.timelineAlt__marker::before {
    contentAlt: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: var(--marker-height);

    transform: translate(-50%, -100%);

    background: rgb(214 81 169 / 80%);

}

/* Bolinha no topo de cada linha */

.timelineAlt__marker::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: var(--marker-height);
    transform: translate(-50%, -100%);
    background: rgba(149, 2, 97, 0.75);
}


/* Bolinha com efeito neon */
.timelineAlt__marker::after {
    content: "";
    position: absolute;

    width: 12px;
    height: 12px;

    top: calc(50% - var(--marker-height));
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;
    border: 1px solid #A441BF;

    background: radial-gradient(circle,
            #bf509a 0 2px,
            transparent 2.5px);

    

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
}

/* Estado selecionado */

.timelineAlt__marker.is-active::before {
    background: rgba(255, 255, 255, 0.8);
}

.timelineAlt__marker.is-active::after {
    border-color: #ffffff;
    background: radial-gradient(circle,
            #ffffff 0 2px,
            rgba(255, 255, 255, 0.12) 2.5px,
            transparent 3px);

    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.timelineAlt__marker:focus-visible {
    outline: none;
}

.timelineAlt__marker:focus-visible::after {
    box-shadow: 0 0 0 4px rgba(207, 206, 206, 0.2);
}

/* Setas */

.timelineAlt__arrow {
    position: absolute;
    z-index: 2;
    top: 75%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    transform: translateY(-50%);
    border: 1px solid rgba(207, 206, 206, 0.2);
    border-radius: 50%;

    background: #0e0900;
    color: #cfcece;

    font-size: 19px;
    cursor: pointer;
}

.timelineAlt__arrow:hover {
    border-color: rgba(207, 206, 206, 0.65);
    background: #242018;
}

.timelineAlt__arrow--left {
    left: 10px;
}

.timelineAlt__arrow--right {
    right: 10px;
}

/* Painel de conteúdo */

.timelineAlt__content {
    padding: 24px 20px 30px;
    border-top: 1px solid rgba(207, 206, 206, 0.12);
}

.timelineAlt__eyebrow {
    display: block;
    margin-bottom: 12px;

    color: rgba(207, 206, 206, 0.55);
    font-size: 10px;
    letter-spacing: 2px;
}

.timelineAlt__title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 400;
}

.timelineAlt__description {
    max-width: 620px;
    margin: 0;

    color: rgba(207, 206, 206, 0.72);
    font-size: 14px;
    line-height: 1.8;
}

/* Nome acima de cada bolinha */






.timelineAlt__marker .timelineAlt__label {
    position: absolute;
    left: 50%;
    top: calc(50% - var(--marker-height) - 18px);
    transform: translate(-50%, -100%);

    /* Neon Synthwave — violeta anos 80 */
    color: #d2038d;


    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;


}

/* Nome do assunto selecionado */
.timelineAlt__marker.is-active .timelineAlt__label {
    color: #ffffff;


}


.timelineAlt-component {
    width: 100%;
    height: 400px;
    color: #cfcece;


}