/* ===== INÍCIO HEADER ===== */
* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  /*font-family: Arial, sans-serif;*/
  overflow-x: hidden;
  max-width: 100%;
}


header {
  background-color: transparent;
  color: white;
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;       /* garante que encoste na esquerda */
  right: 0;      /* garante que encoste na direita */
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  pointer-events: none;
}
header * {
  pointer-events: auto; /* mantém clique nos links do menu */
}

.menu-desktop a.scrolled {
  /*color: #FF6600; /* cinza claro */
  /*transition: color 0.3s ease;*/
  display:none;
}
/*
.menu-desktop a.scrolled:hover {
  color: #FF6600; /* mantém o efeito hover laranja */
/*}*/




.logo img {
  height: auto;
  max-height: 100px;
  max-width: 360px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 16px;
}

nav a:hover {
  color: #FF6600;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}


/* ===== FIM HEADER ===== */


/* ===== INÍCIO BANNER ===== */
.banner {
  background: url('../imagens/1596df2d-3328-4281-8253-a973f5e9126e.png') center/cover no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px; /* compensar header fixo */
  color: white;
  text-align: center;
  position: relative;
}
@media (max-width: 768px) {
  .banner {
    background: url('../imagens/caminhao.jpeg') center/cover no-repeat;
  }
}
.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.banner h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

.btn-contato {
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  position: relative;
  animation: pulse-shadow 1.5s infinite;
  text-decoration: none;
}

/* Animação do pulso em volta do botão */
@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 102, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}

/* ===== FIM BANNER ===== */


/* ===== INÍCIO MENU RESPONSIVO ===== */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.menu-mobile {
  display: none;
}

@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-mobile {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #333;
    position: fixed; /* fixo na tela */
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    width: 220px;
  }
  
  .menu-mobile a {
    color: white;
    margin: 10px 0;
    display: block;
    width: 100%;
  }

  .menu-mobile.active {
    display: flex;
  }
}


/* ===== FIM MENU RESPONSIVO ===== */

/* ===== INÍCIO SOBRE NÓS ===== */
.sobre {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.sobre h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.sobre p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
/* ===== FIM SOBRE NÓS ===== */
/* ===== INÍCIO SERVIÇOS ===== */
.servicos {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.servicos h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #f4f4f4;
  border-radius: 10px;
  padding: 30px;
  max-width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #FF6600;
}

.card p {
  font-size: 16px;
  color: #555;
}
/* ===== FIM SERVIÇOS ===== */
/* ===== INÍCIO PARCEIROS ===== */
.parceiros {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
}

.parceiros h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.parceiros .intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.logos-parceiros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.logos-parceiros img {
  max-height: 40px;
  transition: filter 0.3s ease;
}

.logos-parceiros img:hover {
  filter: none;
}
/* ===== FIM PARCEIROS ===== */
/* ===== INÍCIO CONTATO ===== */
.contato {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
}

.contato h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.contato .intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.form-contato {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box; /* adiciona isso aqui */
  width: 100%;
}

.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

.form-contato button {
  width: 100%;
  padding: 14px;
  background-color: #FF6600;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.form-contato button {
  display: block;       /* força o botão a se comportar como bloco */
  width: 100% !important; /* garante que não seja sobrescrito */
  box-sizing: border-box;
}

.form-contato button:hover {
  background-color: #e45700;
}
/* ===== FIM CONTATO ===== */
/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== INÍCIO RODAPÉ ===== */
.rodape {
  background-color: #1c2744;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.rodape p {
  margin: 5px 0;
  font-size: 15px;
}

.redes-sociais {
  margin-top: 15px;
}

.redes-sociais a {
  display: inline-block;
  margin: 0 10px;
}

.redes-sociais img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.redes-sociais img:hover {
  transform: scale(1.1);
}
/* ===== FIM RODAPÉ ===== */

/* ===== MODAL ===== */
.modal {
  display: none; 
  position: fixed; 
  z-index: 10000; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5); 
  justify-content: center; 
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.btn-calcular, .btn-urgencia {
  flex: 1;
  margin: 5px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.btn-calcular {
  background: #FF6600;
  color: white;
  border: none;
}

.btn-urgencia {
  background: #25D366;
  color: white;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 20px;
  cursor: pointer;
  color: black;
}
.modal-logo {
  display: block;
  margin: 0 auto 10px auto; /* Centraliza o logo e adiciona espaço abaixo */
  max-width: 80px;
  height: auto;
}

.modal-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: #333;
}
.rastreamento {
  background: #1c2744; /* tom azul escuro */
  padding: 80px 20px;
  color: #fff;
}

.rastreamento-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  min-height: 300px;
}

.rastreamento-texto {
  flex: 1;
  min-width: 300px;
}

.rastreamento-texto h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.rastreamento-texto p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 25px;
  max-width: 500px;
}

.rastreamento-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 5px;
  max-width: 450px;
  flex: 1;
  justify-content: center;
}

.rastreamento-form .icone {
  font-size: 22px;
  margin-left: 12px;
  color: #666;
}

.rastreamento-form input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 16px;
  outline: none;
  border-radius: 30px 0 0 30px;
}

.rastreamento-form button {
  background: #ff6600;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.rastreamento-form button:hover {
  background: #e55b00;
}

.rastreamento-img {
  flex: 1;
  text-align: center;
}

.rastreamento-img img {
  max-width: 500px;
  width: 100%;
}
#alerta-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.alerta {
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.3s forwards;
}

.alerta.sucesso {
  background-color: #28a745; /* verde */
}

.alerta.erro {
  background-color: #dc3545; /* vermelho */
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
.autocomplete-container {
  position: relative;
  width: 100%;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  z-index: 9999;
  list-style: none;
  padding: 0;
  margin: 0;
}

.autocomplete-list li {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-list li:hover {
  background: #f0f0f0;
}
#success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.check-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.checkmark {
  width: 90px;
  height: 90px;
  display: block;
  overflow: visible; /* 🔹 Garante que nada seja cortado */
}


.checkmark__circle {
  stroke: #4CAF50;
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: draw-circle 0.6s ease-out forwards;
}

.checkmark__check {
  stroke: #4CAF50;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw-check 0.4s ease-out 0.6s forwards;
}

.success-message {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-top: 15px;
  margin-bottom: 45px; /* 🔹 Espaço entre texto e botão */
  max-width: 280px; /* 🔹 Quebra a linha em telas menores */
}
#success-container .btn-urgencia {
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  background: #25D366;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#success-container .btn-urgencia:hover {
  background: #1ebe5c;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}
.certificacoes {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.certificacoes h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.certificacoes .intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.cert-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* centraliza horizontalmente */
  align-items: stretch;     /* faz todos os cards terem a mesma altura */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  min-height: 260px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 🔹 centraliza verticalmente */
  align-items: center;       /* 🔹 centraliza horizontalmente */
}


.cert-card img {
  max-width: 80px;
  margin-bottom: 15px;
}

.cert-card p {
  font-size: 16px;
  color: #555;
  margin: 0; /* para garantir alinhamento */
}


.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card h3 {
  font-size: 20px;
  color: #FF6600;
  margin-bottom: 10px;
}
.rodape a[href^="tel"] {
  color: #FF6600;       /* cor laranja */
  text-decoration: none; /* remove o sublinhado */
}

.rodape a[href^="tel"]:hover {
  color: #e45700;       /* cor laranja mais escura no hover */
}
.rastreamento-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 450px; /* 🔹 Igual ao tamanho original */
}

.rastreamento-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 5px;
  width: 90%; /* 🔹 Ocupa 100% da largura do wrapper */
  justify-content: center;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.msg-rastreio {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  text-align: center;
  width: 100%; /* 🔹 Faz a mensagem ficar alinhada com o campo */
}


.rastreamento-form.erro-vazio {
  border: 2px solid #FF6600; /* Laranja */
}

.rastreamento-form.erro-invalido {
  border: 2px solid red; /* Vermelho */
}

.msg-rastreio.erro {
  color: red;
}
.campo {
  position: relative;
  margin-bottom: 5px; /* mantém a distância padrão */
}

.msg-erro {
  display: none;
  font-size: 12px;
  color: red;
  font-weight: 500;
  position: absolute;
  bottom: -8px; /* fixa a mensagem abaixo do campo */
  left: 0;
}

input.campo-erro,
textarea.campo-erro {
  border: 1px solid red !important;
}
/* Faz o placeholder ficar mais próximo do topo */
.modal-content input::placeholder,
.modal-content textarea::placeholder {
  transform: translateY(-2px); /* Sobe um pouco o texto */
  font-size: 15px; /* Ajusta o tamanho */
}
.msg-erro-contato {
  display: none;
  font-size: 12px;
  color: red;
  font-weight: 500;
  position: absolute;
  bottom: -18px; /* fixa a mensagem abaixo do campo */
  left: 0;
}

.vmv {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
  color: #333;
}

.vmv h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #fff;
}

.vmv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.vmv-card {
  background-color: #2b3658;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.vmv-card:hover {
  transform: translateY(-5px);
}

.vmv-card h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 12px;
  text-align: center;
}
.vmv-card li::marker {
  color: #ff6600;
}
.vmv-card p {
  font-size: 16px;
  color: #ddd;
  line-height: 1.5;
}

.vmv-card ul {
  list-style: disc;
  padding-left: 20px;
}

.vmv-card li {
  font-size: 15px;
  color: #ddd;
  margin-bottom: 6px;
}

.vmv-card-bottom {
  grid-column: span 2; /* Faz o último card ocupar toda a largura */
}

/* 📱 Responsividade */
@media (max-width: 900px) {
  .vmv-grid {
    grid-template-columns: 1fr;
  }

  .vmv-card-bottom {
    grid-column: auto;
  }
}
.vmv h2 {
  color:#333;
}
/* 🔹 Preloader - tela de carregamento */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* cor de fundo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.loader-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-logo {
  width: 120px;
  height: auto;
  position: relative;
  z-index: 2;
}

/* 🔹 Círculo girando */
.spinner {
  width: 190px;
  height: 190px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #ff6600; /* Laranja */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  z-index: 1;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 🔹 Esconde o scroll enquanto carrega */
body.loading {
  overflow: hidden;
}
