﻿/* === CONTAINER CENTRALIZADO === */
.fluxograma-vertical-wrapper {
    background-color: #00060c;
    padding: 60px 16px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.fluxograma-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    color: #00FFFF;
}

#fluxoGoJS {
    width: 100%;
    height: 1200px;
    background-color: #00060c;
    border-radius: 8px;
    margin-top: 30px;
}


.fluxo-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 1300px;
    margin: 0 auto;
}

/* === SVG DE LINHAS === */
.conector-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* === BLOCOS === */
.bloco {
    background-color: #00bcd4;
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    min-width: 120px;
    max-width: 180px;
    font-size: 0.85rem;
    position: absolute;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
    transition: all 0.2s ease-in-out;
    z-index: 2;
}

    .bloco:hover {
        transform: scale(1.05);
        box-shadow: 0 0 18px rgba(0, 245, 212, 0.7);
    }

    /* === VARIAÇÕES === */
    .bloco.banco {
        background-color: #022b3a;
        border-radius: 40% 40% 0 0;
        font-size: 0.8rem;
    }

    .bloco.saida {
        background-color: #00f5d4;
        color: #000;
        font-weight: 700;
    }

    .bloco.entrada {
        background-color: #00d6a2;
        color: #000;
        clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
        font-weight: 700;
    }

    .bloco.acao {
        background-color: #0891b2;
    }

/* === SCROLLBAR HORIZONTAL E VERTICAL GLOBAL (WebKit Browsers) === */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a; /* escuro neutro */
}

::-webkit-scrollbar-thumb {
    background: #00f5d4;
    border-radius: 8px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #22d3ee;
    }

.titulo-fluxograma {
    font-size: 1.8rem;
    
    color: #00FFFF;
    text-align: center;
    margin-bottom: 10px;
}

.sub-titulo-fluxograma {
    font-size: 1.0rem;
    font-weight: bold;
    color: #00FFFF;
    text-align: center;
    margin-bottom: 10px;
}

.intro-fluxograma {
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
    line-height: 1.6;
}

.fluxo-carousel-container {
    background-color: #00060c;
    padding: 60px 20px;
    text-align: center;
    color: #00FFFF;
}

.carousel-fluxos {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.fluxo-item {
    display: none;
    animation: fadeIn 1s ease-in-out;
    width: 100%;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 5px;
}

    .fluxo-item.active {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 40px;
    }

.fluxo-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.fluxo-texto {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.fluxo-img {
    flex: 1;
    text-align: center;      
}

.img-fluxo {
    width: 100%;
    max-width: 550px;
    border-radius: 35px;
    margin-top: 10px;
    box-shadow: 0 0 10px #00CED1;
    
}

.carousel-controls {
    margin-top: 20px;
}

.carousel-btn {
    background-color: #00ffff;
    border: none;
    color: #000;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 50%;    
}

    .carousel-btn:hover {
        background-color: #22d3ee;
        box-shadow: 0 0 15px #00CED1;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}




/* === Firefox (versão reduzida) === */
* {
    scrollbar-width: thin;
    scrollbar-color: #00f5d4 #0f172a;
}


/* === RESPONSIVO === */
@media (max-width: 768px) {
    .fluxo-wrapper {
        height: auto;
        padding-bottom: 60px;
    }

    .bloco {
        position: static !important;
        margin: 20px auto;
        display: block;
    }

    .conector-svg {
        display: none;
    }

    #fluxoGoJS {
        height: auto !important;
        min-height: 400px;
    }

    .fluxo-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .fluxo-texto,
    .fluxo-img {
        flex: 1 1 300px;
        min-width: 280px;
        max-width: 100%;
    }

    .fluxo-texto {
        text-align: left;
        padding-right: 16px;
    }
}
