/********** Template CSS **********/
:root {
    --primary: #00d4ff;     /* azul neon */
    --secondary: #6c757d;
    --light: hsl(223, 100%, 96%);       /* fundo escuro */
    --dark: #020617;        /* preto profundo */
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** botão slides superior***/
.btn {
     
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

/* botão redes sociais*/
.btn-square {
    width: 38px;
    height: 38px;
}
/* botão superior */
.btn-sm-square {
    width: 32px;
    height: 32px;
}
/*botão voltar ao topo */
.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--shite);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(22, 22, 22, .7);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(22, 22, 22, .7), rgba(22, 22, 22, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.service-item .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 38px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 150px;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.portfolio-inner img {
    transition: .5s;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, .7);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

/* Botão leia mais padronização */

.btn-readmore {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.btn-readmore i {
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-readmore span {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    margin-left: 0;
    transition: 0.3s;
}

/* EFEITO AO PASSAR O MOUSE */
.btn-readmore:hover span {
    max-width: 120px;
    opacity: 1;
    margin-left: 10px;
}

.btn-readmore:hover i {
    transform: translateX(5px);
}


/*PAGINA DE ERRO EFEITOS */


.erro-404 {
    position: relative;
    height: 100vh;
    background: url('../img/erro-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

/* camada escura com "buraco" que vai seguir o mouse */
.erro-404::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle 150px at var(--x, 50%) var(--y, 50%),
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.85) 80%
    );

    z-index: 0;
    transition: background 0.05s;
}

/* conteúdo na frente */
.erro-404 > div {
    position: relative;
    z-index: 1;
}

/* efeito glow no texto */
.erro-titulo {
    font-size: 64px;
    font-weight: bold;
    color: #fff;

    text-shadow:
        0 0 10px rgba(23, 0, 233, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 0, 0, 0.4);

    filter: blur(1px);
}

/* efeito borda imagem index */
.animated-border {
    width: 458px;
    height: 200px;
    padding: 3px; /* espessura da borda */
    border-radius: 10px;
/*#00BFFF, #00ffcc, #00BFFF);*/
    background: linear-gradient(270deg, #000000, #000000, #00d4ff);
    background-size: 400% 400%;
    animation: borderMove 8s alternate infinite;

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

/* parte interna */
.animated-border img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000; /* seu fundo dark */
    border-radius: 4px;
}

/* animação */
@keyframes borderMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}


/*renderizar as imagens da pagina projeto */

/* Força todas as imagens do portfólio a terem a mesma altura */
.portfolio-inner img {
    height: 250px; /* Você pode ajustar essa altura como preferir */
    object-fit: cover; /* Isso faz a imagem preencher o espaço sem esticar */
    object-position: center; /* Centraliza o recorte na parte mais importante da foto */
}

/* Garante que o container interno tenha altura consistente */
.portfolio-inner {
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

/*Para que a página não "pule" direto para o serviço,*/
html {
    scroll-behavior: smooth;
}

/* Cria um espaço para a rolagem não bater na barra fixa */
#pentest-residencial {
    scroll-margin-top: 120px; /* Ajuste esse valor conforme a altura do seu menu/topo */
    padding-top: 20px;
}


#pentest-empresarial {
    scroll-margin-top: 120px; /* Ajuste esse valor conforme a altura do seu menu/topo */
    padding-top: 20px;
}

#treinamento-colaborador {
    scroll-margin-top: 120px; /* Ajuste esse valor conforme a altura do seu menu/topo */
    padding-top: 20px;
}

#adequacao-lgpd {
    scroll-margin-top: 120px; /* Ajuste esse valor conforme a altura do seu menu/topo */
    padding-top: 20px;
}



/* Estilo para as legendas dos vídeos da Maybit */
.legenda-video {
    font-size: 12px;          /* Tamanho legível */
    color: #444444;           /* Cinza escuro profissional */
    margin-bottom: 12px;      /* Espaço entre a legenda e o vídeo */
    display: block;           /* Garante que ocupe a linha toda */
    font-weight: 500;         /* Deixa o texto levemente mais forte */
    line-height: 1.4;         /* Melhora o espaçamento entre linhas */
    font-style: italic; /*italico*/
}

/* Opcional: deixar o ícone com a cor azul da sua marca */
.legenda-video i {
    color: #00d4ff;           /* O azul que você usou nos textos */
    margin-right: 8px;
}


/* Seletor específico para o link de crédito no rodapé */
.copyright a[href*="htmlcodex.com"] {
    color: #6c757d !important; /* Cinza suave (Bootstrap muted) */
    font-size: 12px;           /* Tamanho reduzido, mas legível */
    text-decoration: none;     /* Remove o sublinhado */
    transition: 0.3s;          /* Transição suave de cor */
    opacity: 0.7;              /* Torna o link levemente transparente */
}

/* Estado quando o usuário passa o mouse */
.copyright a[href*="htmlcodex.com"]:hover {
    color: #f8f9fa !important; /* Fica um pouco mais claro ao interagir */
    opacity: 1;                /* Volta à opacidade total */
    text-decoration: underline; /* Sublinhado aparece apenas na interação */
}
/* No seu arquivo CSS, adicione isso para garantir a consistência */
.btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Corta o que sair da borda arredondada */
    border-radius: 15px; /* Valor sugerido para bordas suaves */
}



#cookie-banner {
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
}

/* Ajusta o botão de voltar ao topo se o banner estiver visível */
#cookie-banner:visible ~ .back-to-top {
    bottom: 100px;
}

/* estilo do efeito digitação da pagina laboratorio pentest */

#typewriter-title::after, #typewriter-text::after {
    content: "|";
    animation: blink 0.7s infinite;
    margin-left: 2px;
    color: #ffffff; /* Cor do seu tema Maybit */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/*redimencionamento das imagens do laboratorio */
.portfolio-inner img {
            width: 100%;
            height: auto;
            object-fit: cover; /* Garante que a imagem preencha o espaço sem deformar */
            display: block;
        }
        
        /* Ajuste para o logo na Navbar */
        .navbar-brand img {
            max-width: 100%;
            height: auto;
        }

        /* Garante que o texto comece no canto e não tenha a barra lateral */
#typewriter-title, 
#typewriter-text {
    text-align: left;       /* Alinha à esquerda */
    border-right: none !important; /* Remove qualquer borda que pareça um cursor */
    display: block;
    margin-left: 0;
    padding-left: 0;
    white-space: normal;    /* Permite que o texto quebre linha se for grande */
}

/* Se você estiver usando Bootstrap, pode forçar o alinhamento no HTML também */