@font-face {
  font-family: 'NexaBold';
  src: url('fonts/Nexa-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'NexaLight';
  src: url('fonts/Nexa-Light.otf') format('opentype');
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Header transparente */
header {
  background-color: transparent;
  backdrop-filter: blur(10px);
  padding: 2px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 100px;
  width: auto;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 60px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  font-family: 'NexaLight', sans-serif;
}

.menu-buttons {
  display: flex;
  gap: 16px;
  margin-left: 40px;
  align-items: center;
}

.btn-outline {
  padding: 8px 16px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-family: 'NexaLight', sans-serif;
}
.btn-outline.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-outline:hover {
  background-color: white;
  color: #002e5b;
}

/* Boas-vindas */
#boas-vindas {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .65;
}

.boas-vindas-conteudo {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.boas-vindas-conteudo h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-family: 'NexaBold', sans-serif;
}
.boas-vindas-conteudo p {
  font-size: 1.3rem;
  font-family: 'NexaLight', sans-serif;
}

/* Banner (contadores) */
.banner {
  background-color: #ffffff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.banner-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 120px 0 80px 0;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: #002e5b;
}

.banner h1 {
  font-size: 3rem;
}

.banner p {
  font-size: 1.2rem;
  margin-top: 10px;
}

h1, h2, h3, .counter, .counter-title {
  font-family: 'NexaBold', sans-serif;
}

/* Contadores */
.contador-inicio {
  background-color: #ffffff;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
}

.counter-title {
  font-size: 1.6rem;
  color: #002e5b;
  margin-bottom: 40px;
}

.counter-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.counter-box {
  background-color: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
}

.counter-icon {
  font-size: 1.8rem;
  color: #e10000;
  margin-bottom: 10px;
}

.counter {
  font-size: 1.8rem;
  font-weight: bold;
  color: #002e5b;
  word-wrap: break-word;
}

.counter-box p {
  margin-top: 10px;
  font-size: 1rem;
  color: #555;
}

/* Sobre, Serviços, Contato */
section {
  padding: 60px 0;
}

#sobre, #servicos, #contato, #produtos {
  min-height: 100vh;
  height: auto;
  padding: 120px 80px 40px 80px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Paleta escura, um tom por seção, na mesma família da página inicial (navy/preto) */
#sobre    { background-color: #0e2743; }
#servicos { background-color: #081a2c; }
#produtos { background-color: #163a5c; }
#contato  { background-color: #060f19; }

#sobre h2, #servicos h2, #contato h2, #produtos h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 30px;
}

/* Bloco de conteúdo centralizado (usado só na seção Sobre) */
.secao-centro {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

/* Produtos */
.produtos-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.produto-card {
  background-color: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 26px;
  max-width: 680px;
  width: 100%;
  flex: 1.3 1 400px;
}

.produto-info {
  line-height: 1.35;
}

.produto-info h1,
.produto-info h3 {
  font-family: 'NexaBold', sans-serif;
  font-size: 1.4rem;
  color: #002e5b;
  margin-bottom: 6px;
  text-align: justify;
}

.produto-info p {
  font-size: 0.92rem;
  color: #333;
  margin-bottom: 8px;
  text-align: justify;
}

.produto-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.produto-info li {
  font-size: 0.85rem;
  color: #333;
  padding-left: 20px;
  position: relative;
  margin-bottom: 3px;
}

.produto-info li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #e10000;
}

.produto-botoes {
  margin-bottom: 8px;
}

.btn-download {
  display: inline-block;
  padding: 14px 28px;
  background-color: #002e5b;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  font-family: 'NexaLight', sans-serif;
  transition: all 0.3s ease;
}

.produtos-layout .btn-download {
  padding: 9px 20px;
  font-size: 0.9rem;
}

.btn-download:hover {
  background-color: #d38d1f;
}

.produto-nota {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #666;
  margin-bottom: 0;
}

.produto-nota a {
  color: #002e5b;
  font-weight: bold;
}

/* Aviso de segurança do Windows */
.aviso-seguranca {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
}

.aviso-seguranca h4 {
  font-family: 'NexaBold', sans-serif;
  font-size: 0.85rem;
  line-height: 1.3;
  color: #8a6d00;
  background-color: #fff8e1;
  border: 1px solid #f0e0a0;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 6px;
}

.aviso-seguranca > p {
  font-size: 0.8rem;
  color: #444;
  margin-bottom: 6px;
}

.aviso-imagens {
  flex: 1 1 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aviso-imagens .passo {
  position: relative;
}

.passo-numero {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #002e5b;
  color: #fff;
  font-family: 'NexaBold', sans-serif;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.passo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 3px;
  display: block;
}

.passo p {
  font-size: 0.78rem;
  color: #c7d3e0;
  margin-bottom: 0;
}

#sobre p, #contato p {
  font-size: 1.2rem;
  color: #c7d3e0;
  margin-bottom: 14px;
  max-width: 800px;
}

/* Missão, Visão e Valores */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 30px;
}

.mvv-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #d38d1f;
  border-radius: 10px;
  padding: 30px 24px;
}

.mvv-card h3 {
  font-family: 'NexaBold', sans-serif;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: justify;
}

#sobre .mvv-card p {
  font-size: 1rem;
  color: #c7d3e0;
  max-width: none;
  margin-bottom: 0;
  text-align: justify;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

/* Produtos: cards ficam colados uns aos outros em vez de esticar pela largura toda */
#produtos .servicos-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
}

.servico-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #d38d1f;
  border-radius: 10px;
  padding: 26px 24px;
  max-width: 400px;
}

.servico-card h3 {
  font-family: 'NexaBold', sans-serif;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: justify;
}

.servico-card h3 a,
.servico-card h3 a:link,
.servico-card h3 a:visited,
.servico-card h3 a:active {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: #ffffff;
  text-decoration: none;
}

.servico-card h3 a:hover {
  color: #d38d1f;
  text-decoration: underline;
}

.servico-card p {
  font-size: 0.95rem;
  color: #c7d3e0;
  margin-bottom: 0;
  line-height: 1.55;
  text-align: justify;
}

/* Mapa */
.mapa {
  margin-top: 30px;
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Rodapé */
footer {
  background-color: #002e5b;
  color: white;
  text-align: center;
  padding: 20px 0;
}
/* Menu transparente com cor ao rolar */
header {
  background-color: transparent;
  transition: background-color 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* Vídeo mais visível */
.video-bg {
  opacity: 0.65;
}
/* Contadores da tela de boas-vindas - VERSÃO AJUSTADA */
.contadores-boas-vindas {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  color: white;
  padding: 0 20px;
}

.contador-linha {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

.contador-item {
  text-align: center;
  min-width: 200px;
}

.contador-item .counter {
  font-size: 2.4rem;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
}

.contador-item p {
  margin-top: 8px;
  font-size: 1.2rem;
  color: white;
  letter-spacing: 0.5px;
}

/* Página de detalhe do produto (ex.: produtos/postes-parana.html) */
.pagina-produto header {
  background-color: #163a5c !important;
  backdrop-filter: none;
}

.pagina-produto-secao {
  min-height: 100vh;
  height: auto;
  background-color: #163a5c;
  padding: 118px 60px 16px 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pd-voltar {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 16px;
  opacity: 0.85;
}

.pd-voltar:hover {
  opacity: 1;
  text-decoration: underline;
}

.pd-exemplos {
  flex: 1.2 1 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-exemplos h3 {
  font-family: 'NexaBold', sans-serif;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.pd-exemplos img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: block;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.pd-exemplos img:hover {
  transform: scale(1.02);
}

/* Lightbox (ampliar prints de exemplo) */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 50px;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-fechar {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

@media (max-width: 600px) {
  .lightbox {
    padding: 16px 16px 60px 16px;
  }
}

/* Área do Cliente (protótipo) */
.pagina-area-cliente header {
  background-color: #002e5b !important;
  backdrop-filter: none;
}

.ac-secao {
  padding: 128px 40px 40px 40px;
  background-color: #0e2743;
  min-height: 100vh;
}

.ac-aviso {
  max-width: 1500px;
  margin: 0 auto 24px auto;
  background-color: #fff8e1;
  border: 1px solid #f0e0a0;
  border-radius: 8px;
  padding: 14px 18px;
  color: #8a6d00;
}

.ac-aviso strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'NexaBold', sans-serif;
}

.ac-aviso p {
  font-size: 0.9rem;
  margin: 0;
}

.ac-barra {
  max-width: 1500px;
  margin: 0 auto 20px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
}

.ac-campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ac-campo label {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: bold;
}

.ac-campo select,
.ac-campo input[type="file"] {
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.9rem;
  color: #333;
  font-family: 'NexaLight', sans-serif;
}

.ac-dica {
  color: #c7d3e0;
  font-size: 0.82rem;
  max-width: 260px;
}

.ac-mapa {
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 700px) {
  .ac-secao {
    padding: 118px 16px 30px 16px;
  }

  .ac-barra {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Menu hambúrguer (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===================== Responsivo (mobile) ===================== */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  header .container {
    padding: 0 16px;
  }

  .logo {
    height: 56px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background-color: #002e5b;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 28px 28px 28px;
    transition: right 0.35s ease;
    z-index: 1050;
    overflow-y: auto;
  }

  nav.open {
    right: 0;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  nav ul a {
    font-size: 1.15rem;
  }

  .menu-buttons {
    flex-direction: column;
    margin-left: 0;
    margin-top: 28px;
    gap: 12px;
    width: 100%;
  }

  .btn-outline {
    width: 100%;
    text-align: center;
  }

  /* Boas-vindas */
  .boas-vindas-conteudo h1 {
    font-size: 2rem;
  }

  .boas-vindas-conteudo p {
    font-size: 1rem;
  }

  .contador-linha {
    gap: 24px;
  }

  .contador-item .counter {
    font-size: 1.6rem;
  }

  .contador-item p {
    font-size: 0.9rem;
  }

  .contadores-boas-vindas {
    bottom: 16px;
  }

  /* Sobre, Serviços, Produtos, Contato */
  #sobre, #servicos, #contato, #produtos {
    padding: 100px 20px 40px 20px;
  }

  #sobre h2, #servicos h2, #contato h2, #produtos h2 {
    font-size: 1.8rem;
  }

  #sobre p, #contato p {
    font-size: 1rem;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .servico-card {
    max-width: 100%;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .mapa {
    height: 220px;
  }

  /* Página de detalhe do produto */
  .pagina-produto-secao {
    padding: 100px 20px 30px 20px;
  }

  .produtos-layout {
    gap: 20px;
  }

  .produto-card,
  .aviso-imagens,
  .pd-exemplos {
    max-width: 100%;
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .boas-vindas-conteudo h1 {
    font-size: 1.6rem;
  }

  .counter-title {
    font-size: 1.2rem;
  }

  nav {
    width: 88%;
  }
}
