:root {
  --bg: linear-gradient(to top, #30cfd0 0%, #330867 100%);
  --card: #ffffff;
  --accent: #2b6cb0;
  /* Cores botões */
  --btn-next-bg: linear-gradient(to bottom, #22d3ee 0%, #0bb1ca 100%);
  --btn-next-color: #1f2937;
  --button-next-hover: linear-gradient(to bottom, #1bbdd6 0%, #0893a8 100%);
  --btn-sketch: #e5e7eb;
  --btn-sketch-color: #1f2937;
  --btn-sketch-hover: #d5d7db;
  --btn-back: linear-gradient(to bottom, #6151a3 0%, #473881 100%);
  --btn-back-color: #ffffff;
  --btn-back-hover: linear-gradient(to bottom, #564893 0%, #3b2f70 100%);

  --btn-submit: #9ef01a;
  --btn-submit-color: #315003;
  --btn-submit-hover: #8adc12;
  --muted: #6b7280;
  --radius: 12px;
  --gap: 18px;
  --font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  --font-textarea: "Courier New", Courier, monospace;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::placeholder {
  color: #9ca3af;
  opacity: 1;
  font-family: "Courier New", Courier, monospace;
}
html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: transparent;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: var(--font-family);
}
.container {
  width: 100%;
  max-width: 920px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  padding: 28px;
}
.suggestion {
  font-size: 14px;
  text-align: center;
  color: var(--accent);
}
h1 {
  margin: 0 0 6px 0;
  font-size: 20px;
  text-align: center;
}
p.lead {
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
form {
  display: block;
}

legend {
  margin-bottom: 10px;
  color: var(--accent);
}
.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.step-indicator {
  flex: 1;
  min-width: 120px;
  background: #f3f7fb;
  padding: 8px 10px;
  text-align: center;
  align-content: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.step-indicator.active {
  background: linear-gradient(90deg, var(--accent), #4c9bd6);
  color: white;
  box-shadow: 0 6px 14px rgba(39, 83, 160, 0.12);
}
fieldset.section {
  border: 0;
  padding: 0;
  margin: 0 0 18px 0;
  display: none;
}
fieldset.section.active {
  display: block;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.mt-12 {
  margin-top: 12px;
}
.mt-10 {
  margin-top: 10px;
}

.flex-8 {
  display: flex;
  gap: 8px;
}

@media (max-width: 780px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
input[type="url"],
input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6eef8;
  background: #fff;
  font-size: 14px;
  outline: none;
}
select {
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6eef8;
  background: #fff;
  font-size: 14px;
  outline: none;
}
textarea {
  min-height: 60px;
  resize: vertical;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
input[type="url"]:focus,
input[type="number"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.col {
  flex: 1;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
button {
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

button.nextBtn {
  background: var(--btn-next-bg);
  color: var(--btn-next-color);
}
button.nextBtn:hover {
  background: var(--button-next-hover);
}

button.secondary {
  background: var(--btn-sketch);
  color: var(--btn-sketch-color);
}

button.secondary:hover {
  background: var(--btn-sketch-hover);
}

button.submitBtn {
  background: var(--btn-submit);
  color: var(--btn-submit-color);
}

button.submitBtn:hover {
  background: var(--btn-submit-hover);
}
button.sketch {
  background: var(--btn-back);
  color: var(--btn-back-color);
}
button.sketch:hover {
  background: var(--btn-back-hover);
  color: #0a0a0a;
}

.small {
  font-size: 13px;
  color: var(--muted);
}
.example {
  font-size: 13px;
  color: #475569;
  margin-top: 6px;
}
.inline-hint {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}
.mini {
  font-size: 12px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chip {
  background: #f3f7fb;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 13px;
  color: #334155;
}
.file-label {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed #dbe7fb;
  background: #fbfdff;
}
.progress {
  height: 8px;
  background: #eef3fb;
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0;
}
.progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #4c9bd6);
  transition: width 0.35s ease;
}

#progressBar {
  width: 16%;
}
.footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}
.footer-text {
  font-size: 14px;
  color: var(--card);
}
