.net-procedimentos-html {
    --net-proc-teal: #0f5257;
    --net-proc-text-dark: #1a1a1a;
    --net-proc-text-body: #5a6a6d;
    --net-proc-dot-inactive: #cfd8d9;
    --net-proc-card-gap: 24px;
    --net-proc-mobile-card-width: 80vw;

    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
}

.net-procedimentos-html *,
.net-procedimentos-html *::before,
.net-procedimentos-html *::after {
    box-sizing: border-box;
}

.net-procedimentos-html__viewport {
    width: 100%;
    overflow: hidden;
}

.net-procedimentos-html__track {
    display: flex;
    gap: var(--net-proc-card-gap);
    padding: 4px 4px 12px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0;
    touch-action: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.net-procedimentos-html__track::-webkit-scrollbar {
    display: none;
}

.net-procedimentos-html__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.net-procedimentos-html__track.is-dragging,
.net-procedimentos-html__track.is-dragging * {
    user-select: none;
    -webkit-user-select: none;
}

.net-procedimentos-html__card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.net-procedimentos-html__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    background: #e8ecec;
    user-select: none;
    -webkit-user-drag: none;
}

.net-procedimentos-html__title {
    margin: 20px 0 8px 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--net-proc-text-dark);
    letter-spacing: -0.01em;
}

.net-procedimentos-html__desc {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--net-proc-text-body);
    min-height: 66px;
}

.net-procedimentos-html__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--net-proc-teal);
    text-decoration: none;
    text-transform: uppercase;
    width: fit-content;
    margin: 0 auto;
    transition: color 0.2s ease;
}

.net-procedimentos-html__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.net-procedimentos-html__link-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.net-procedimentos-html__link:hover .net-procedimentos-html__link-icon {
    transform: translateX(4px);
}

.net-procedimentos-html__arrow {
    position: absolute;
    top: calc((270px * 1) / 2 - 22px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dfe4e4;
    background: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    z-index: 2;
    padding: 0;
}

.net-procedimentos-html__arrow:hover {
    background: #f5f7f7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.net-procedimentos-html__arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.net-procedimentos-html__arrow--prev {
    left: -22px;
}

.net-procedimentos-html__arrow--next {
    right: -22px;
}

.net-procedimentos-html__arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--net-proc-teal);
}

.net-procedimentos-html__dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.net-procedimentos-html__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--net-proc-dot-inactive);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.net-procedimentos-html__dot.is-active {
    background: var(--net-proc-teal);
    transform: scale(1.1);
}

@media (min-width: 900px) {
    .net-procedimentos-html__card {
        width: calc((100% - 3 * var(--net-proc-card-gap)) / 4);
    }

    .net-procedimentos-html--arrows .net-procedimentos-html__arrow {
        display: flex;
    }

    .net-procedimentos-html--dots .net-procedimentos-html__dots {
        display: flex;
    }
}

@media (max-width: 899px) {
    .net-procedimentos-html__arrow,
    .net-procedimentos-html__dots {
        display: none;
    }

    .net-procedimentos-html__viewport {
        overflow: hidden;
    }

    .net-procedimentos-html__track {
        padding-left: 1px;
        padding-right: 1px;
        scroll-snap-type: x proximity;
        scroll-behavior: auto;
        touch-action: auto;
        cursor: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .net-procedimentos-html__card {
        width: var(--net-proc-mobile-card-width);
    }
}

@media (max-width: 480px) {
    .net-procedimentos-html__title {
        font-size: 20px;
    }
}

/* Links permanecem clicáveis; o bloqueio ocorre somente após arraste real. */
.net-procedimentos-html__link {
    position: relative;
    z-index: 3;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
