/* ============================================================
   ÍNDICE
   ------------------------------------------------------------
   1. SECÇÃO PRINCIPAL
   2. CABEÇALHO
   3. LISTA DE EMPRESAS
   4. ITEM DA LISTA
   5. ÍCONE
   6. NOME DA EMPRESA
   7. PONTO DECORATIVO
   8. RESPONSIVIDADE (CASOS)
   ------------------------------------------------------------
   9. SCHEDULLER SECTION
   10. TABELA
   11. TÍTULO SCHEDULLER
   12. FUNCIONALIDADES
   13. BENEFÍCIOS
   14. MÉTRICAS
   ------------------------------------------------------------
   15. RESPONSIVO
============================================================ */



/* ============================================================
   1. SECÇÃO PRINCIPAL
============================================================ */

.casos-section {
    padding: 90px 8%; /* antes 100px fixos */
}



/* ============================================================
   2. CABEÇALHO
============================================================ */

.casos-header {
    text-align: center;
    margin-bottom: 60px;
}

.casos-mini-title {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.casos-header h2 {
    font-size: 42px;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-family: 'Museo500';
}

.casos-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-family: 'Museo500';
}



/* ============================================================
   3. LISTA DE EMPRESAS
============================================================ */

.casos-lista {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}



/* ============================================================
   4. ITEM DA LISTA
============================================================ */

.caso-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 26px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.caso-item:hover {
    transform: translateX(8px);
    border-color: rgba(0, 163, 184, 0.4);
    box-shadow: 0 10px 30px rgba(0, 62, 101, 0.573);
}



/* ============================================================
   5. ÍCONE
============================================================ */

.caso-item i {
    font-size: 20px;
    color: var(--accent);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}



/* ============================================================
   6. NOME DA EMPRESA
============================================================ */

.caso-item span {
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-primary);
    font-family: 'Museo500';
}



/* ============================================================
   7. PONTO DECORATIVO
============================================================ */

.caso-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0093D0;
    flex-shrink: 0;
}



/* ============================================================
   8. RESPONSIVIDADE (CASOS)
============================================================ */

@media (max-width: 1024px) {
    .casos-section {
        padding: 80px 6%;
    }
    .casos-header h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .casos-section {
        padding: 70px 5%;
    }
    .casos-header {
        margin-bottom: 45px;
    }
    .casos-header h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    .casos-header p {
        font-size: 15px;
        line-height: 1.6;
    }
    .caso-item {
        padding: 18px 20px;
        gap: 14px;
    }
    .caso-item span {
        font-size: 16px;
    }
    .caso-item i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .casos-section {
        padding: 60px 4%;
    }
    .casos-header h2 {
        font-size: 28px;
    }
    .casos-header p {
        font-size: 14px;
    }
    .caso-item {
        padding: 16px;
        border-radius: 14px;
        flex-direction: column; /* melhora mobile */
        text-align: center;
    }
    .caso-item span {
        font-size: 15px;
    }
    .caso-item i {
        font-size: 16px;
    }
}



/* ============================================================
   9. SCHEDULLER SECTION
============================================================ */

.scheduller-section {
    padding: 80px 8%;
}



/* ============================================================
   10. TABELA
============================================================ */

.table-wrapper {
    overflow-x: auto;
}

.scheduller-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.scheduller-table thead {
    background: rgba(255,255,255,0.08);
}

.scheduller-table th {
    padding: 22px;
    text-align: left;
    color: #1B3F94;
    font-size: 24px;
    font-weight: 700;
}

.scheduller-table td {
    padding: 22px;
    color: rgba(0, 0, 0, 0.82);
    line-height: 1.7;
    vertical-align: top;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: justify;
}

.scheduller-table tr:hover {
    background: rgba(255,255,255,0.03);
}

.highlight-green {
    color: #0093D0 !important;
    font-weight: 700;
}



/* ============================================================
   11. TÍTULO SCHEDULLER
============================================================ */

.scheduller-title-section {
    padding: 80px 8% 20px;
    text-align: center;
    background: #ffffff;
}

.scheduller-title-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1B3F94;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.3;
}



/* ============================================================
   12. FUNCIONALIDADES
============================================================ */

#funcionalidades {
    background: #ffffff;
}

.scheduller-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.scheduller-card {
    position: relative;
    width: 100%;
    max-width: 320px; /* responsivo */
    padding: 35px;
    border-radius: 28px;
    background: linear-gradient(135deg, #eef4f8 0%, #f6fbff 100%);
    border: 1px solid #d9e5ee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.scheduller-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 42, 61, 0.507);
}

.scheduller-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27,63,148,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27,63,148,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.scheduller-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(0,147,208,0.07);
    top: -40px;
    right: -40px;
    filter: blur(18px);
}

.scheduller-card i {
    font-size: 2.3rem;
    color: #0093D0;
    margin-bottom: 25px;
}

.scheduller-card h3 {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #0a2540;
}



/* ============================================================
   13. BENEFÍCIOS
============================================================ */

.scheduller-beneficios {
    max-width: 1200px;
    margin: auto;
    padding: 100px 8%;
    background: linear-gradient(180deg, #f4f9fd 0%, #edf6fc 100%);
}

.beneficios-lista {
    margin-top: 40px;
}

.beneficios-item h2 {
    font-size: 1.5em;
}

.beneficio-item p {
    position: relative;
    padding-left: 28px;
    margin-bottom: 22px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.8;
}

.beneficio-item p::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #00c6ff;
    font-size: 1.4rem;
}



/* ============================================================
   14. MÉTRICAS
============================================================ */

.metricas-section {
    background: #eef4f8;
    padding: 100px 8%;
}

.metricas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* responsivo */
    gap: 24px;
    margin-top: 50px;
}

.metricas-card {
    position: relative;
    background: white;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    transition: 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.metricas-card:hover {
    transform: translateY(-8px);
}

.metricas-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.metricas-top-line.red {
    background: #1B3F94;
}

.metricas-top-line.blue {
    background: #0093D0;
}

.metricas-card i {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1B3F94;
}

.metricas-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1B3F94;
}

.metricas-card p {
    color: #666;
    line-height: 1.6;
}



/* ============================================================
   15. RESPONSIVO
============================================================ */

@media (max-width: 768px) {
    .scheduller-table th,
    .scheduller-table td {
        padding: 16px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {

    /* Esconde menu normal */
    nav.center {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;

        background: white;
        padding: 80px 30px;

        display: flex;
        flex-direction: column;

        transition: 0.4s ease;
        z-index: 998;
    }

    nav.center.open {
        right: 0;
    }

    nav.center ul {
        flex-direction: column;
        gap: 25px;
    }

    nav.center ul li {
        width: 100%;
    }

    nav.center a,
    nav.center button {
        font-size: 18px;
        width: 100%;
        text-align: left;
    }

    /* Mostra o botão hamburguer */
    .hamburger {
        display: flex;
    }

    /* Esconde o seletor de idioma no mobile (opcional) */
    .right {
        display: none;
    }

    /* Mega menu dentro do mobile */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0;
    }

    .mega-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================================================
   FLUXO RPA
============================================================ */


.arquitetura-flow {

    display: flex;

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

    gap: 25px;

    margin-top: 50px;

    flex-wrap: nowrap;
}

.arquitetura-flow .scheduller-card {

    width: 280px;
    min-height: 180px;

    flex-shrink: 0;

    margin-bottom: 100px;

}

.flow-arrow {

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

    font-size: 2rem;

    color: #0093D0;

    margin-bottom: 100px;

}

.flow-arrow i {

    transform: rotate(-90deg);
}

@keyframes arrowFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}




.suporte-arrow {

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

    font-size: 2rem;
    color: #0093D0;

    position: relative;
    top: 8px;
}

.suporte-down {

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

    font-size: 2rem;
    color: #0093D0;

    position: relative;
    top: 5px;
}


    /* 14.2 CURSOR - DESATIVAR NO MOBILE */
    @media (max-width: 900px) {

        .cursor,
        .cursor-ring,
        .trail,
        .particle {
            display: none !important;
        }

        /* restaurar cursor normal */
        * {
            cursor: auto !important;
        }
    }