/* style-rastreadores.css */

html {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Evita rolagem lateral */
}

.hero-rastreamento.novo-hero {
  background: linear-gradient(to bottom right, #2a6da8, #44c6d6);
  color: white;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-rastreamento.novo-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
}

.hero-rastreamento.novo-hero .hero-conteudo {
  flex: 1 1 50%;
  text-align: center;
}

.button-yellow {
  background-color: #facc15;
  color: #1e293b;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  white-space: nowrap;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.button-yellow:hover {
  background-color: #eab308;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


.hero-rastreamento.novo-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.hero-rastreamento.novo-hero .descricao {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-rastreamento.novo-hero .legenda {
  font-size: 0.95rem;
  color: #cbe3ff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-rastreamento.novo-hero .hero-imagem {
  flex: 1 1 40%;
  text-align: center;
}

.hero-rastreamento.novo-hero .hero-imagem img {
  max-width: 100%;
  height: auto;
  padding-top: 40px;
}

@media (max-width: 768px) {
  .hero-rastreamento.novo-hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-rastreamento.novo-hero .hero-conteudo,
  .hero-rastreamento.novo-hero .hero-imagem {
    flex: 1 1 100%;
  }
  .hero-rastreamento.novo-hero h1 {
    font-size: 2rem;
  }
}


.hero-rastreamento {
  background: linear-gradient(135deg, #1e88e5, #1976d2);
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-rastreamento h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-rastreamento p {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 1rem;
  color: #e3f2fd;
  line-height: 1.5;
}

.hero-rastreamento .legenda {
  font-size: 1rem;
  color: #dcefff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 400;
}

.hero-rastreamento .legenda i {
  font-size: 1.1rem;
  color: #dcefff;
}

.botao.hero-btn {
  margin-top: 1.5rem;
  background-color: #f1c40f;
  color: #000000;
  padding: 0.9rem 2rem;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
}

.botao.hero-btn:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  filter: brightness(1.08);
}


h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #003087;
}

.subtitulo {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.subtitulo.alinhado {
  text-align: left;
  font-size: 1.1rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  color: #555;
}

.legenda {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: #555;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 0 auto 3rem;
  max-width: 1200px;
  padding: 0 1rem;
}

.card.tipo {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.card.tipo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  background-color: #e3f2fd;
}

.card.tipo h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.card.tipo:hover h3 {
  color: #003087;
}

.card.tipo h3 i {
  background-color: currentColor;
  color: white;
  padding: 8px;
  border-radius: 10px;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.fixo h3 i { background-color: #0d47a1; }
.card.movel h3 i { background-color: #2e7d32; }
.card.obd h3 i { background-color: #8e24aa; }
.card.satelital h3 i { background-color: #fb8c00; }
.card.rfid h3 i { background-color: #c62828; }
.card.celular h3 i { background-color: #00acc1; }

.card.tipo p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #444;
  line-height: 1.5;
}

.etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.etiquetas span,
.etiquetas a {
  display: inline-block;
  background: #f1f1f1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #333;
  line-height: 1.2;
}

.etiquetas a {
  background-color: #eef4ff;
  color: #0056d2;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.etiquetas a:hover {
  background-color: #d8e7ff;
}

.titulo-secao {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: #003087;
}

.guia-rapido {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
  text-align: center;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
}

.guia-rapido div {
  padding: 1.2rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #003087;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  background-color: #f5f7fa;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guia-rapido div i {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.guia-rapido div:nth-child(1) { background-color: #e3f2fd; }
.guia-rapido div:nth-child(2) { background-color: #e8f5e9; }
.guia-rapido div:nth-child(3) { background-color: #f3e5f5; }
.guia-rapido div:nth-child(4) { background-color: #fff3e0; }
.guia-rapido div:nth-child(5) { background-color: #e0f7fa; }
.guia-rapido div:nth-child(6) { background-color: #ffebee; }

.cta-final {
  text-align: center;
  background-color: #003087;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.cta-final h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.cta-final p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.botao.primario {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #00aaff;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.botao.primario:hover {
  background-color: #007bb5;
  cursor: pointer;
}

@media (max-width: 600px) {
  .guia-rapido {
    grid-template-columns: 1fr;
  }
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

.modal-rastreador {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}

.modal-conteudo {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-conteudo h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #003087;
}

.modal-colunas {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.modal-colunas > div {
  flex: 1 1 300px;
}

.modal-conteudo h4 {
  margin-top: 1.2rem;
}

.modal-conteudo ul {
  list-style: none;
  padding-left: 1rem;
}

.modal-conteudo ul li::before {
  content: "\2022 ";
  margin-right: 0.5rem;
  font-weight: bold;
}

.lista-modal.verde li::before {
  color: #2e7d32;
}

.lista-modal.verde li {
  color: #2e7d32;
}

.lista-modal.laranja li::before {
  color: #ef6c00;
}

.lista-modal.laranja li {
  color: #ef6c00;
}

.titulo-verde {
  color: #2e7d32;
}

.titulo-laranja {
  color: #ef6c00;
}

/* Correção: deixar texto das vantagens em azul */

.lista-modal.azul li::before {
  color: #1976d2;
}

.lista-modal.azul li {
  color: #1976d2;
}

.titulo-azul {
  color: #1976d2;
}


.fechar {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}

.fechar:hover {
  color: #000;
}

/* === MODAL DO FORMULÁRIO BITRIX === */
#modalFormBitrix.modal-rastreador {
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  padding: 20px;
  z-index: 9999;
}

#modalFormBitrix .modal-conteudo {
  background: white;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 1rem;
  margin: auto;
  box-sizing: border-box;
  z-index: 10000;
}

#modalFormBitrix .fechar {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 480px) {
  #modalFormBitrix {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #modalFormBitrix .modal-conteudo {
    width: 95% !important;
    max-width: 95% !important;
    padding: 0.8rem;
    margin: auto; /* CENTRALIZA EM TELAS PEQUENAS */
    border-radius: 10px;
    box-sizing: border-box;
  }

  #modalFormBitrix iframe,
  #modalFormBitrix form {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.nova-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 5%;
  background: linear-gradient(to right, #1e88e5, #26c6da);
  color: #fff;
  flex-wrap: wrap;
}

.conteudo-hero {
  flex: 1 1 500px;
  max-width: 600px;
}

.nova-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nova-hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.botao-hero {
  display: inline-block;
  background-color: #ffca28;
  color: #000;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.botao-hero:hover {
  background-color: #fbc02d;
}

.imagem-hero {
  flex: 1 1 400px;
  text-align: center;
}

.imagem-hero img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .nova-hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .conteudo-hero, .imagem-hero {
    flex: 1 1 100%;
  }

  .nova-hero h1 {
    font-size: 2rem;
  }

  .nova-hero p {
    font-size: 1.05rem;
  }
}

.cta-ajuda {
  background: #1e4fff;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.cta-ajuda h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-ajuda p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-botoes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto;
}

.cta-botoes a {
  flex: 1 1 240px;
  max-width: 280px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  font-size: 1rem;
  transition: background 0.3s;
  box-sizing: border-box;
}

/* BOTÃO WHATSAPP */
.btn-whatsapp {
  background-color: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #1ebf5e;
}

.btn-whatsapp svg {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* BOTÃO ACESSÓRIOS */
.btn-acessorios {
  background: white;
  color: #1e4fff;
  display: flex;              /* ESSENCIAL */
  align-items: center;        /* ESSENCIAL */
  justify-content: center;    /* ESSENCIAL */
}

.btn-acessorios:hover {
  background: #f0f0f0;
}

.guia-escolha {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin: 2rem auto;
  max-width: 1100px;
}

.guia-escolha h2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.guia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.guia-card {
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.guia-card i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Cores */
.guia-card.azul { background: #eef4ff; color: #1f4fd6; }
.guia-card.verde { background: #eefef1; color: #27ae60; }
.guia-card.roxo { background: #f6f1ff; color: #8e44ad; }
.guia-card.laranja { background: #fff7ef; color: #e67e22; }
.guia-card.ciano { background: #effdff; color: #00bcd4; }
.guia-card.vermelho { background: #fff1f1; color: #e74c3c; }

.guia-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem;
}

.guia-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}
