:root {
  --azul: #1A7FD4;
  --ciano: #0DCCFF;
  --texto: #1a1a1a;
  --texto-suave: #555;
  --fundo: #fafafa;
  --branco: #ffffff;
  --borda: #e2e2e2;
  --erro: #d0342c;
  --sucesso: #1f9d55;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.5;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.container-largo {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

nav.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
}

nav.topo a { color: var(--azul); text-decoration: none; font-weight: 600; }
nav.topo .links a { margin-left: 20px; }

.hero {
  text-align: center;
  padding: 64px 24px;
}

.hero h1 { font-size: 2.4rem; margin-bottom: 12px; }
.hero p { color: var(--texto-suave); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--azul);
  font-size: 1rem;
}

.btn-primario { background: var(--azul); color: #fff; }
.btn-primario:hover { background: #1568b0; }
.btn-outline { background: transparent; color: var(--azul); }
.btn-outline:hover { background: rgba(26,127,212,0.08); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.grid-planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.plano-preco { font-size: 1.8rem; font-weight: 700; margin: 8px 0; }
.plano-nome { color: var(--azul); font-weight: 700; }

form { display: flex; flex-direction: column; gap: 16px; }
.form-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 4px; }

input[type="text"], input[type="email"], input[type="password"], input[type="date"],
input[type="time"], input[type="number"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--borda);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 2px rgba(26,127,212,0.15);
}

textarea { min-height: 90px; resize: vertical; }

.erro { color: var(--erro); font-size: 0.9rem; }
.aviso { color: #b06a00; font-size: 0.9rem; }
.ajuda { color: var(--texto-suave); font-size: 0.85rem; }

.barra-progresso {
  height: 8px;
  background: var(--borda);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.barra-progresso > div { height: 100%; background: var(--azul); transition: width 0.2s; }

.opcao-teste {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--borda);
  border-radius: 8px;
  background: var(--branco);
  cursor: pointer;
  font-size: 1rem;
}
.opcao-teste:hover { border-color: var(--azul); background: rgba(26,127,212,0.05); }

.secao-relatorio h1 { color: var(--azul); font-size: 1.4rem; }
.secao-relatorio h2 { color: var(--ciano); border-bottom: 2px solid var(--ciano); padding-bottom: 4px; font-size: 1.1rem; }
.secao-relatorio p { white-space: pre-wrap; }

@media print {
  nav.topo, .no-print { display: none !important; }
  body { background: #fff; }
}

@media (max-width: 640px) {
  .form-linha { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
}
