*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 140px; 
  scroll-behavior: smooth;
}


body{
  background-color: #282828;
  font-family: 'Inter';
  padding-top: 100px;
}

ul, li{
  list-style: none;
}

a{
  text-decoration: none;
}

footer a{
  color: white;
}

.redesNav{
  display: flex;
  background-color: #020304;
}

.redesNav h6{
  color: white;
  font-size: 14px;
  font-weight: 200;
}

.instaNAV, .ytNAV{
  display: flex;
  align-items: center;
  gap: 5px;
}



/* NAVEGAÇÃO PRINCIPAL DA PÁGINA */
nav{
  position: relative;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0px;
  z-index: 10000;
}


.containerNAV{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.itensNAV{
  display: flex;
  gap: 0 20px;
}

.itensNAV li{
  color: white;
  z-index: 1000;
}




.redesNav{
  display: flex;
  background-color: #020304;
  padding: 5px 100px;
  gap: 20px;
}

.redesNav h6, .redesNav a{
  color: white;
  font-size: 14px;
  font-weight: 200;
}

.instaNAV, .ytNAV{
  display: flex;
  align-items: center;
  gap: 5px;
}

.instaNAV a, .ytNAV a{
  display: flex;
  align-items: center;
  gap: 5px;
}

/* NAVEGAÇÃO PRINCIPAL DA PÁGINA */
nav{
  position: relative;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0px;
  z-index: 10000;
}

/* Escondido por padrão no Desktop */
.menu-hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 10001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  transition: 0.4s;
}

.containerNAV{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.itensNAV{
  display: flex;
  gap: 0 20px;
}

.itensNAV li{
  color: white;
  z-index: 1000;
}


header {
  position: -webkit-sticky; /* Suporte para Safari */
  position: fixed;
  top: 0;
  z-index: 10000; /* Garante que fique acima do conteúdo */
  background-color: #0e0e0e; /* Mantendo o padrão dark que você curte */
  width: 100%;
}
/* INICIO */

.containerInicio{
  background-image: 
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(20,20,20,0.7) 60%, #282828 100%),
    url(./assets/fundoSolucoes.webp);
  min-height: 100vh ;
  background-position: center;
  background-size: cover; /* Faz a foto pegar de ponta a ponta */
  background-repeat: no-repeat;
  width: 100%;
}

.containerSolucoes{
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: calc(100vh - 100px); /* Tira altura do header para centralizar a section principal */
  padding-top: 80px; /* Garante espaço do fix-header */
}




.textoSolucoes h1{
  color: white;
  font-weight: 300;
  margin-bottom: 20px;
  font-size: 42px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
}

.textoSolucoes p{
  max-width: 700px;
  color: white;
  margin-bottom: 50px;
  font-size: 18px;
  font-weight: 200;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);

}



.textoSolucoes a{
 
  color: white;
  
    backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(6px); 
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.) 0%,   
   rgba(255, 255, 255, 0.05) 100% 
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  
  border-radius: 44px;
  padding: 20px 40px 20px 40px;
  transition: 1.5s ease-in-out;
  font-weight: 200;
  background: rgba(0,0,0,0.2);
}

.textoSolucoes a:hover{
   background: rgba(255, 255, 255, 0.05); /* Fundo quase não muda */
  
  /* A borda brilha intensamente */
  border-color: gainsboro;
  box-shadow: 
    0 0 10px #fff, 
  0 0 10px rgba(255, 255, 255, 0.1); /* Brilho interno */
}

/* SELO DE PARCEIROS NO HERO */

.selo-parceiros {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 40px;
  background: #ffffff; /* Fundo branco solicitado */
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.selo-parceiros span {
  color: #282828; /* Cor escura para contraste com branco */
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  padding-bottom: 10px;
}

.logos-parceiros {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.logos-parceiros img {
  width: auto;
  object-fit: contain;
}

.logos-parceiros img:nth-child(1) {
  height: 80px; /* Aumentar logo Solar Gard */
}

.logos-parceiros img:nth-child(2) {
  height: 45px; /* Tamanho proporcional da Madico */
}

/* CONTEÚDO */

.containerConteudo{
  background-image: url(./assets/fundoSolucoes2.webp);
  background-position: top;


}

.containerConteudo2{
  max-width: 1160px;
  margin: 0 auto;
  margin-top: 100px;
}

/* ICONES */

.containerConteudo h1{
  display: flex;
  justify-content: center;
background: linear-gradient(90deg, #D0CCC6 0%, #999 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 400;
padding: 50px 0;
font-size: 38px;
}

.icones{
  display: flex;
    justify-content: space-evenly;
}


.icones h4{
  max-width: 300px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  margin-top: 20px;
  background: linear-gradient(90deg, #D0CCC6 0%, #999 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.protecao, .residencial, .corp{
 display: flex;
 flex-direction: column;
 align-items: center;
 opacity: 0;
 transform: translateY(30px);
}

.icones.visivel > div {
  animation: fadeInUp 0.8s ease-out forwards;
}

.icones.visivel > div:nth-child(1) { animation-delay: 0.2s; }
.icones.visivel > div:nth-child(2) { animation-delay: 0.5s; }
.icones.visivel > div:nth-child(3) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* CSS: Estilo e Animação */
.whatsapp-link {
    position: fixed; /* O segredo para ele "correr" junto com a tela */
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde Oficial do WhatsApp */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Garante que fique acima de tudo */
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Efeito Hover (passar o mouse) */
.whatsapp-link:hover {
    transform: scale(1.1);
    background-color: #128c7e; /* Verde mais escuro ao passar o mouse */
}

/* Ícone SVG */
.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
}

/* Secões Alternadas de Soluções */
.solucao-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 80px 0;
  padding: 40px;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.solucao-item.reverse {
  flex-direction: row-reverse;
}

.solucao-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.solucao-img img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.solucao-texto {
  flex: 1;
}

.solucao-texto h2 {
  color: #282828;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  /* Removendo gradiente do texto para dar contraste com o fundo branco */
}

.solucao-texto p {
  color: #444444;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}


#certificacoes{
  background: linear-gradient(180deg, #282828 13.04%, #6A6865 100%); /* Exemplo de um tom escuro e sofisticado */
  width: 100%;
  padding-bottom: 50px; /* Espaçamento vertical */
  display: flex;
  flex-direction: column; /* <-- ADICIONE ISSO: Garante que o título fique em cima */
  align-items: center; 
}

.titulo-certificacoes {
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #D0CCC6 0%, #999 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 20px;
}

.certificacoes img {
  display: block; /* Remove o "espaço em branco fantasma" que fica embaixo de imagens no HTML */
  max-height: 100px; /* Defina uma altura máxima padrão para todas. Ajuste esse valor para o que ficar melhor no seu design */
  width: auto; /* Deixa a largura se ajustar sozinha para não achatar a logo */
  object-fit: contain; /* Garante que a imagem caiba perfeitamente no espaço sem cortar */
  pointer-events: none;
  user-select: none;
}


.certificacoes-wrapper {
  max-width: 85%; /* Ocupa a largura da tela */
  overflow: hidden; /* Esconde o que sai da tela */
   margin-left: 100px;
  /* Opcional: Fade nas laterais para ficar elegante */
  -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  cursor: grab;
  user-select: none;
}

.certificacoes-wrapper:active {
  cursor: grabbing;
}

/* A "Fita" que se move */
.certificacoes {
  display: flex;
  gap: 90px; /* Seu gap original */
  width: max-content; /* Força a largura a ser a soma dos itens */
  flex-wrap: nowrap;
 
  /* A animação será controlada via JS para garantir fluidez, 
     mas definimos a base aqui */
}


/* A animação será controlada via JS para garantir fluidez e interatividade */
.certificacoes[data-animated="true"] {
  /* Removemos a animação CSS daqui */
}


@keyframes scroll {
  to {
    /* Move para a esquerda 50% do tamanho total (que será o tamanho original + clone) */
    /* O ajuste de pixels ajuda a compensar o gap no final do loop */
    transform: translate(calc(-50% - 45px)); 
  }
}

/* Responsividade: Ajuste para tablets/celulares */
@media (max-width: 900px) {
    .whatsapp-link {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .solucao-item, .solucao-item.reverse {
      flex-direction: column;
      margin: 60px 0;
      gap: 20px;
      text-align: center;
    }

    .solucao-img img {
      max-width: 100%;
      height: auto;
    }

    /* Certificações */
    .certificacoes-wrapper {
        margin-left: 0;
        max-width: 100%;
    }
    
    /* Nav Mobile Fixes */
    .redesNav {
        padding: 5px 20px;
        justify-content: start;
    }
    .containerNAV { padding: 0 20px; }
    .menu-hamburger { display: flex; }
    .itensNAV {
      position: fixed;
      left: -100%;
      top: 100px; 
      flex-direction: column;
      background-color: #020304;
      width: 100%;
      text-align: center;
      transition: 0.3s;
      box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
      padding: 40px 0;
      z-index: 9999;
    }
    .itensNAV.active { left: 0; }
    .itensNAV li { padding: 10px 0; }
    
    /* Layout Fixes */
    .containerSolucoes {
      padding: 120px 20px 40px;
      align-items: center;
      flex-direction: column;
      gap: 50px;
      min-height: 100vh;
    }
    .textoSolucoes {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .textoSolucoes p {
      margin: 0 auto 30px auto; 
    }
    
    .icones {
      flex-direction: column;
      gap: 40px;
      padding: 0 20px;
    }
    
    /* Footer */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-contact {
        text-align: center;
        min-width: unset;
    }
}

/* --- AJUSTE ESPECÍFICO TABLET (768px) --- */
@media (min-width: 426px) and (max-width: 768px) {
    .containerInicio {
        min-height: auto;
    }

    .containerSolucoes {
        min-height: auto;
        padding: 60px 20px 60px;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .textoSolucoes {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 425px) {
    .textoSolucoes h1 {
        font-size: 32px;
    }
    .textoSolucoes p {
        font-size: 16px;
    }
    .textoSolucoes a {
        padding: 15px 30px;
        font-size: 14px;
        width: 100%; /* Botão full width pro dedo */
        max-width: 300px;
    }
    .containerConteudo h1 {
        font-size: 26px;
        padding: 30px 20px;
        text-align: center;
        line-height: 1.3;
    }

    .titulo-certificacoes {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .solucao-texto h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .solucao-img img {
        height: auto;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
    }
}


footer{
  margin-top: 0px !important;
}