@import url(index/containerInicioIndex.css);
@import url(index/PrincipiosContainer.css);
@import url(index/containerServicos.css);
@import url(index/containerValvula.css);
@import url(index/containerSegmentos.css);
@import url(index/entreEmContatoContainer.css);
@import url(index/telemetriaResumidaContainer.css);

/* QuemSomos */

@import url(quemSomos/inicioQuemSomos.css);
@import url(quemSomos/ATechmeterQs.css);
@import url(quemSomos/NossaTrajetoria.css);
@import url(quemSomos/localizacaoTechmeter.css);

/* Telemetria */
@import url(Telemetria/inicioTelemetria.css);

/* Nossos Servicos */
@import url(NossosServicos/servicos.css);


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

img,
video {
  max-width: 100%;
}

:root {
  --VermelhoPadrao: #c62026;
  --AzulEscuroPadrao: #040e26;
  --cor-texto: #333;
  --cor-fundo: #f5f5f5;
}

/* efeitos */

@keyframes appear {
  from {
    opacity: 0;
    scale: 0.7;
    /* transform: translateX(-100px); */
  }
  40% {
    opacity: 1;
    scale: 1;
    /* transform: translateX(0); */
  }
}

@keyframes appear2 {
  from {
    opacity: 0;
    transform: translateX(250px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes appear3 {
  from {
    opacity: 0;
    transform: translateX(-250px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* btns */

.btnHeader {
  text-decoration: none;
  color: white;
  background-color: var(--VermelhoPadrao);
  padding: 0.7rem 2rem;
  border-radius: 0.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: ease-in-out 0.3s;
  box-shadow: 0 0 5px 2px rgba(70, 70, 70, 0.3);
}

.btnHeader:hover {
  background-color: #ffffff;
  color: var(--VermelhoPadrao);
}

.faleConosco:hover {
  color: #ffffff;
  background-color: var(--AzulEscuroPadrao);
}

.btnForm{
  width: 100%;
  padding: 1rem;
  color: white;
  font-weight: 700;
  background-color: var(--VermelhoPadrao);
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px 2px var(--VermelhoPadrao);
}

.btnForm:hover{
  transform: scale(1.02);
  transition: .2s ease-in-out;
  background-color: #fff;
  color: var(--AzulEscuroPadrao);
  box-shadow: 0 0 10px 2px #ffffff;
  border-radius: .7rem;
}

/* cortes laterais */


.corte-esquerda {
  position: absolute;
  left: 0;
  background-color: var(--VermelhoPadrao);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  width: 6%;
  height: 100%;
  animation: appear3;
  animation-timeline: view();
}

.corte-direita {
  position: absolute;
  right: 0;
  background-color: var(--VermelhoPadrao);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  width: 6%;
  height: 100%;
  animation: appear2;
  animation-timeline: view();
}

.corte-esquerdaQS {
  position: absolute;
  left: 0;
  background-color: var(--VermelhoPadrao);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  width: 6%;
  height: 100%;
  animation: appear3;
  animation-timeline: view();

}

.corte-direitaQS {
  position: absolute;
  right: 0;
  background-color: var(--VermelhoPadrao);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  width: 6%;
  height: 100%;
  animation: appear2;
  animation-timeline: view();
}

/* header */

.containerHeader {
  top: 0;
  position: -webkit-sticky;
  position: sticky;
  width: 100%;
  z-index: 4000;
}

.navContainer {
  transition: padding 0.35s ease-in-out;
}

.navContainer img {
  transition: height 0.35s ease-in-out;
}

.containerHeader.scrolled .navContainer {
  padding: 0.5rem 0rem;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
}

.containerHeader.scrolled .navContainer img {
  height: 52px;
}

.headerTop {
  overflow: hidden;
  max-height: 120px;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

.containerHeader.scrolled .headerTop {
  max-height: 0;
  padding: 0;
  opacity: 0;
}
.headerTop {
  padding: 1rem 0;
  background-color: var(--AzulEscuroPadrao);
  font-size: 0.9rem;
  font-weight: 200;
  width: 100%;
}

.boxHeaderTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0rem 4rem;
}

.redesHeaderTop {
  display: flex;
  gap: 1rem;
  color: white;
}

.emailHeaderTop {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.redesHeaderTop i {
  font-size: 1.2rem;
  color: var(--VermelhoPadrao);
}

.infsHeaderTop {
  display: flex;
  gap: 1rem;
}

.infs i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: var(--VermelhoPadrao);
}

.infs {
  display: flex;
  color: white;
}

.navContainer {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1rem 0rem;
  border-radius: 0px 0px 15px 15px;
  border-bottom: 7px solid var(--AzulEscuroPadrao);
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.397);
}

.logo {
  position: relative;
}

.logo  img:hover{
  transform: rotate(-2deg);
  transition: 0.3s ease-in-out;

}



.navContainer img {
  height: 70px;
}

.navLinks ul {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.navLinks ul li {
  list-style: none;
}

.navLinks ul li a {
  text-decoration: none;
  color: black;
  font-size: 1.1rem;


}

.navLinks ul li a span{
  color: #c62026;
}

.navLinks ul li a:hover {
  color: var(--VermelhoPadrao);
}

/*  FORMULARIO */

.containerFormulario{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  height: 80vh;
  background-color: var(--AzulEscuroPadrao);
  box-shadow: 0 5px 30px  #000;
}


.containerFormulario .corte-esquerda {
  position: absolute;
  left: 0;
  background-color: var(--VermelhoPadrao);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  width: 6%;
  height: 100%;
  animation: appear3;
  animation-timeline: view();
}

.containerFormulario .corte-direita {
  position: absolute;
  right: 0;
  background-color: var(--VermelhoPadrao);
  clip-path: polygon(100% 0, 0% 50%, 100% 100%);
  width: 6%;
  height: 100%;
  animation: appear2;
  animation-timeline: view();
}

.containerFormulario .txtFormulario{
  width: 50%;
  animation: appear3;
  animation-timeline: view();
}

.containerFormulario .txtFormulario h1{
  font-size: 3rem;
  color: white;
}

.formulario{
  width: 400px;
  height: 500px;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--AzulEscuroPadrao);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.30);
  border: 2px solid #fff;
  animation: appear;
  animation-timeline: view();
}

.formulario form{
  width: 100%;
}



.formulario input, textarea{
  width: 100%;
  margin-top: 5px;
  padding: 1rem 1rem;
}

.formulario input:focus,
.formulario textarea:focus {
  border: 2px solid var(--VermelhoPadrao);
  outline: none;
}

.formulario input{
  height: 40px;

  border: none;
}

.formulario textarea{
  height: 150px;
  border: none;
}

.formulario form label{
  color: white;
  font-weight: 600;
}

/* footer */

.footer{
  position: relative;
  height: 70vh;
  width: 100%;
  background-color: #061331;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.boxFooter{
  width: 300px;
  height: 300px;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.200);

}

.boxFooter p{
  color: #ccc;
}

.aTechMeterContainer{
  display: flex;
  align-items: start;
  gap: 1.5rem;
  justify-content: center;
  flex-direction: column;
  animation: appear3;
  animation-timeline: view();
}

.boxFooter h2{
  color: var(--VermelhoPadrao);
  font-size: 1.5rem;
  margin-bottom: .7rem;
}

.aTechMeterFooter p{
  margin-bottom: 1rem;
  font-size: 1rem;

}

.imgRedesFooter i{

  color: var(--VermelhoPadrao);
  font-size: 2rem;
}

.navegacaoFooterContainer{
  animation: appear;
  animation-timeline: view();
}



.navList{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navList a {
  text-decoration: none;
  font-size: 1rem;
  color: #ccc;
  text-decoration: underline;
}

.navList a:hover{
  color: var(--VermelhoPadrao);
}

.produtosFooterContainer{
  animation: appear;
  animation-timeline: view();
}

.duvidasFooterContainer{
  animation: appear2;
  animation-timeline: view();
}


.conteudoDuvidasFooter{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.boxDuvidasFooter{
  display: flex;
  gap: 1rem;
}

.boxDuvidasFooter i{
  color: var(--VermelhoPadrao);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  /* efeitos de animação disparados por scroll (animation-timeline: view())
     tem suporte inconsistente em navegadores mobile e custam performance;
     desliga tudo no mobile pra evitar elemento preso com opacidade 0 */
  * {
    animation: none !important;
  }
}

.creditsFooter {
  width: 100%;
  padding: 1rem;
  text-align: center;
  background-color: #04091a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.creditsFooter p {
  color: #8a93ab;
  font-size: 0.85rem;
}

.footer-credit {
  margin-top: 0.3rem;
  opacity: 0.7;
}

.footer-credit a {
  color: #8a93ab;
  font-weight: 600;
  text-decoration: underline;
}

.footer-credit a:hover {
  color: #fff;
}

/* ==========================================================
   RESPONSIVO — cssGeral.css (header, nav, formulário, footer)
   ========================================================== */

@media (max-width: 1024px) {
  .boxHeaderTop {
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .navContainer {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
  }

  .navLinks ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .containerFormulario {
    flex-direction: column;
    height: auto;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }

  .containerFormulario .txtFormulario {
    width: 100%;
    text-align: center;
  }

  .containerFormulario .txtFormulario h1 {
    font-size: 2.2rem;
  }

  .formulario {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .footer {
    height: auto;
    flex-wrap: wrap;
    padding: 3rem 1.5rem;
  }

  .boxFooter {
    width: 45%;
    height: auto;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .headerTop {
    display: none; /* barra de contato/redes some no mobile, prioriza logo + menu */
  }

  .navContainer {
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }

  .navContainer img {
    height: 50px;
  }

  .navContainer > div:has(.faleConosco) {
    display: none; /* botão "FALE CONOSCO" some, vira item dentro do menu mobile */
  }

  .corte-esquerda,
  .corte-direita,
  .corte-esquerdaQS,
  .corte-direitaQS {
    display: none; /* cortes diagonais decorativos atrapalham em telas estreitas */
  }

  .boxFooter {
    width: 100%;
  }

  /* menu hamburguer */

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 4200;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background-color: var(--AzulEscuroPadrao);
    transition: transform 0.25s ease-in-out, opacity 0.2s ease-in-out;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navOverlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 14, 38, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
    z-index: 4050;
  }

  .navOverlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .navLinks {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 4100;
    overflow-y: auto;
  }

  .navLinks.active {
    transform: translateX(0);
  }

  .navLinks ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }

  .navLinks ul li {
    width: 100%;
  }

  .navLinks ul li a {
    display: block;
    font-size: 1.1rem;
    padding: 0.4rem 0;
  }

  .navLinks .faleConoscoMobile {
    display: block;
    margin-top: 2rem;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .hamburger,
  .navOverlay,
  .faleConoscoMobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .navLinks ul {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .navLinks ul li a {
    font-size: 0.8rem;
  }

  .containerFormulario .txtFormulario h1 {
    font-size: 1.6rem;
  }

  .formulario {
    padding: 1.2rem;
  }

  .btnHeader {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
