/* ═══════════════════════════════════════════════════════════
   VIVER COM ÉTICA – DROGARIA CRISTINA
   Paleta oficial:
     Verde RGB:    #10C4B5
     Verde CMYK:   #24BCB1
     Vermelho RGB: #F8323C
     Vermelho CMYK:#EE363F
     Cinza:        #83878A
   Uso:
     --brand-green  → ações, foco, seleção
     --brand-red    → envio, alertas, perigo
     --brand-gray   → textos secundários
═══════════════════════════════════════════════════════════ */

/* ── VARIÁVEIS GLOBAIS ── */
:root {
  --brand-green:       #10C4B5;
  --brand-green-dark:  #0da89a;
  --brand-green-light: #e6f9f8;
  --brand-green-border:#9de5e0;

  --brand-red:         #F8323C;
  --brand-red-dark:    #d4202a;
  --brand-red-light:   #fde8e9;

  --brand-gray:        #83878A;
  --brand-gray-light:  #f4f5f5;
  --brand-gray-border: #d1d4d6;

  --accent:            #f5a623;
  --yellow-light:      #fff8ec;
  --yellow-border:     #f0d28a;

  --white:             #ffffff;
  --bg:                #f2f5f5;
  --text:              #1f2937;
  --muted:             #83878A;
  --border:            #d1d4d6;
  --danger:            #F8323C;

  --radius-sm:         8px;
  --radius:            12px;
  --radius-lg:         16px;

  --shadow-sm:         0 2px 8px rgba(0,0,0,.06);
  --shadow:            0 8px 30px rgba(16,196,181,.10);
  --shadow-lg:         0 16px 40px rgba(16,196,181,.15);

  --transition:        .2s ease;
}

/* ── RESET BÁSICO ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 15px;
}

/* ── HEADER ── */
.page-header {
  background: linear-gradient(
    135deg,
    var(--brand-green-dark) 0%,
    var(--brand-green) 100%
  );
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 24px;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── LOGO ── */
.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrapper {
  height: 52px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  padding: 6px 10px;
  flex-shrink: 0;
}

.logo-wrapper img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-fallback {
  font-size: 26px;
  color: var(--brand-green-dark);
  display: none;
}

.logo-text h1 {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.logo-text span {
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

/* ── HEADER NAV ── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}

.btn-header-link:hover {
  background: rgba(255,255,255,.22);
}

/* ── BADGE ── */
.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #d4faf7;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── PROGRESS BAR ── */
.progress-wrap {
  background: rgba(0,0,0,.14);
  padding: 14px 24px;
}

.progress-inner {
  max-width: 980px;
  margin: 0 auto;
}

.steps-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 100px;
}

.step-pill::after {
  content: '';
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.25);
  margin: 0 4px;
}

.step-pill:last-child::after { display: none; }

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.step-circle.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.step-circle.done {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-green-dark);
}

.step-label {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  font-weight: 500;
  white-space: nowrap;
}

.step-label.active {
  color: var(--white);
  font-weight: 700;
}

.step-label.done {
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
}

.step-pill.done::after {
  background: rgba(255, 255, 255, .85);
}

/* ── CONTAINER ── */
.container {
  max-width: 980px;
  margin: 32px auto;
  padding: 0 20px 48px;
}

.protocol-qr-wrap {
  margin: 16px auto 8px;
  text-align: center;
}

.protocol-qr-wrap canvas {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  background: #fff;
}

.protocol-sem-email-aviso {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 auto 16px;
  max-width: 520px;
}

.email-optional-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
}

.email-optional-banner.hidden {
  display: none;
}

/* ── AVISO ── */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  border-left: 4px solid var(--accent);
  color: #7a5a12;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.6;
}

.notice i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── FORM SECTIONS ── */
.form-section {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  display: none;
}

.form-section.active { display: block; }

/* ── SECTION TITLE ── */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.section-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green-dark);
  font-size: 18px;
  flex-shrink: 0;
}

.section-title h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-green-dark);
}

.section-title p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ── FIELDS ── */
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.required::after {
  content: " *";
  color: var(--danger);
}

/* ── INPUTS ── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fafcfb;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(16,196,181,.14);
  background: var(--white);
}

textarea { min-height: 130px; resize: vertical; }

.textarea-sm { min-height: 90px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2383878A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ── HINT ── */
.hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.5;
}

.hint i { color: var(--accent); }

/* ── RADIO CARDS ── */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

/* Tipos de relato: 2 linhas (6 colunas → 6 + 5 itens) e altura uniforme */
.radio-cards-tipo {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.radio-cards-tipo .radio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.radio-cards-tipo .radio-card label {
  flex: 1;
  width: 100%;
  min-height: 100px;
  height: 100%;
  justify-content: center;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.form-loading-hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted, #6b7280);
  background: var(--gray-light, #f3f4f6);
  border-radius: var(--radius-sm);
}

.form-loading-erro {
  color: #b91c1c;
  background: #fef2f2;
}

.radio-card { position: relative; }

.radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  background: #fafcfb;
  line-height: 1.3;
}

.radio-card label i {
  font-size: 22px;
  color: var(--muted);
  transition: color var(--transition);
}

.radio-card input:checked + label {
  border-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  box-shadow: 0 0 0 3px rgba(16,196,181,.12);
}

.radio-card input:checked + label i {
  color: var(--brand-green-dark);
}

/* ── RADIO INLINE ── */
.radio-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.ri-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.ri-item input { display: none; }

.ri-item.selected {
  border-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  font-weight: 600;
}

.ri-danger { color: var(--danger); }

/* ── CHECKBOX ── */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-green);
  cursor: pointer;
}

.check-row label {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  cursor: pointer;
}

/* ── UPLOAD AREA – VERSÃO CORRIGIDA ── */
.upload-label {
  cursor: pointer;
  display: block;
}

.upload-area {
  border: 2px dashed var(--brand-green-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  background: var(--brand-green-light);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.upload-area:hover {
  border-color: var(--brand-green);
  background: #d2f5f2;
  box-shadow: 0 0 0 4px rgba(16, 196, 181, 0.10);
}

/* Estado de drag ativo (adicionado via JS com a classe .drag-over) */
.upload-area.drag-over {
  border-color: var(--brand-green-dark);
  background: #c0f0eb;
  box-shadow: 0 0 0 5px rgba(16, 196, 181, 0.20);
  transform: scale(1.01);
}

.upload-area input[type="file"] {
  display: none;
}

.upload-area i {
  font-size: 36px;
  color: var(--brand-green-dark);
  display: block;
  pointer-events: none;
}

.upload-area p {
  font-size: 14px;
  color: var(--brand-green-dark);
  font-weight: 700;
  margin: 0;
  pointer-events: none;
}

.upload-area span {
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
}

/* Pequeno badge "clique ou arraste" abaixo do ícone */
.upload-area::after {
  content: 'Clique aqui ou arraste o arquivo';
  display: block;
  font-size: 11px;
  color: var(--brand-green-dark);
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--brand-green-border);
  border-radius: 100px;
  padding: 3px 12px;
  margin-top: 8px;
  font-weight: 600;
}
/* ── ANON BANNER ── */
.anon-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--brand-green-light);
  border: 1.5px solid var(--brand-green-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
}

.anon-banner > i { font-size: 28px; color: var(--brand-green-dark); }
.anon-banner strong { display: block; font-size: 14px; color: var(--brand-green-dark); }
.anon-banner p { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── INFO BOX ── */
.info-box {
  margin-top: 16px;
  padding: 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.info-box i { color: var(--brand-green-dark); margin-right: 4px; }

/* ── LINK ── */
.link { color: var(--brand-green-dark); }
.link:hover { text-decoration: underline; }

/* ── FORM ACTIONS ── */
.form-actions {
  padding: 20px 32px;
  background: #fafcfb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.step-counter { font-size: 13px; color: var(--muted); }

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-decoration: none;
}

.btn-back {
  background: var(--white);
  color: var(--brand-green-dark);
  border: 1.5px solid var(--brand-green-border);
}

.btn-back:hover { background: var(--brand-green-light); }

.btn-next {
  background: linear-gradient(
    135deg,
    var(--brand-green-dark),
    var(--brand-green)
  );
  color: var(--white);
  box-shadow: 0 4px 14px rgba(16,196,181,.25);
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,196,181,.35);
}

.btn-submit {
  background: linear-gradient(
    135deg,
    var(--brand-red),
    var(--brand-red-dark)
  );
  color: var(--white);
  box-shadow: 0 4px 14px rgba(248,50,60,.25);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248,50,60,.35);
}

/* ── TELA DE SUCESSO ── */
.protocol-screen {
  display: none;
  padding: 48px 32px;
  text-align: center;
}

.protocol-icon {
  width: 80px;
  height: 80px;
  background: var(--brand-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: pop .4s ease;
}

@keyframes pop {
  0%   { transform: scale(0); opacity: 0; }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

.protocol-icon i { font-size: 36px; color: var(--brand-green-dark); }

.protocol-screen h2 {
  font-size: 24px;
  color: var(--brand-green-dark);
  margin-bottom: 8px;
}

.protocol-screen > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
}

.protocol-number {
  display: inline-block;
  background: var(--brand-green-light);
  border: 2px solid var(--brand-green-border);
  border-radius: var(--radius);
  padding: 18px 32px;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-green-dark);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.protocol-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.protocol-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--brand-green-border);
  color: var(--brand-green-dark);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 32px;
  transition: all var(--transition);
  font-family: inherit;
}

.protocol-copy:hover { background: var(--brand-green-light); }

.protocol-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.protocol-actions .protocol-copy {
  margin-bottom: 0;
}

.protocol-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-green);
  border: none;
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.protocol-home:hover {
  background: var(--brand-green-dark);
}

.protocol-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.p-step {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.p-step i {
  font-size: 22px;
  color: var(--brand-green-dark);
  margin-bottom: 8px;
  display: block;
}

.p-step strong { font-size: 13px; display: block; margin-bottom: 4px; }
.p-step span   { font-size: 12px; color: var(--muted); }

/* ── UTILITÁRIOS ── */
.hidden  { display: none !important; }
.mt-16   { margin-top: 16px; }

/* ── RESPONSIVO ── */
@media (max-width: 720px) {
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .form-section { padding: 22px 18px; }
  .form-actions { padding: 16px 18px; }
  .protocol-steps { grid-template-columns: 1fr; }
  .step-label { display: none; }
  .header-top { align-items: flex-start; }

  .radio-cards {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .radio-cards-tipo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .radio-cards-tipo .radio-card label {
    min-height: 92px;
  }
}

@media (max-width: 480px) {
  .radio-cards-tipo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Campo inválido: borda vermelha */
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

/* Mensagem de erro individual do campo */
.field-error {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Para o grupo de radio-cards (tipo de ocorrência) */
.radio-cards.is-invalid {
  border: 1px solid #dc3545;
  border-radius: 6px;
  padding: 8px;
}

/* Esconde o container geral de erro da etapa (já não vamos usar) */
#step1-error-message {
  display: none;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.field-error {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 4px;
}

.radio-cards.is-invalid {
  border: 1px solid #dc3545;
  border-radius: 6px;
  padding: 8px;
}

/* ── GRID PARA 4 CAMPOS (STEP 3) ── */
.grid-fields-step3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* 4 colunas em telas grandes, responsivo */
  gap: 16px;
}

@media (max-width: 720px) {
  .grid-fields-step3 {
    grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
  }
}
/* Estilos para layout de 2 colunas */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Duas colunas de largura igual */
  gap: 20px; /* Espaçamento entre as colunas e linhas */
  margin-bottom: 20px; /* Espaçamento abaixo do grid */
}

.form-grid-2 .field {
  width: 100%; /* Garante que o campo ocupe toda a largura da coluna */
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr; /* Em telas pequenas, volta para 1 coluna */
  }
}

/* Garante que a barra de progresso não tenha posicionamento fixo/sticky se movida */
.progress-wrap {
  position: static; /* Remove qualquer posicionamento fixo ou sticky */
  margin-top: 40px; /* Adiciona um espaçamento acima da barra de progresso */
  padding: 20px 0; /* Ajuste o padding conforme necessário */
  background-color: #f8f8f8; /* Exemplo de cor de fundo, ajuste se precisar */
  border-top: 1px solid #eee; /* Exemplo de borda, ajuste se precisar */
}
/* RÁDIOS DE 3 OPÇÕES — alinhados à esquerda */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
    gap: 1px 12px;
}

/* Botões SIM / NÃO / NÃO SEI – versão mais compacta */
.radio-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.radio-inline .ri-item {
  flex: 0 0 auto;
}

.radio-inline .ri-item label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition: all var(--transition);
}

/* ícone menor e alinhado */
.radio-inline .ri-item label i {
  font-size: 13px;
}

/* quando selecionado, aplica destaque visual */
.radio-inline .ri-item input:checked + label {
  border-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  font-weight: 600;
}

/* campo que aparece quando marca SIM */
.conditional-input {
  margin-top: 6px;
}
/* Ajustes de espaçamento para o STEP 3 */
#step3 .field {
  margin-bottom: 10px; /* Reduz o espaçamento entre os campos */
}

#step3 .form-grid-2 {
  gap: 12px; /* Reduz o espaçamento entre os itens da grade */
  margin-bottom: 12px; /* Reduz o espaçamento abaixo da grade */
}

/* Ajuste para o último campo dentro de um .field para não ter margin-bottom extra */
#step3 .field:last-child {
  margin-bottom: 0;
}


/* STEP 4 - layout dos radios e upload */
#step4 .radio-inline-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#step4 .radio-inline-2 .ri-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--brand-gray-border);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 13px;
  font-weight: 600;
}

#step4 .radio-inline-2 .ri-item label i {
  font-size: 12px;
}

#step4 .radio-inline-2 .ri-item input:checked + label {
  border-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
}

/* Área de upload como na imagem */
#step4 .upload-area {
  border: 1.5px dashed #b8e7e1;
  border-radius: 12px;
  background: #eafaf8;
  padding: 28px 20px;
  text-align: center;
  margin-top: 8px;
  box-shadow: none;
  min-height: 170px;
}

#step4 .upload-area i {
  font-size: 34px;
  color: var(--brand-green);
  margin-bottom: 10px;
}

#step4 .upload-area p {
  font-size: 16px;
  font-weight: 700;
  color: #1aa39a;
  margin-bottom: 6px;
}

#step4 .upload-area span {
  display: block;
  font-size: 12px;
  color: #7d8b8a;
  margin-bottom: 12px;
}

#step4 .udz-btn {
  border: 1px solid var(--brand-green);
  background: var(--white);
  color: var(--brand-green-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

#step4 .udz-btn:hover {
  background: var(--brand-green-light);
}

/* Lista de arquivos */
#step4 .upload-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#step4 .file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d8ece9;
  border-radius: 10px;
  background: #fff;
}

#step4 .file-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}

#step4 .file-size {
  font-size: 12px;
  color: var(--muted);
}

#step4 .file-remove {
  color: var(--brand-green-dark);
  cursor: pointer;
}

/* ── STEP 4: botões Sim / Não e bloco de anexos ── */

#step4 #group-possuiEvidencia {
  gap: 8px;
}

#step4 #group-possuiEvidencia .ri-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--brand-gray-border);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

#step4 #group-possuiEvidencia .ri-item i {
  font-size: 12px;
}

#step4 #group-possuiEvidencia .ri-item.selected {
  border-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  font-weight: 700;
}

#step4 #evidenciaAnexosBlock {
  margin-top: 12px;
}

#step4 #evidenciaAnexosBlock .file-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ── PROGRESSO INFERIOR: MELHOR CONTRASTE ── */
.progress-wrap {
  background: #eef2f3;
  border-top: 1px solid #d9e1e3;
}

.progress-wrap .step-label {
  color: #5f6b6f;
  font-weight: 600;
  opacity: 1;
}

.progress-wrap .step-label.active {
  color: #0f766e;
  font-weight: 700;
}

.progress-wrap .step-circle {
  background: #dfe7e9;
  border-color: #c6d2d5;
  color: #5f6b6f;
  font-weight: 700;
}

.progress-wrap .step-circle.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
}

.progress-wrap .step-circle.done {
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: #ffffff;
}

/* Garante que o ícone de check fique branco e visível */
.progress-wrap .step-circle.done i {
  color: #ffffff;
  font-size: 11px;
}
/* Ajuste de espaçamento entre o formulário e o rodapé */
.container {
  margin-bottom: 10px; /* Reduz a margem inferior do container do formulário */
  padding-bottom: 10px; /* Reduz o padding inferior do container */
}

.progress-wrap {
  margin-top: 10px; /* Reduz a margem superior do rodapé */
}

.info-box-confidencialidade {
  background: #eefaf7;
  border: 1px solid #cce9e2;
  border-left: 4px solid var(--brand-green);
  color: #355a55;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0 18px;
  font-size: 14px;
  line-height: 1.6;
}
/* Ajustes de espaçamento para o STEP 5 */
#step5 .field {
  margin-bottom: 10px; /* Reduz o espaçamento entre os campos individuais */
}

#step5 .form-grid-2 {
  gap: 10px; /* Reduz o espaçamento entre os itens da grade (lado a lado) */
  margin-bottom: 10px; /* Reduz o espaçamento abaixo de cada grade de 2 colunas */
}

/* Ajuste para o banner de anonimato */
#step5 .anon-banner {
  margin-bottom: 10px; /* Reduz o espaçamento abaixo do banner */
}

/* Ajuste para o bloco de dados de identificação */
#step5 .dados-identificacao {
  margin-top: 10px; /* Reduz o espaçamento acima do bloco de dados */
  margin-bottom: 10px; /* Reduz o espaçamento abaixo do bloco de dados */
}

/* Ajuste para o último campo dentro de um .field para não ter margin-bottom extra */
#step5 .field:last-child {
  margin-bottom: 0;
}
Copiar

/* Info-box alinhada ao padrão de cores do canal (verde) */
.info-box {
  background: #eefaf7;                 /* mesmo tom usado nas outras áreas verdes claras */
  border: 1px solid #cce9e2;           /* borda em verde claro */
  border-left: 4px solid var(--brand-green);
  color: #355a55;                      /* texto verde-acinzentado mais escuro */
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.info-box i {
  font-size: 18px;
  color: var(--brand-green);
  margin-top: 2px;
}

.info-box strong {
  font-weight: 700;
}

/* CARD principal da tela de sucesso (igual visual dos steps) */
.protocol-screen {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 24px 22px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid #e3ebef;
  max-width: 920px;
  margin: 0 auto 16px;
  text-align: center;
}

.protocol-screen .protocol-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6f7f2;
  color: var(--brand-green);
  font-size: 26px;
}

.protocol-screen h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #1f2933;
}

.protocol-screen > p {
  margin-bottom: 10px;
  color: #4b5563;
  font-size: 14px;
}

.protocol-number {
  display: inline-block;
  margin: 10px 0 6px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #f1f5f9;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111827;
}

.protocol-note {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
}

.protocol-copy {
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  background: #ffffff;
  color: var(--brand-green-dark);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.protocol-copy i {
  font-size: 13px;
}

.protocol-copy:hover {
  background: var(--brand-green-light);
  box-shadow: 0 6px 18px rgba(34, 197, 146, 0.2);
}


.protocol-steps {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.p-step {
  background: #f5fbf9;
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid #d4ece3;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-step i {
  font-size: 16px;
  color: var(--brand-green);
  margin-bottom: 4px;
}

.p-step strong {
  font-size: 13px;
  color: #111827;
}

.p-step span {
  font-size: 12px;
  color: #6b7280;
}

/* Responsivo: empilha os cards no mobile */
@media (max-width: 768px) {
  .protocol-steps {
    grid-template-columns: 1fr;
  }
}