* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1050px;
  margin: 0 auto;
}

header {
  background: linear-gradient(135deg, #0f172a, #1e40af);
  color: #ffffff;
  padding: 55px 0;
  text-align: center;
}

header h1 {
  font-size: 38px;
  margin-bottom: 12px;
}

header p {
  font-size: 18px;
  margin-bottom: 25px;
}

.botoes {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.botao {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.botao:hover {
  transform: translateY(-2px);
}

.botao-whats {
  background: #22c55e;
  color: #ffffff;
}

.botao-ligar {
  background: #ffffff;
  color: #0f172a;
}

.botao-mapa {
  background: #f59e0b;
  color: #111827;
}

section {
  padding: 45px 0;
}

h2 {
  color: #0f172a;
  font-size: 30px;
  margin-bottom: 15px;
}

.sobre p,
.contato p,
.qrcode p,
.mapa p {
  margin-bottom: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.card {
  background: #ffffff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border-left: 5px solid #1e40af;
}

.card h3 {
  color: #1e40af;
  margin-bottom: 10px;
}

.contato {
  background: #ffffff;
}

.info {
  background: #f8fafc;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.info a {
  color: #1e40af;
  font-weight: bold;
  text-decoration: none;
}

.qrcode {
  background: #eaf1ff;
  text-align: center;
}

.qrcode-card {
  background: #ffffff;
  max-width: 430px;
  margin: 25px auto 0;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  border-top: 6px solid #1e40af;
}

.qrcode-card h3 {
  font-size: 24px;
  color: #1e40af;
  margin-bottom: 15px;
}

.qrcode-card img {
  width: 260px;
  height: 260px;
  max-width: 100%;
  border-radius: 12px;
  border: 10px solid #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  margin-bottom: 15px;
}

.qrcode-card p {
  font-weight: bold;
  color: #334155;
}

.install-note {
  font-weight: normal;
  color: #475569;
  font-size: 15px;
  margin-top: 10px;
}

.botao-site,
.botao-qrcode {
  display: inline-block;
  background: #1e40af;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 8px;
}

.botao-site:hover,
.botao-qrcode:hover {
  background: #0f172a;
}

.aviso {
  max-width: 720px;
  margin: 25px auto 0;
  background: #fff7ed;
  border-left: 5px solid #f59e0b;
  padding: 14px;
  border-radius: 10px;
  text-align: left;
}

.aviso code {
  background: #ffedd5;
  padding: 3px 6px;
  border-radius: 5px;
}

.mapa {
  background: #ffffff;
}

footer {
  background: #0f172a;
  color: #ffffff;
  text-align: center;
  padding: 24px 0;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
}

.whatsapp-flutuante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #22c55e;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.formulario {
  background: #f8fafc;
}

.container-formulario {
  width: 90%;
  max-width: 840px;
  margin: 0 auto;
  padding: 25px 0;
}

.descricao-formulario {
  margin: 18px 0 24px;
  font-size: 16px;
  color: #334155;
}

.descricao-formulario strong {
  color: #0f172a;
}

.grupo-campo {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.grupo-campo label {
  color: #1e293b;
  font-weight: bold;
}

.grupo-campo input,
.grupo-campo select,
.grupo-campo textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  color: #1f2937;
  background: #ffffff;
}

.grupo-campo input:focus,
.grupo-campo select:focus,
.grupo-campo textarea:focus {
  border-color: #1e40af;
  outline: none;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.grupo-campo textarea {
  min-height: 130px;
  resize: vertical;
}

.grupo-campo input[type="file"] {
  padding: 10px 14px;
}

.botao-enviar,
.botao-whatsapp {
  width: 100%;
  color: #ffffff;
  padding: 17px 24px;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.botao-enviar {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.botao-enviar:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.botao-whatsapp {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.botao-whatsapp:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
}

.botao-enviar:active,
.botao-whatsapp:active {
  transform: translateY(0);
}

#btnInstalar {
  display: none;
  background: #1e40af;
  color: #ffffff;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.botao-instalar:hover {
  background: #0f172a;
}

.qrcodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.install-text {
  margin-top: 20px;
  max-width: 760px;
  background: #eff6ff;
  padding: 18px 20px;
  border-radius: 14px;
  border-left: 5px solid #1e40af;
  color: #1e3a8a;
}

@media (max-width: 850px) {
  header h1 {
    font-size: 31px;
  }

  header p {
    font-size: 16px;
  }

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

@media (max-width: 768px) {
  .qrcodes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .qrcode-card img {
    width: 220px;
    height: 220px;
  }

  .whatsapp-flutuante {
    right: 12px;
    bottom: 12px;
    padding: 12px 15px;
    font-size: 14px;
  }
}
