@import url('_global.css');

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
    z-index: 0;
}

.hero-video {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    max-width: 100%;
    justify-content: center;
    height: 110vh;
}

.hero-title {
    text-decoration: none !important;
    font-weight: 400 !important;
    font-size: 4.3rem !important;
}

.hero-title span {
    opacity: 0;
    display: inline-block;
    transform: translateY(20px);
    animation: wordFadeIn 0.6s forwards;
}

.title-animation-container span {
    opacity: 0;
    display: inline-block;
    transform: translateX(20px);
    animation: wordFadeIn 0.6s forwards;
}

@keyframes wordFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 1.4rem !important;
    font-weight: 200;

}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 100, 0, 0.1);
    z-index: 1;
}

.background-video-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 70%;
}

.background-video-tagline {
    width: 50% !important;
}

.btn-home {
    --color: #000000;
    font-family: inherit;
    display: inline-block;
    padding: 0 20px;
    min-height: 3.4em;
    line-height: 2.5em;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid rgb(255, 255, 255);
    transition: color 0.5s;
    z-index: 1;
    font-size: 20px;
    border-radius: 50px;
    font-weight: 500;
    color: #fff;
    background-color: transparent;
}

.btn-home:hover {
    background-color: #fff;
    color: #000000;
    transition: 600ms;
}

.btn-home:not(:hover) {
    background-color: transparent;
    color: #ffffff;
    transition: 600ms;
}

.management-container {
    position: relative;
    z-index: 2;
    top: -3rem !important;
    display: flex;
    justify-content: space-between;
    padding: 10vh 0;
    height: 100%;
    background-color: #212121;
    color: #ffffff;
    border-radius: 3rem 3rem 0 0 !important;
}

.management-text-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 40%;
    gap: 5%;
    padding: 0 9vw;
}

.title-card {
    font-weight: bold;
}

@media (max-width: 724px) {
    .management-text-container {
        padding: 0;
    }
}

.management-title {
    color: #578E73;
    font-size: var(--font-5xl);
    padding-left: 2.5vh;
}

.management-text {
    font-size: var(--font-xl);
    width: 80%;
    padding: 5vh 2.5vh 5vh 2.5vh;
}

.cards-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 80%;
    flex-basis: 50%;
}


.card1 img,
.card2 img,
.card3 img {
    width: 90%;
}

.card:hover img {
    transform: scale(0.9);
}


.card:hover a {
    transform: scale(1.1);
}

.carousel-wrapper {
    position: relative;
    flex-basis: 60%;
    display: flex;
    align-items: center;
    overflow: hidden; /* Isso esconde o que está fora do contêiner */
}

/* Adicione/ajuste este estilo para o contêiner interno */
.cards-container {
    position: relative;
    display: flex; /* Isso coloca os cards lado a lado */

    /* Importante para que o JS possa manipular a rolagem */
    /* Remove a transição para um movimento suave ao arrastar */
    transition: none;

    /* Adicione estas propriedades para melhorar a experiência */
    cursor: grab;
    user-select: none;
}

.card {
    flex: 0 0 calc(100% / 2.2);
    width: calc(100% / 2.2);
    height: calc(100vh / 1.7);
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}


#card-secops {
    background: url("../img/pentest-sec.jpg") no-repeat center center/cover !important;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    color: white;
    display: flex;
    align-items: end;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

#card-secops > p {
    margin-bottom: 3vh;
}

#card-secops:hover {
    transform: scale(0.97);
    transition: 0.5s;
}

#card-secops:not(:hover) {
    transform: scale(1);
    transition: 0.5s;
}

#card-cloud {
    background: url("../img/cloud.jpg") no-repeat center center/cover !important;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    color: white;
    display: flex;
    align-items: end;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

#card-cloud > p {
    margin-bottom: 3vh;
}

#card-cloud:hover {
    transform: scale(0.97);
    transition: 0.5s;
}

#card-cloud:not(:hover) {
    transform: scale(1);
    transition: 0.5s;
}

#card-techops {
    background: url("../img/infraRealOficial.jpg") no-repeat center center/cover !important;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    color: white;
    display: flex;
    align-items: end;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

#card-techops > p {
    margin-bottom: 3vh;
}

#card-techops:hover {
    transform: scale(0.97);
    transition: 0.5s;
}

#card-techops:not(:hover) {
    transform: scale(1);
    transition: 0.5s;
}

#card-compliance {
    background: url("../img/complice.jpg") no-repeat center center/cover !important;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    color: white;
    display: flex;
    align-items: end;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

#card-compliance > p {
    margin-bottom: 3vh;
}

#card-compliance:hover {
    transform: scale(0.97);
    transition: 0.5s;
}

#card-compliance:not(:hover) {
    transform: scale(1);
    transition: 0.5s;
}

.cards-container.active {
    cursor: grab;
    /* Remover a transição quando estiver ativo para evitar lag */
    transition: none !important;
}

.carousel-controls {
    display: flex;
    gap: 16px;
    margin-top: -15px;
    padding-left: 2.5vh;
}

.carousel-btn {
    background-color: #578E73;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 25px;
    font-size: 1.5rem;
    border-radius: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background-color: #144136;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* NOSSOS DIFERENCIAIS */

.cards {
    display: flex;
    justify-content: space-evenly;
    width: 70%;
}

.cardi {
    background-color: #fff;
    width: 25% !important;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    flex-direction: column;
    border-radius: 15px;
    padding: 0 2vh 5vh 2vh;
}

.cardi:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(24, 66, 56, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cardi:not(:hover) {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(24, 66, 56, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cardi > p {
    width: 80%;
    font-size: 1.3rem;
}

.h4-card {
    color: #184238;
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5vh 0 0 0;
}

.our-differences {
    background-color: #212121;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

}


.text-at {
    width: 70% !important;
}

.differences-title {
    color: #578E73;
    font-size: var(--font-4xl);
    text-align: center;
    padding: 5vh 0;
}

/* CONTAINER ESTATISTICAS */

.statistics-container {
    text-align: center;
    padding: 60px 20px;
    background: #212121;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.statistics-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.statistics-title {
    color: #578E73;
    font-size: var(--font-4xl);
}

.statistic {
    flex: 1 1 200px;
    margin: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.statistic > p {
    font-size: 1.5rem;
    height: 15vh !important;
}

.age {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.age-text {
    font-size: 1.7rem !important;
}

.number {
    font-size: var(--font-4xl);
    font-weight: bold;
    display: block;
    color: white;
}

.line1 {
    width: 42%;
    height: 3px;
    background-color: #1e594b;
    margin: 10px 0;
}

.line2 {
    width: 83%;
    height: 3px;
    background-color: #1e594b;
    margin: 10px 0;
}

.line3 {
    width: 54%;
    height: 3px;
    background-color: #1e594b;
    margin: 10px 0;
}

.line4 {
    width: 60%;
    height: 3px;
    background-color: #1e594b;
    margin: 10px 0;
}

/* CARROSSEL DE PARCEIROS */
.partners-container {
    padding: 5% 0;
    background-color: #ffffff;
    border-radius: 3rem 3rem 0 0;
}

.partners-title {
    font-size: var(--font-3xl);
    color: #578E73;
    text-align: center;
    margin-top: 20px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    animation: scroll-left 60s linear infinite;
    min-width: fit-content;
}

.carousel-track img {
    margin: 0 40px;
    width: auto;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
}

.size-img {
    width: 300px !important;
    height: auto !important;
}

.seta-saiba-mais {
    height: 10vh;
    display: flex;
    justify-content: center;
    color: white;
}

.arrow-down2 {
    height: 50%;
    cursor: pointer;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.size-img {
    width: 300px !important;
    height: auto !important;
}

.texto-responsivo {
    display: none;
}

/* ------ Desktop ------ */

@media (max-width: 1366px) {
    .hero-tagline {
        font-size: 1rem;
    }

    .btn p {
        font-size: 0.8rem;
    }

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

    .cardi {
        width: 30%;

    }

    .cards {
        width: 80%;
    }

    .text-at {
        font-size: 1.1rem !important;
        width: 100%;
    }
}


@media (max-width: 1240px) {
    .btn {
        font-size: 0.9rem;
    }
}

@media (max-width: 1130px) {
    .btn {
        font-size: 0.8rem;
    }
}

@media (max-width: 1030px) {
    .btn {
        font-size: 0.7rem;
    }
}

@media (max-width: 930px) {
    .btn {
        font-size: 0.6rem;
    }
}

@media (max-width: 830px) {
    .btn {
        font-size: 0.5rem;
    }
}

/* ------ Mobile ------ */

@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        gap: 5vh
    }

    .cardi {
        width: 100% !important;
    }

    .text-at {
        padding: 0 5vh 5vh 5vh;
    }

    .h4-card {
        padding: 5vh 5vh 0 5vh;
    }

    .background-video-tagline {
        width: 100% !important;
    }

    .btn-home {
        font-size: 1rem;
    }

    .carousel-wrapper {
        display: none;
    }

    .carousel-btn {
        display: none;
    }

    .management-text-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .texto-responsivo {
        display: block;
    }

    .texto-responsivo a {
        text-decoration: none;
        color: #578E73;
        font-size: 21px;
        font-weight: bold;
    }

    .management-container {
        padding: 10vh 0 5vh 0;
    }

}


@media (max-width: 425px) {


    .hero-title {
        font-size: 2rem !important;
    }

    .cards {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
    }

    .cardi {
        width: 100%;
    }


    .text-at {
        font-size: 1rem !important;
    }

    .hero-tagline {
        font-size: 14px;
        width: 100%;
    }

    .btn {
        width: 100px;

    }

    .btn p {
        font-size: 11px;
        font-weight: 500;
    }

    .btn img {
        width: 11px;
    }

    .carousel-track {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        animation: scroll-left 20s linear infinite;
        min-width: fit-content;
    }

    .management-text {
        font-size: 20px;
    }

}

@media (max-width: 375px) {

    .management-title {
        font-size: 2.7rem;
    }

    .management-text {
        font-size: 1.2rem;
    }


    .cardi p {
        font-size: 1rem;
    }

    .carousel-track {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        animation: scroll-left 20s linear infinite;
        min-width: fit-content;
    }

    @media (max-width: 340px) {
        .statistics-title {
            font-size: 2.5rem !important;
        }

        .differences-title {
            font-size: 2.5rem !important;
        }
    }

}
