:root { 
  --gap: 12px;
  --hover-scale: 2; /* ajuste o quanto quer que cresça */
  --hover-scale-mobile: 1.08;
}
/* ================= BASE ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


img {
  pointer-events: none;
  -webkit-user-drag: none;
}

h2, h3 {
  margin: 0;
  padding: 0;
  font-family: "Stardos Stencil", system-ui;
  font-weight: 700;
  font-size: 5vh;
}

/* Seleção personalizada */
::selection {
  background: yellow; /* cor de fundo da seleção */
  color: black;       /* cor do texto dentro da seleção */
}

/* Para Firefox (prefixo obrigatório em versões antigas) */
::-moz-selection {
  background: yellow;
  color: black;
}



/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  height: 6rem;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  color: #000;
  z-index: 999;
}

header:hover {
  background: rgba(0, 0, 0, 1);
}

.header-Logo {
height: 10vh;
background-size: 100%;
}

.header-Image {
  display: block;
  width: 15vw;
  margin-left: 1rem;
}

.menu{
  display: flex;
  height: 100%; /* nav ocupa toda altura do header */

}

.menu.active {
  display: flex;
  flex-direction: column;
 }

.menu a {
  display: flex;               /* deixa o conteúdo centralizado */
  align-items: center;
  justify-content: center;
  height: 100%;                /* link ocupa altura total */
  padding: 0 20px;             /* largura interna */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  background-color: #ffc400;      /* fundo cobre toda a altura */
  color: #000;                 /* texto preto */
}

/* ================= FIRST CONTAINER ================= */
.first-Container {
  height: 100vh;
  width: 100%;
  background: linear-gradient(270deg, #ffe75c, #E6BE8A, #dad8d0, #E6BE8A);
  background-size: 600% 600%;
  animation: gradientBG 60s ease infinite;
  position: relative;
}

.first-Container__box {
  width: 80vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.first-Container__tatica {
  width: 50vh;
  margin-right: 2vh;
}

.first-Container__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 2vh;
}

.text-Tatica {
  font-family: "Stardos Stencil", system-ui;
  font-weight: 700;
  font-size: 20vh;
  margin-bottom: 0;
  background: linear-gradient(to right, #000, #111111, #9e9d9d, #111111, #000);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 10s linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.text-Tatica__sub {
  font-family: "Stardos Stencil", system-ui;
  font-weight: 700;
  font-size: 5vh;
  margin-top: 0;
}

.button-Protection {
  background: linear-gradient(270deg, #030303, #161616, #363636);
  background-size: 600% 600%;
  animation: gradientBG 5s ease infinite;
  color: white;
  border: none;
  padding: 15px 30px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-top: 30px;
}

.fa-lock{
  margin-left: 10px;
}

.button-Protection:hover {
  background: #ffffff;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.link-clean {
  text-decoration: none;
  color: white;
}

.link-clean:hover {
  color: #000;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-right: 20px;
}

/* estado fechado */
.menu {
  transition: max-height 0.3s ease-in-out;
}

/* ================= SECOND CONTAINER ================= */
.second-Container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 10rem;
}

.second-Container__box {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}



.text-Tatica__adjust {
  font-size: 6vw;
  background: linear-gradient(to right, #000, #1b1b1b, #747474, #1b1b1b, #000);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 4s linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.subtext-Tatica__adjust{
  font-size: 1.5vw;
  background: linear-gradient(to right, #000, #111111, #636363, #111111, #000);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2s linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.second-Container__flex-Display {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
}



.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 100px;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  margin-top: 50px;
}

.swiper {
  width: 70vw;
  height: 35vh;
}
.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgb(0, 0, 0);
  border: 2px solid black;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: black;
  color: yellow;
}


.Image_sample {
  height: 100%;
}

.container-Tatica {
  height: 150px;
  width: 120px;
}



span {
  background: yellow;
}

/* ================= THIRD CONTAINER ================= */
.third-Container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding-top: 300px;
  padding-bottom: 200px;
}

.third-Container__box {
  position: relative;
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.third-Container__box div{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-Tatica__adjust-second {
  margin: 3vh;
  position: relative;     /* necessário para o ::before */
  display: inline-block;  /* faz a caixa ter largura do texto */
  padding: 0.12em 0.35em; /* espaço entre texto e fundo amarelo */
  font-size: 48px;
  background-image: linear-gradient(to right, #000, #1b1b1b, #747474, #1b1b1b, #000);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 4s linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.text-Tatica__adjust-second::before {
  content: "";
  position: absolute;
  inset: 0;                /* cobre toda a área do elemento */
  z-index: -1;             /* fica atrás do texto */
  background: #ffff00;     /* amarelo */
  border-radius: 6px;      /* opcional, borda arredondada */
}

.third-Container__services {
  width: 100%;
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-around;
  gap: 3vh;
}

/* garante que wrapper siga apenas o tamanho da cover */
.image-wrap {
  position: relative;
  display: inline-block;    /* mantém o wrapper no tamanho do conteúdo */
  line-height: 0;           /* evita espaços extras */
  overflow: hidden;         /* evita vazamentos do ::after */
  border-radius: 30px;
  width: max-content;       /* wrapper encolhe ao tamanho do conteúdo */
  max-width: 100%;          /* proteção extra */
  margin: 0 auto;
}

.border-Animation{
  width: 20vw;
  border-radius: inherit;   /* mantém mesmo rounding */
  position: relative;
  border-radius: 3vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  overflow: visible;
  padding: 1vw;
}

.border-Animation::before{
  content: "";
  position: absolute;
  width: 100vw;
  height: 100vh;
  border-radius: 100%;
  background: conic-gradient(#000,#ffff00,#000);
  animation: animate 3s linear infinite;
}

@keyframes animate {
  100%{
    transform: rotate(360deg);
  }
}

.border-Animation::after{
  content: "";
  position: absolute;
  inset: .3vh;
  background-image: var(--title,  conic-gradient(#000,#B69F5E,#ffc400));
  border-radius: 30px;
  background-size: contain;
}

/* cover: controla o tamanho visível */
.services-Content__cover {
  width: 100%;
  height: auto;
  border-radius: inherit;   /* mantém mesmo rounding */
}

/* overlay exatamente do tamanho da wrapper */
.image-wrap::after {
  content: "Clique para saber mais";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.22s ease;
  border-radius: inherit;
  pointer-events: none;
}
.image-wrap:hover::after { opacity: 1; }

/* garante que .full não afete o layout em hipótese alguma,
   mas continua disponível para pegar o src no JS */
.services-Content__full {
  display: block;               /* mantemos block para poder medir src, mas... */
  position: absolute !important;/* remova do fluxo */
  top: -9999px;                 /* tira da visão e da área do wrapper */
  left: -9999px;
  width: auto !important;
  height: auto !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal.active {
  display: flex;
}

.modal::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
}

/* Conteúdo do modal */
.modal-content {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  overflow: auto;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  z-index: 1002;
}

/* Modal (adicione ao seu CSS) */
#services-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 19999;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

#services-modal.active {
  display: flex;
}

#services-modal .modal-inner {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  padding: 12px;
  border-radius: 12px;
  background: transparent; /* conteúdo controla o fundo */
}

#services-modal .modal-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;

  display: flex;               /* centraliza o conteúdo */
  align-items: center;         /* vertical */
  justify-content: center;     /* horizontal */

  background: #fff;
  color: #333;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);

  line-height: 1;              /* garante que não mexa no alinhamento */
  z-index: 1003
}


.third-Container__mobile{
  display: none;
}

/* CSS mínimo necessário: transição e cursor */
.modal-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transition: transform 280ms ease;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.modal-img.zoomed { cursor: zoom-out; }

.modal-img {
  position: relative;
  z-index: 1001; /* garante que está acima do backdrop */
}




/* ================ Fourth Container ================ */

.fourth-Container{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.clients-cloud {
  padding-top: 10vh;
  width: 100%;
  height: 80vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, rgb(189, 168, 120) 100%);
}

/* container relativo para posicionamento absoluto das imagens */
.clients-Web {
  margin: 0 auto;
  position: relative;
  width: 95%;
  height: 95%; /* ajuste a altura conforme preferir */
  overflow: hidden;
}

.clients-Web img {
  position: absolute;
  will-change: transform, left, top;
  user-select: none;
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 200ms ease;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

.clients-Web img:hover {
  transform: scale(1.18) !important;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.subtext-Client{
  font-size: 5vh;
}


/* ================= FOOTER ================= */
footer {
  background: #41424C;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #B69F5E;
}

/* ================= SCROLLBAR ================= */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #ffd000;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #272727;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

.swiper-scrollbar {
  display: none;
  background: #ffd000;
}

.fourth-Container__mobile{
  display: none;
}

@media (max-width: 480px){


/*Header------------------------------------------*/


header{
  height: auto;
}

nav.menu {
  position: fixed;        /* evita corte por ancestors */
  left: 0;
  right: 0;
  /* top será definido dinamicamente pelo JS para ficar logo abaixo do header */
  background: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;

  /* animação: o fundo escala junto com os links */
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 320ms cubic-bezier(.2,.9,.3,1), opacity 220ms ease;
  will-change: transform, opacity;

  pointer-events: none; /* quando fechado, não responde a cliques/tab */

  max-height: 20vh;
}

/* open state */
nav.menu.active {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

/* Links on mobile: make them visible/clear */
nav.menu a {
  color: #fff;
  padding: 8px 6px;
  display: block;
  font-size: 15px;
}

/* optional hover effect */
nav.menu a:hover { background: rgba(255,255,255,0.04); }

.header-Image{
  width: 40vw;
  margin: 1vh 3vw;
}

.menu-toggle {
  display: block; /* botão aparece no mobile */
}

.first-Container{
  max-width: 100vw;
}

.first-Container__box{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  margin-bottom: 5rem;
}

.first-Container__tatica{
  width: 70vw;
  margin: 0 auto;
  padding-top: 10vh;
}

.first-Container__text{
  margin: 2vh auto;
}

.text-Tatica{
  font-size: 6rem;
}

.text-Tatica__sub{
  font-size: 1.5rem;
}

.button-Protection{
  width: 80vw;
  margin-top: 10vh;
}

.pagetop-Logo{
  margin: 0 auto;
  padding: 0 0 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo-Mobile__adjust{
  width: 20vw;
  height: auto;
  padding-right: 10px;
}

.title-Mobile{
  border-left: 2px solid gold;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text-Mobile__adjust{
  font-size: 48px;
}

.subtext-Mobile__adjust{
  font-size: 12px;
}

.second-Container{
  padding-top: 2rem;
}

.second-Container__flex-Display{
  width: 70%;
}

.poppins-semibold{
  margin-top: 3vh;
  padding-bottom: 10vh;
}

.swiper{
  width: 100vw;
  height: auto;
}



.pr-Index__mobile{
  padding-bottom: 8vh;
}

.swiper-button-next{
  display: none;
}

.swiper-button-prev{
  display: none;
}

.swiper-scrollbar{
  display: block;
}

.third-Container{
  display: none;
}

.third-Container__mobile{
  display: flex;
  flex-direction: column;
  margin-top: 5vh;
  align-items: center;
  padding-bottom: 5vh;
}

.pagetop-Logo__thirdc{
  padding-bottom: 5vh;
}

.swiper2{
  position: relative;
  width: 90%;
}

.image-Services{
  margin: 0 auto;
  width: 95%;
  border: 10px solid gold;
}

.title-Services__mobile{
  margin-top: 0;
  padding-top: 0;
}

.fourth-Container{
  display: none;
}

.fourth-Container__mobile{
  margin-top: 12vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subtext-Client{
  font-size: 3vh;
  text-align: center;
  margin: 0 auto;
}

.subtext-Client__mobile{
  width: 80%;
  background: yellow;
  padding: 0;
  line-height: 2rem;
  font-size: 1.5rem;
  margin-bottom: 5rem;
}

.clients {
  margin: 5rem 4vw;
  column-count: 3;
  column-gap: 10px;

}

.clients-logo {
  width: 100%;
  display: block;
  margin: 0 0 12px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  object-fit: contain;
}
/* garante que a hint receba toques/clicks */
.swipe-hint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 9999;
  /* FORÇA pointer-events pra permitir clicar na dica */
  pointer-events: auto !important;
  transition: opacity 0.8s ease, transform 0.8s ease;
  opacity: 1;
  visibility: visible;
}

/* caixa com fundo preto translúcido e padding ao redor da gif */
.swipe-hint__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.6);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  pointer-events: auto; /* garante que clique no box funcione */
}

/* imagens / textos dentro */
.swipe-hint__img { width: 2rem; height: 2rem; user-select: none; -webkit-user-drag: none; }
.swipe-hint__text { color: #fff; font-size: 13px; }

/* estado escondido */
.swipe-hint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none !important;
}


}

@media (min-width: 481px) and (max-width: 1050px){

  .header-Image{
    width: 250px;
    margin-left: 1rem;
  }
  
  .first-Container__box{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2rem auto 0;
  }

  .first-Container__tatica {
    width: 30vh;
  }

  .first-Container__text{
    margin: 2rem auto;
  }

  .text-Tatica{
    font-size: 18vh;
  }

  .text-Tatica__sub{
    font-size: 4.5vh;
  }

  .button-Protection{
    margin-top: 3vh;
    font-size: 4vh;
  }

  .subtext-Client__mobile{
    font-size: 2rem;
  }

  .second-Container{
    height: 100vh;
    margin: 0;
  }


  .second-Container__flex-Display{
    width: 70%;
    font-size: 1.6rem;
  }

  .third-Container__services {
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .border-Animation{
    width: 250px;
    border-radius: inherit;   /* mantém mesmo rounding */
    position: relative;
    border-radius: 3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    overflow: visible;
    padding: 1vw;
  }


}