@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap");

* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

body {
  background-image: url(../images/5.png);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* ── Logo ── */
.container2 {
  display: flex;
  justify-content: center;
  padding: 20px 0 16px;
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.08); */
}

.logo {
  max-width: 280px;
}

/* ── Layout principal ── */
.container1 {
  display: flex;
  margin: 5% 0 0 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* ── Títulos da tela inicial ── */
.qual {
  font-size: 2.6em;
  font-family: "League Spartan", sans-serif;
  text-align: center;
  line-height: 1.15;
  font-weight: 800;
}

/* ── Chip/badge de título de seção ── */
.qual2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85em;
  font-family: "League Spartan", sans-serif;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.08);
  width: auto;
  min-width: 120px;
  padding: 0 16px;
  height: 28px;
  border-radius: 20px;
  margin: 6px 0;
  text-decoration: none;
  color: inherit;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

button.qual2 {
  margin-top: 50px;
  cursor: pointer;
}

/* ── Botão de imagem ── */
.btn-abrir-imagem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 18px;
  background: white;
  color: #007bff;
  border: 2px dashed #007bff;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9em;
  transition: background 0.2s, color 0.2s;
}
.btn-abrir-imagem:hover {
  background: #e8f0ff;
}

.btn-fechar-modal {
  position: absolute;
  top: -44px;
  right: 0;
  background: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ── Footer ── */
footer {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Botão prosseguir (amarelo) ── */
.qual3 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95em;
  font-family: "League Spartan", sans-serif;
  text-align: center;
  background-color: rgb(250, 213, 3);
  width: 150px;
  height: 40px;
  border-radius: 12px;
  text-decoration: none;
  color: #3a2e00;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.qual3:hover { filter: brightness(0.93); }
.qual3:active { transform: scale(0.97); }
.qual3:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Botão retornar (laranja) ── */
.qual4 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95em;
  font-family: "League Spartan", sans-serif;
  text-align: center;
  background-color: rgb(255, 123, 16);
  width: 150px;
  height: 40px;
  border-radius: 12px;
  text-decoration: none;
  color: #3a1400;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}
.qual4:hover { filter: brightness(0.93); }
.qual4:active { transform: scale(0.97); }

/* ── Labels de campo ── */
.txt1 {
  font-weight: 600;
  font-family: "League Spartan", sans-serif;
  font-size: 0.95em;
  color: rgba(0,0,0,0.6);
  margin-bottom: 4px;
}

/* ── Containers internos ── */
.container3 {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* ── Card de formulário ── */
.container4 {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 42vw;
  height: auto;
  padding: 28px 32px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* ── Grupo de campo ── */
.cmp1 {
  flex-direction: column;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 22px 0 0 0;
}

/* ── Inputs e selects ── */
.in1 {
  width: 82%;
  background-color: rgba(0, 0, 0, 0.05);
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0 14px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9em;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
  outline: none;
  appearance: none;
}
.in1:focus {
  border-color: rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.9);
}

/* ── Label de upload ── */
.in1-1 {
  width: 82%;
  background-color: rgba(0, 0, 0, 0.04);
  height: 38px;
  border-radius: 10px;
  border: 1.5px dashed rgba(0, 0, 0, 0.2);
  padding: 0 14px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.88em;
  color: rgba(0,0,0,0.5);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.in1-1:hover {
  border-color: rgba(0, 0, 0, 0.4);
  color: rgba(0,0,0,0.75);
  background: rgba(0,0,0,0.07);
}

/* ── Label acima dos campos ── */
.txt2 {
  margin-right: auto;
  margin-left: 9%;
  margin-bottom: 6px;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.5);
}

/* ── Container de ações (botões) ── */
.container5 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ── Área de botões iniciais (urgente / não urgente) ── */
.ur {
  display: flex;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  align-content: center;
  justify-content: center;
  margin-top: 2%;
  gap: 16px;
}

.ur button {
  font-family: "League Spartan", sans-serif;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 28vw;
  height: 46px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95em;
  transition: filter 0.15s, transform 0.1s;
}
.ur button:hover { filter: brightness(0.93); }
.ur button:active { transform: scale(0.98); }

.nu {
  background-color: rgb(103, 218, 103);
  color: #0a2e0a;
}

.su {
  background-color: rgb(238, 67, 67);
  color: #2e0a0a;
}

.cmp1 button {
  cursor: pointer;
}

/* ── Tela urgente ── */
.ex {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.qual5 {
  width: 55%;
  font-size: 1.3em;
  font-family: "League Spartan", sans-serif;
  text-align: center;
  line-height: 1.55;
  color: rgba(0,0,0,0.75);
}

.numeros {
  margin-top: 20px;
}

/* ── Textarea de observação ── */
.in2 {
  width: 82%;
  background-color: rgba(0, 0, 0, 0.05);
  min-height: 160px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 10px 14px;
  resize: vertical;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9em;
  color: inherit;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.in2:focus {
  border-color: rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.9);
}

/* ── Upload label customizado legado ── */
.file-upload-label-custom {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.95em;
  background-color: #4CAF50;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 12px;
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  border: 0;
}
.file-upload-label-custom:hover { background-color: #45a049; }
.file-upload-label-custom:active { transform: scale(0.97); }

#uploaded-image-display {
  max-width: 80%;
  height: auto;
  margin-top: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  display: none;
}

/* ── Modal overlay ── */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════
   RESPONSIVO
══════════════════════════════════════ */

@media (max-width: 1200px) {
  .container4 {
    width: 62vw;
    padding: 24px 28px 28px;
  }
  .qual2 { min-width: 140px; height: 30px; }
  .qual3, .qual4 { width: 130px; height: 38px; }
  .ur button { width: 22vw; height: 42px; }
  .logo { max-width: 220px; }
  p {
    display: flex;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .container4 {
    width: 82vw;
    padding: 20px 20px 24px;
  }
  .qual2 { min-width: 100px; height: 28px; font-size: 0.8em; }
  .qual3, .qual4 { width: 110px; height: 38px; font-size: 0.9em; }
  .ur button { width: 34vw; height: 44px; }
  .logo { max-width: 160px; }
  .container1 { margin-top: 16vw; }
  .container5 { flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; }
  .ur {
    flex-direction: column;
    align-items: center;
    padding: 12px 2vw;
    margin-top: 8%;
    gap: 10px;
  }
  .nu { margin: 0; }
  p { display: flex; justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .container4 {
    width: 96vw;
    border-radius: 18px;
    padding: 18px 16px 22px;
  }
  .qual2 { min-width: auto; width: 60vw; height: 32px; border-radius: 12px; }
  .qual3, .qual4 { width: 42vw; height: 42px; border-radius: 12px; font-size: 0.95em; }
  .ur button {
    width: 80vw;
    height: 44px;
    border-radius: 14px;
    font-size: 0.95em;
  }
  .logo { max-width: 88vw; }
  .container1 { margin-top: 6vw; }
  .qual { font-size: 2em; }
  .qual5 { width: 92vw; font-size: 1.05em; }
  .in1, .in2 { width: 94%; font-size: 0.95em; }
  .in1-1 { width: 94%; }
  .in2 { min-height: 100px; }
  .txt2 { margin-left: 3%; }
  .container5 { flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; }
  .ur { flex-direction: column; align-items: center; padding: 10px 2vw; gap: 8px; }
  .nu { margin: 0; }
  .file-upload-label-custom { width: 80vw; height: 40px; font-size: 0.95em; border-radius: 12px; }
  p { display: flex; justify-content: center; text-align: center; }
}