body {

font-family: 'Montserrat', Arial, sans-serif;
background: #f8f9ff;
margin: auto;
}
main {
    margin: auto;
    margin-top: 55px;
    
}
/* Banner */
.banner-home {
  margin: auto;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0 20px;
  background:
    linear-gradient(to right, #ffffff 45%, rgba(255,255,255,0.1) 54%),
    url("/assets/img/banner-nv.webp") right top / 65% no-repeat;
  overflow: hidden;
 margin-bottom: 15px; 
 border-bottom: double 4px #0073ff;
 
}

/* Texto */
.banner-texto {
  width: 60%;
  z-index: 0;
  
}

.banner-texto h1 {
  font-size: 20px;
  color: #0055bc;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(255,255,255,0.9);
  padding:0;
  margin: 0;
  margin-bottom: 15px;
}
h1 {
  font-size: 20px;
  color: #0055bc;
  font-weight: 700;
  line-height: 1.5;
  margin: 15px 30px 10px 30px;
  text-shadow: 0 1px 10px rgba(255,255,255,0.9);
  text-align: left;
}
/* Botão */
.btn-banner {
  display: inline-block;
  background: linear-gradient(90deg, #e74c3c, #d73725);
  color: #fff;
  padding: 13px 34px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(231,76,60,0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231,76,60,0.6);
}

/* Subtexto */
.subtexto {
  text-align: center;
  color: #3c3b3b;
  font-size: 16px;
  font-weight: 600px;
  text-align: left;
  margin-bottom: 2px;
}

.cta-btn {
  background: linear-gradient(to bottom, #0077ff, #0055cc);
  color: #fff;
  font-weight: 600;
  padding: 10px;
  border: solid 1px white;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px #0077ffe6;
}


.servicos-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 14px;
  line-height: 2;
  color: #3c3b3b;
}

.solucoes-section {
  background: linear-gradient(#0077ffe6, #0039aae6);
  padding: 20px;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

.titulo-solucoes {
  font-size: 17px;
  color: #022957;
  
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.card-solucao {
  background: white;
  border-radius: 10px;
  padding: 0 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 15px;
}

.card-solucao i {
  font-size: 2rem;
  color: #0055bc;
  padding-top: 15px;
  transition: color 0.3s;
}

.card-solucao h3 {
  color: #0055bc;
  font-size: 15px !important;
  margin-bottom: 10px;
}

.card-solucao p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Efeito hover */
.card-solucao:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0, 85, 188, 0.25);
}

.card-solucao:hover i {
  color: #022957;
}

/* === MENU MOBILE === */
.menu-mobile {
  display: none;
  position: absolute;
  right: 30px;
  top: 10px;
  z-index: 1000;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Lateral oculta */
.menu-lateral {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100vh;
  background: linear-gradient(to bottom, #022957, #0055bc);
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.4);
  transition: left 0.3s ease;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 9999;
}

.menu-lateral a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 25px;
  transition: background 0.2s;
}

.menu-lateral a:hover {
  background: #0077ff;
  color: #ffd000;
}

.fechar-menu {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Submenu mobile */
.submenu-mobile {
  display: flex;
  flex-direction: column;
}

.submenu-titulo {
  color: white;
  padding: 10px 25px;
  font-weight: 600;
  cursor: pointer;
  
  font-size: 16px;
}

.submenu-titulo::after {
  content: "▾";
  float: right;
  font-size: 16px;
  opacity: 0.8;
}

.submenu-conteudo {
  display: none;
  flex-direction: column;
  padding-left: 20px;
}

.submenu-conteudo a {
  font-size: 16px;
  padding: 6px 25px;
  color: #e4e4e4;
}

.submenu-conteudo a:hover {
  color: #ffd000;
}


@keyframes aparecer {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
.popup-content h3 {
  color: #0055bc;
  margin-top: 0;
  font-size: 18px;
}
.popup-content p {
  line-height: 1.3;
  font-size: 16px;
  color: #333;
}
.fechar {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
.saiba-mais {
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color:#0055cc;
}
.saiba-mais:hover {
  text-decoration:underline;
  font-size: 16px;
  font-weight: bold;
  color:#0043a1;
}


/* SECTION CONTATO */
.contato-section {
  padding: 20px 15px;
  background: linear-gradient(#0039aae6, #0077ffe6);
  margin-top: 0;
}

.contato-container {
  max-width: 1100px;
  background: #f8f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 100px;
  margin: 10px auto;
  flex-wrap: wrap;
  box-shadow: #535252 1px 1px 7px 0.3px;
  padding: 10px;
  border-radius: 10px 15px;
}

.contato-imagem img {
  width: 350px;
  height: auto;
  border-radius: 10px 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.contato-info {
  flex: 1;
  align-items: top;
  padding: 15px;
}

.contato-info h1 {
  margin:0; 
  padding: 0;
  font-size: 19px;
}

.contato-info p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  max-width: 700px;
  text-align: left;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin: 10px 0;
}

.contato-item i {
  color: #0077ff;
  font-size: 22px;
}

.contato-btn {
  display: inline-block;
  margin-top: 20px;
  background: linear-gradient(to bottom, #0077ff, #0055cc);
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  
  
}

.contato-btn:hover {
  background: linear-gradient(to bottom, #0066e0, #003a99);
  transform: translateY(-2px);
}

/* ORÇAMENTO */
.popup-overlay {
  display:none; position:fixed; inset:0; background:rgba(0,0,0,0.7);
  justify-content:center; align-items:center; z-index:999;
}
.popup-content {
  background:#fff; 
  padding:25px; 
  border-radius:10px; 
  max-width:500px; 
  width:100%;
  max-height:100%; 
  overflow:auto; 
  box-shadow:0 4px 15px rgba(0,0,0,.3);
}

h3 {text-align:center; 
  margin-bottom:15px;
  font-size: 16px !important;
}
label {display:block; 
  font-weight:600; 
  margin-top:10px; 
  font-size: 12px !important;
  color: #545b69;
  }
input, select {
  width:95%; 
  padding:8px; 
  border:1px solid #ccc; 
  border-radius:6px; 
  margin:4px auto; 
  font-size: 12px !important;
  color: #545b69;
}
button {
  width:100%; 
  max-width: 200px;
  margin: 15px auto;
  padding:8px 12px; 
  border:none; 
  border-radius:25px;}

#enviarForm {
  background:#0055bc; 
  color:#fff;}
  
  #enviarForm:hover {
  background:#0063dd; 
  color:#fff;}

.btn-secundario {
  background:#eaeaea;
  border: solid 1px rgb(90, 79, 79);
  color: #545b69;
  max-width: 200px;
  padding: 5px 12px;
  margin: 15px auto;
}
.btn-secundario:hover {
  border: solid 2px rgb(0, 88, 203);
  color: rgb(0, 88, 203);
  font-weight: 600;
}
.fechar {float:right; cursor:pointer; font-size:22px;}
/* GRID FORM */
.grid-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px 20px;
  align-items: end;
}

.col, .col-full {
  display: flex;
  flex-direction: column;
}

.col-full {
  grid-column: span 2;
}

#semCnpj {
  width: 100%;
  margin-top: 5px;
}

#enviarForm {
  display: block;
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
}
.banner-texto-mob{display: none;}

.cards-metricas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0 50px;
  background: #f8f9ff;
}

.card-contador {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px 10px 0 10px;
  width: 180px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  margin: 15px auto;
}

.card-contador i {
  font-size: 30px;
  color: #0077ff;
  margin-bottom: 5px;
}

.contador {
  font-size: 25px;
  font-weight: 700;
  color: #0055bc;
}

.texto {
  font-size: 14px;
  color: #333;
  margin-top: 4px;
}
.cta-bottons {
  display: flex; 
  gap: 10px; 
  margin-bottom: 30px;
}
/* ===== Contato - Formulário aprimorado ===== */
#formulario-contato {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* garante largura total da div */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 10px; /* controla margens internas */
}


#formulario-contato input,
#formulario-contato textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

#formulario-contato input:focus,
#formulario-contato textarea:focus {
  border-color: #0077ff;
  outline: none;
}

/* inputs lado a lado */
.linha-dupla {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.linha-dupla input {
  flex: 1;
}

/* botão fixo do WhatsApp */
#btnWhats {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(to bottom, #25d366, #128c7e);
  color: white;
  font-size: 28px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.2s ease;
  text-decoration: none;
}
#btnWhats:hover {
  transform: scale(1.1);
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #f3f5fa;
  color: #555;
  font-size: 14px;
  padding: 20px 30px;
  border-top: 2px solid #d9e3ff;
  font-family: Arial, sans-serif;
}

.footer-col-l {
  flex: 1 1 30%;
  min-width: 200px;
  
  text-align: left;
}
.footer-col-c {
  flex: 1 1 30%;
  min-width: 200px;
  
  text-align: center;
}
.footer-col-r {
  flex: 1 1 30%;
  min-width: 200px;
  
  text-align: right;
}
.footer-col h4 {
  color: #022957;
  font-size: 15px;
  
}

.footer-col p {
  margin: 0;
  line-height: 1;
}


@media (min-width: 1368px) {
.banner-home {
  margin: auto;
  padding: 30px 80px 5px 80px;
  background:
    linear-gradient(to right, #ffffff 60%, rgba(255, 255, 255, 0.1) 30%),
    url("/assets/img/banner-nv.webp") right top / 45% no-repeat;
  overflow: hidden;
  
}
}

/* === RESPONSIVO MOBILE === */
@media (max-width: 768px) {
  nav.menu-topo {
    display: none; /* oculta menu desktop */
  }
  .menu-mobile {
    display: block;
  }
  .cards-container {
    grid-template-columns: 1fr;
    justify-content: space-between;
  }
  .login-header {
    display: none;
  }

  header img.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 45px;
  }

  header {
    justify-content: space-between;
    padding: 5px 15px;
    height: 50px;
  }

  main {
    margin-top: 60px;
  }

  /* Banner */
  .banner-home {
    margin: auto;
    height: 180px;
    background:
      linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0.1) 0),
      url("/assets/img/banner-nv.webp") center center / cover no-repeat;
    overflow: hidden;
  }

  /* Texto */
  .banner-texto {
    display: none;
  }

  .banner-texto-mob {
    display: block;
    width: 100%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.273);
    padding: 15px 15px 0 15px; 
    margin: auto;
    box-sizing: border-box;
    justify-content: space-between;
  }

  .banner-texto-mob h1 {
    font-size: 18px;
    color: #0055bc;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    text-shadow: none;
    margin: 0;
    padding: 0;
  }

  .cta-bottons {
    display: flex; 
    gap: 5px; 
    margin-bottom: 30px;
  }

  .cta-btn {
    flex: 1;      
    width: auto;
    padding: 12px 0;
    font-size: 15px;
    border-radius: 8px;
    display: block;
    margin: 10px auto;
  }

  .servicos-lista {
    font-size: 15px;
    margin: 8px 0 12px;
    text-align: left;
  }

  /* Métricas */
  .cards-metricas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    padding: 10px 15px;
    background: #f8f9ff;
    justify-items: center;
  }

  .card-contador {
    width: 100%;
    max-width: 160px;
    padding: 15px 10px;
    margin: 0;
  }

  .card-contador i {
    font-size: 26px;
  }

  .contador {
    font-size: 20px;
  }

  .texto {
    font-size: 13px;
  }

  /* Seções e espaçamento */
  .solucoes-section,
  .contato-section {
    
    padding-top: 10px;
  }

  /* Popup geral */
  .popup-content h3 {
    color: #0055bc;
    margin-top: 0;
    font-size: 20px;
  }

  .popup-content p {
    line-height: 1.3;
    font-size: 16px;
    color: #333;
  }

  .popup-content {
    padding: 25px; 
    width: 100%;
    margin: 0 15px;
  }

  #popup-servico > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .popup-servico-img {
    flex: 0 0 auto !important;
    width: 200px !important;
    height: 200px !important;
    margin-bottom: 10px;
  }

  .popup-servico-texto {
    flex: 1;
    min-width: auto;
    text-align: left;
  }

  .popup-servico-texto h2 {
    text-align: center;
  }

  /* Inputs */
  input, select {
    width: 95%; 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    margin: 4px auto; 
    font-size: 16px !important;
    color: #545b69;
  }

  /* Contato */
  .contato-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 0 100px;
    margin: 0 auto;
    flex-wrap: wrap;
    box-shadow: none;
  }

  .contato-item {
    justify-content: first baseline;
  }

  .contato-btn {
    margin: 15px auto 0;
  }

  .contato-imagem {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
    border-radius: 10px 15px;
  }

  .contato-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* Fonte geral */
  body, .banner-texto-mob, .contato-info, .card-solucao p {
    font-family: 'Montserrat', sans-serif;
  }

}
