/* Reset e base */
html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
  
}

*, *::before, *::after {
  box-sizing: inherit;
}
/* HEADER */
header {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  background: linear-gradient(to bottom, #022957, #0055bc);
  border-bottom: 2px solid #f2f2f2;
  color: white;
  padding: 0 20px;
  border-radius: 0 0 25px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
  z-index: 99;
  height: 30px;
  box-shadow: 0 4px 3px -3px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;;
}
.mensagem-header {
  display: none;}

.login-header {
  position: absolute;
  right: 50px;             /* cola no canto direito */
  bottom: -15px;        /* sobresai o header */
  width: 100px;
  z-index: 10;
  background: linear-gradient(to bottom, #d4d4d4, #f4f4f4);
  border: 2px solid white;
  border-radius: 5px;
  color: rgb(47, 39, 39);
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
  z-index: 1;
  height: 30px;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  font-weight: bold;
  
}
/* Submenu dentro do botão Login */
.submenu-login {
  display: none;
  position: absolute;
  top: 107%;       /* logo abaixo do botão */
  right: -5px;
  background: linear-gradient(to bottom, #e3e3e3, #f4f4f4);
  border: 2px solid white;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: 130px;
  z-index: 999;
  overflow: hidden;
}

/* Links do submenu */
.submenu-login a {
  display: block;
  padding: 8px 12px;
  color: #022957;
  text-decoration: none;
  font-family: Calibri, sans-serif;
  font-size: 13px;
  text-align: left;
}

.submenu-login a:hover {
  background-color: #0077ff;
  color: white;
}

/* Exibe o submenu ao passar o mouse */
.login-header:hover .submenu-login {
  display: block;
}

header img.logo {
  position: absolute;
  bottom: -40px;
  left: 30px;
  height: 60px;
  z-index: 10;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.9));
}


/* MENU PRINCIPAL */
nav.menu-topo {
  position: fixed;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  z-index: 2;
  box-shadow: 0px 3px 10px -7px rgba(255, 255, 255, 0.551);          /* brilho embaixo */
  padding: 0 10px;
  
  
}
nav.menu-topo a {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
}

nav.menu-topo a:hover {
  transform: translateY(2px); 
}


.menu-item {
  position: relative;
  width: auto;
   display: hidden;
}

.menu-link {
  display: flex;
  width: 170px;
  justify-content: center;
  align-items: center;
  padding: 14px 10px 2px 10px;
  border-radius: 0 0 6px 6px;
  border: solid 1px white;
  color: #fff;
  text-decoration: none;
  font-family: Calibri, sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, #022957 0%, #0077ff 100%);
  box-sizing: border-box;
  margin: 0;
  margin-bottom: 0;
  height: 45px;
  box-shadow: #5b5a5a 1px 1px 10px 0.1px;
  text-shadow: 0 0 5px #404040;
  
}

.menu-link:hover {
  color:#ffd000;
  text-shadow: 0 0 5px #404040;
  box-shadow: #5b5a5a 1px 1px 10px 0.1px;
}

/* SUBMENU */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: 250px;
  z-index: 9999;
}

.submenu a {
  display: block;
  padding: 5px;
  color: #0174BD;
  text-decoration: none;
  font-size: 13px;
  font-family: Calibri, sans-serif;
  text-align: left;
  border-radius: 5px;
  margin: 10px 5px;
}

.submenu a:hover {
  background-color: #009dff;
  color: white;
}

.menu-item:hover .submenu {
  display: block;
}

.contato-header {
  display: flex;
  align-items: center;
  gap: 75px;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 11px;
  white-space: pre;

}

.contato-header .item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.contato-header i {
  color: #ffffff;
  font-size: 16px;
}
.contato-header a.item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;           /* força cor branca */
  text-decoration: none;    /* remove sublinhado */
  font-size: 13px;
  font-family: Arial, sans-serif;
}

.contato-header a.item:hover {
  color: #25d366;           /* verde no hover (opcional) */
}

.contato-header a.item i {
  color: #25d366;           /* ícone verde */
  font-size: 14px;
}
.ecosistema-section {
  padding: 0;
  margin-top: 100px !important;
  
}

.ecosistema-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 1300px;
  margin: 15px auto;
  border-radius: 10px;
  overflow: hidden;
}
.ecosistema-imagem {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 0 10px 10px 0;
}

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

/* texto flutuante sobre a imagem, logo acima da faixa azul */
.texto-banner {
  position: absolute;
  bottom: 0; /* ajusta a altura para ficar logo acima da faixa azul */
  left: 60px;
  right: 0;
  background: rgba(0, 85, 204, 0.8);
  color: #fff;
  padding: 5px 5px;
  border-radius: 15px 0 15px 0;
  text-align: center;
  font-family: Arial, sans-serif;
  transition: opacity 1s ease-in-out;

}

.texto-banner h3 {
  font-size: 15px;
  color:rgb(255, 234, 0);
  font-weight: 700;
  margin: 0;
}

.texto-banner p {
  font-size: 13px;
  margin: 3px 0 0 0;
  line-height: 1.3;
}

.ecosistema-texto {
  flex: 1 1 50%;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #262a32;
  
}

.ecosistema-texto h1 {
  font-size: 20px;
  font-weight: 600;
  color: #545b69;
  
}

.ecosistema-texto p {
  font-size: 16px;
  line-height: 1.5;
  color: #545b69;
  max-width: 500px;      /* melhora leitura */
  padding: 0 10px;
  
}
.marcatexto {
  position: relative;
  z-index: 1;
  font-weight: 600;
  color:#0055bc;
}


.cta-btn {
  background: linear-gradient(to bottom, #0077ff, #0055cc);
  color: #fff;
  font-weight: 600;
  padding: 7px;
  border: solid 1px white;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 119, 255, 0.9);
  margin-top: 10px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  color: #ffd000;
}


.servicos-lista {
  list-style: none;
  padding: 0;
  margin: 5px 0;
  font-size: 0.90rem;
  line-height: 1.5;
}

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

.titulo-solucoes {
  font-size: 1.5rem;
  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: 25px 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;
  margin-bottom: 1px;
  transition: color 0.3s;
}

.card-solucao h3 {
  color: #022957;
  font-size: 1rem;
  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-family: Calibri, sans-serif;
  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-family: Calibri, sans-serif;
  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;
  font-family: Calibri, arial, sans-serif;
}
.saiba-mais:hover {
  text-decoration:underline;
  font-size: 16px;
  font-weight: bold;
  color:#0043a1;
  font-family: Calibri, arial, sans-serif;
}


/* SECTION CONTATO */
.contato-section {
  background: linear-gradient(to right, #f8f9ff, #eaf2ff);
  padding: 20px 15px;
  border-top: 2px solid #d9e3ff;
}

.contato-container {
  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: 250px;
  max-width: 100%;
  border-radius: 10px 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.contato-info {
  flex: 1;
  align-items: top;
  color: #022957;
  font-family: Calibri, Arial, sans-serif;
}

.contato-info h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #022957;
}

.contato-info p {
  font-size: 16px;
  font-family: Calibri, arial, sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  max-width: 500px;
}

.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;
  box-shadow: 0 4px 8px rgba(0,85,188,0.4);
  
}

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

/* === RESPONSIVO GERAL === */
@media (max-width: 768px) {
  nav.menu-topo {
    display: none; /* oculta menu desktop */
  }
  .menu-mobile {
    display: block;
  }
  .cards-container {
    grid-template-columns: 1fr;
  }
    .login-header {
    display: none;
  }
header img.logo {
  position: absolute;
  top: 15px;
  left: 10px;
  height: 60px;
}
header {
  justify-content: space-between;
  padding: 5px 15px;
  height: 50px;
}
.ecosistema-section {
  padding: 1px 15px;
  
  
}
  .ecosistema-container {
    flex-direction: column;  /* imagem em cima */
    margin: 0 auto 10px auto;
    border-radius: 0;
    padding-bottom: 15px;
  }
  .ecosistema-imagem {
    width: 100%;
    flex: none;
    order: -1; /* força imagem acima */
    display: block;
  }

  .ecosistema-imagem img {
    width: 100%;
    height: auto;
    border-radius: 0 20px 20px 0;
    max-height: unset;
    object-fit: cover;           /* cobre toda a largura */
    object-position: center top; /* centraliza foco no rosto */
  }
  .texto-banner {
  position: absolute;
  bottom: 4px; /* ajusta a altura para ficar logo acima da faixa azul */
  left: 40px;
  right: 0;
  background: rgba(0, 85, 204, 0.8);
  color: #fff;
  padding: 5px 5px;
  border-radius: 15px 0 15px 0;
  text-align: center;
  font-family: Arial, sans-serif;
  transition: opacity 1s ease-in-out;

}
  .ecosistema-texto {
    padding: 1px;
    text-align: center;
  }
.ecosistema-texto h1 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
  text-align: center;
}
.ecosistema-texto p.subheadline {
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 10px;
}
.servicos-lista {
  font-size: 15px;
  margin: 8px 0 12px;
  text-align: left;
}
.cta-btn {
  display: block;
  margin: 10px auto;
  font-size: 14px;
  padding: 8px 20px;
}
  
.popup-content h3 {
  color: #0055bc;
  margin-top: 0;
  font-size: 20px;
}
.popup-content p {
  line-height: 1.3;
  font-size: 16px;
  color: #333;
}
  .contato-container {
    flex-direction: column;
    text-align: center;
  }

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

  .contato-btn {
    margin: 15px auto 0;
  }
  .contato-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 100px;
  margin: 0 auto;
  flex-wrap: wrap;
  box-shadow: none;
}
.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;
  }
  input, select {
  width:95%; 
  padding:8px; 
  border:1px solid #ccc; 
  border-radius:6px; 
  margin:4px auto; 
  font-size: 16px !important;
  color: #545b69;
}
}