﻿:root {
    --color-primaria: #002656;
    --color-secundaria: #FAA831;
}

.background {
    background: #FAA831;
    background: linear-gradient(90deg, rgba(250, 168, 49, 0.15) 0%, rgba(250, 250, 255, 0.48) 40%, rgba(0, 38, 86, 0.44) 100%);
}

/* Estilos base */
.hidden {
    display: none;
}

.margin-top {
    margin-top: 90px;
}

.margin-top-2 {
    margin-top: 50px;
}

section.publicacao {
    min-height: calc(100vh - 150px);
    height:auto;
}

.publicacao .voltar-botao {
    position:absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 20px 20px; /* Alinha com os cards */
    padding: 10px 18px;
    background-color: #002656;
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.2s ease;
}

    .publicacao .voltar-botao:hover {
        background-color: #003c85;
        transform: translateY(-2px);
        text-decoration: none;
    }

    .publicacao .voltar-botao i {
        font-size: 16px;
    }

.category-table {
    width: 100%;
    border-collapse: collapse;
}

/* ---- Linha do Título ---- */
.categoria-titulo .category-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primaria);
    padding: 25px;
    /* centralizar se quiser: text-align: center; */
}

/* ---- Linha dos Cards ---- */
.categoria-cards td {
    padding: 0; /* zera padding do <td> */
}

/* Container flex */
.card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 20px 10px 40px;
    justify-content: flex-start; /* cards lado a lado a partir da esquerda */
}

/* Card */
.card {
    width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    text-align: center;
    cursor:pointer;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
        flex-shrink: 0;
    }

    .card p {
        padding: 10px;
        margin: 0;
        font-size: 14px;
        color: var(--color-primaria);
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* Responsivo */
@media (max-width: 768px) {
    .card {
        width: 160px;
    }

    .categoria-titulo .category-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .card {
        width: 140px;
    }

        .card p {
            font-size: 13px;
        }

    .categoria-titulo .category-title {
        font-size: 18px;
    }
}

.loading-bars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: var(--color-font2);
}

    .loading-bars .bar {
        width: 8px;
        height: 24px;
        background: var(--color-font2);
        animation: bounce 1s infinite ease-in-out;
    }

        .loading-bars .bar:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-bars .bar:nth-child(3) {
            animation-delay: 0.4s;
        }

        .loading-bars .bar:nth-child(4) {
            animation-delay: 0.6s;
        }

@keyframes bounce {
    0%, 100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.8);
    }
}

/**********************************************************************/
/************************ S E C T I O N  F O O T E R **********************************/
/*#region footer*/
section:nth-of-type(2) {
    height: 100%;
}

.griditem5 {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 1fr;
    width: 100vw;
    height: 150px;
}

footer {
    grid-column: 1/2;
    grid-row: 1/2;
    background: var(--background-menu);
}

.gridFooter {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 40% 60%;
    height: 150px;
}

    .gridFooter .footer-logo {
        grid-column: 1/2;
        grid-row: 1/3;
        margin: auto;
        text-align: center;
    }

        .gridFooter .footer-logo img {
            width: 26%;
        }

    .gridFooter .footer-endereco {
        grid-column: 2/3;
        grid-row: 1/2;
        margin: 20px auto;
        text-align: left;
        justify-content: center;
    }

        .gridFooter .footer-endereco p {
            font-size: clamp(0.7rem, 1.2vw, 0.9rem);
            font-weight: bold;
            text-align: left;
        }

        .gridFooter .footer-endereco .title-endereco {
            padding: 3px 0;
            font-size: clamp(0.5rem, 0.9vw, 0.9rem);
            font-weight: 400;
            text-align: left;
        }

    .gridFooter .footer-redeSocial {
        grid-column: 3/4;
        grid-row: 1/3;
        margin: auto;
    }

        .gridFooter .footer-redeSocial .footer-icon {
            width: 100%;
            display: flex;
            flex-direction: row;
            text-align: center;
            transition: 0.2s;
            gap: 6px;
        }



        .gridFooter .footer-redeSocial .footer-btn img {
            width: 2.2em;
        }

            .gridFooter .footer-redeSocial .footer-btn img:hover {
                transform: scale(1.2);
            }

        .gridFooter .footer-redeSocial .footer-btn .icon-glassdoor {
            width: 1.2em;
            margin-top: 3px;
        }

        .gridFooter .footer-redeSocial .footer-btn .icon-insta {
            width: 1.8em;
            margin-top: 3px;
        }

        .gridFooter .footer-redeSocial .footer-btn .icon-linkedin {
            width: 1.7em;
            margin-top: 3px;
        }

        .gridFooter .footer-redeSocial .footer-btn {
            display: inline-block;
            margin: 50px 3px;
            cursor: pointer;
        }

    .gridFooter .footer-kstack {
        grid-column: 2/3;
        grid-row: 2/3;
        margin: 6% auto;
        text-align: left;
        justify-content: center;
    }

        .gridFooter .footer-kstack p {
            font-size: clamp(0.7rem, 1.2vw, 0.9rem);
            font-weight: bold;
            padding-left: 4.3%;
        }

        .gridFooter .footer-kstack .p-ingles {
            font-size: clamp(0.7rem, 1.2vw, 0.9rem);
            font-weight: bold;
            margin-left: -1%;
            padding-left: 0%;
        }

@media screen and (max-width:600px) {

    .gridFooter .footer-redeSocial .footer-btn .icon-glassdoor {
        margin-top: 1px;
    }

    .gridFooter .footer-redeSocial .footer-btn .icon-insta {
        margin-top: 0px;
    }

    .gridFooter .footer-redeSocial .footer-btn .icon-linkedin {
        margin-top: 0px;
    }

    /*.gridFooter .footer-endereco p {
        font-size: 0.6rem;
    }*/

    .gridFooter .footer-kstack p {
        padding: 15% 0px 0px 0%;
    }
}
/***************************Cookie*********************/
.wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    max-width: 365px;
    border-radius: 15px;
    text-align: center;
    padding: 25px 25px 30px 25px;
    box-shadow: 0 0 3px rgba(0,0,0,0.7);
    z-index: 1000;
    transform: translateX(400px);
    animation-duration: 2s;
    animation-name: surgir;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes surgir {
    to {
        transform: translateX(0);
    }
}

.hide {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wrapper img {
    max-width: 90px;
}

.wrapper .cookie-content {
    margin-top: 10px;
}

.cookie-content p {
    color: var(--color-font1);
    margin: 5px 0 20px 0;
}


.cookie-content .subtitle-cookie {
    text-align: left;
}

.cookie-content a {
    color: #006AE3;
}

.cookie-content .button-cookie {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-cookie .btn-cookie {
    padding: 10px 20px;
    background: var(--color-font2);
    color: var(--color-font3);
    font-size: 18px;
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 28px;
    margin: 0 10px;
}

    .button-cookie .btn-cookie:hover {
        background: white;
        color: var(--color-font2);
        border: 1px solid var(--color-font2);
    }
/********************Icon WhatsApp*********************/
.btn-whatsapp {
    position: fixed;
    outline: none;
    bottom: 40px;
    right: 30px;
    border-radius: 50%;
    height: 65px;
    width: 65px;
    cursor: pointer;
    background: #34af23;
    color: white;
    font-size: 2.4rem;
    border: 1px solid white;
    z-index: 500;
    /*animation: pulsar 0.8s ease-out 1s infinite alternate none running;*/
}

    .btn-whatsapp a {
        color: inherit;
    }

@keyframes pulsar {
    0% {
        height: 65px;
        width: 65px;
    }

    100% {
        height: 85px;
        width: 85px;
    }
}

@media screen and (max-width:600px) {
    .btn-whatsapp {
        bottom: 100px;
    }
}

/*#endregion footer*/