@import url('../../resources/css/app.css');
@import url('../../resources/css/reset.css');
@import url('_global.css');

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


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

.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;
  width: 9em;
  height: 3.4em;
  line-height: 2.5em;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid #1E594B;
  transition: color 0.5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 500;
  color: #fff;

  background-color: #1E594B;
}

.btn-home:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: black;
  height: 150px;
  width: 200px;
  border-radius: 50%;
}

.btn-home:hover {
  color: #fff;
   border: 2px solid #000000;
}

.btn-home:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

.btn-home:hover:before {
  top: -30px;
  left: -30px;
}

.btn-home:active:before {
  background: #000000;
  transition: background 0s;
}


.management-container {
	display: flex;
	justify-content: space-between;
	padding: 10vh 0;
    height: 100%;
}

.management-text-container {

	display: flex;
	justify-content: center;
	flex-direction: column;
	width: 40%;
	gap: 5%;
	padding: 0 64px;
}
.title-card{
    font-weight: bold;
}

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

.management-title {
	color: #1e594b;
	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.png") 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-cloud{
    background: url("../img/cloud.png") 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-techops{
    background: url("../img/infraRealOficial.png") 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-compliance{
    background: url("../img/complice.png") 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;
}

.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: 24px;
    padding-left: 2.5vh;
}

.carousel-btn {
	background-color: #1e594b;
	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>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;
}

.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 {
	margin: 5% 0;
}

.partners-title {
	font-size: var(--font-3xl);
	color: var(--primary-text);
	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;
}

@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;
    }

}


@media(max-width: 425px) {

	.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: black;
		font-size: 21px;
		font-weight: bold;
	}

	.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;
		}
	}

}

