*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: #f0f4f2; color: #1c1c1c; }

.header {
  background: linear-gradient(135deg, #1A3A2A 0%, #2E6B45 100%);
  padding: 18px 24px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.header-inner { max-width: 800px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.header-logo {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 14px; letter-spacing: 1px;
}
.header-title { color: #fff; font-size: 1.1rem; font-weight: 700; }
.header-sub { color: rgba(255,255,255,.7); font-size: .78rem; }

.container { max-width: 800px; margin: 0 auto; padding: 28px 16px 60px; }

.alert-erro {
  background: #fff0f0; border-left: 4px solid #c0392b;
  padding: 14px 18px; border-radius: 8px; margin-bottom: 20px;
  color: #c0392b; font-size: .9rem;
}
.intro-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: #e8f2ec; border: 1px solid #b8ddc8;
  border-radius: 12px; padding: 18px 20px; margin-bottom: 28px;
  font-size: .9rem; line-height: 1.6; color: #1A3A2A;
}
.intro-icon { font-size: 24px; flex-shrink: 0; }

.bloco {
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  margin-bottom: 24px; overflow: hidden;
}
.bloco-header {
  background: linear-gradient(90deg, #1A3A2A, #2E6B45);
  color: #fff; padding: 14px 22px;
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.bloco-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; flex-shrink: 0;
}
.opcional { font-weight: 400; font-size: .8rem; opacity: .8; margin-left: 6px; }
.bloco-desc { padding: 10px 22px 0; font-size: .85rem; color: #777; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; padding: 18px 22px; }
.campo label { display: block; font-size: .82rem; color: #444; margin-bottom: 6px; font-weight: 600; }
.campo select {
  width: 100%; padding: 9px 12px; border: 1.5px solid #ddd;
  border-radius: 8px; font-size: .9rem; background: #fafafa;
  outline: none; transition: border-color .2s;
}
.campo select:focus { border-color: #2E6B45; }

.questao { padding: 20px 22px; border-bottom: 1px solid #f0f0f0; }
.questao:last-child { border-bottom: none; }
.questao-txt { font-size: .95rem; color: #1c1c1c; margin-bottom: 14px; line-height: 1.5; }

.likert-wrap {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.likert-label-ext { font-size: .72rem; color: #888; text-align: center; line-height: 1.3; min-width: 54px; }
.likert-options { display: flex; gap: 8px; flex: 1; justify-content: center; }

.likert-item { position: relative; cursor: pointer; }
.likert-item input[type=radio] { position: absolute; opacity: 0; width: 0; height: 0; }
.likert-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #ddd; background: #f8f8f8;
  font-size: .95rem; font-weight: 700; color: #888;
  transition: all .18s; cursor: pointer;
}
.likert-item:hover .likert-btn { border-color: #2E6B45; color: #2E6B45; background: #e8f2ec; }
.likert-item input:checked + .likert-btn {
  background: #2E6B45; border-color: #2E6B45; color: #fff;
  box-shadow: 0 4px 12px rgba(46,107,69,.35);
  transform: scale(1.12);
}

.campo-aberto { padding: 20px 22px; border-bottom: 1px solid #f0f0f0; }
.campo-aberto:last-child { border-bottom: none; }
.campo-aberto label { display: block; font-size: .95rem; margin-bottom: 10px; color: #1c1c1c; line-height: 1.5; }
.campo-aberto textarea {
  width: 100%; padding: 12px; border: 1.5px solid #ddd;
  border-radius: 8px; font-size: .9rem; font-family: inherit;
  resize: vertical; outline: none; transition: border-color .2s; background: #fafafa;
}
.campo-aberto textarea:focus { border-color: #2E6B45; }

.submit-area { text-align: center; padding: 32px 0 0; }
.btn-submit {
  padding: 16px 48px; background: linear-gradient(135deg,#1A3A2A,#2E6B45);
  color: #fff; border: none; border-radius: 10px;
  font-size: 1.05rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 20px rgba(46,107,69,.3);
  transition: transform .18s, box-shadow .18s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(46,107,69,.4); }
.btn-submit:disabled { opacity: .7; cursor: default; transform: none; }
.submit-note { margin-top: 12px; font-size: .8rem; color: #999; }

.footer {
  text-align: center; padding: 20px;
  font-size: .8rem; color: #aaa;
  border-top: 1px solid #e0e0e0; margin-top: 20px;
}

@media (max-width: 560px) {
  .likert-options { gap: 5px; }
  .likert-btn { width: 38px; height: 38px; font-size: .85rem; }
  .likert-label-ext { display: none; }
  .bloco-header { font-size: .9rem; }
}
