/* =============================================
   ELLO MARCAS — ACOMPANHAR PROCESSO
   ============================================= */

/* ═══════════════════════
   CABEÇALHO DE SISTEMA — página 1
═══════════════════════ */
.ap-sys-header {
  background: var(--navy);
  margin-top: var(--header-h);
  padding: 20px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ap-sys-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.ap-sys-breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.ap-sys-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.ap-sys-breadcrumb span { color: rgba(255,255,255,0.22); }
.ap-sys-title {
  color: white;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.2;
}
.ap-sys-sub {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

/* ═══════════════════════
   SEÇÃO DE ACESSO
═══════════════════════ */
.ap-access-section {
  background: var(--off-white);
  padding: 32px 0 40px;
  min-height: calc(100vh - var(--header-h) - 90px);
}

/* Erro inline */
.ap-form-error {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 12px;
}
.ap-form-error.visible { display: flex; }
.ap-form-error svg { color: #DC2626; flex-shrink: 0; margin-top: 2px; }
.ap-form-error p { font-size: 1rem; color: #DC2626; margin: 0; line-height: 1.5; }

/* ═══════════════════════
   NAV DO PAINEL — página 2
═══════════════════════ */
.ap-panel-nav {
  background: var(--navy);
  margin-top: var(--header-h);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ap-panel-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ap-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.ap-back-link:hover { color: rgba(255,255,255,0.8); }
.ap-back-link svg { flex-shrink: 0; }

/* ═══════════════════════
   CARD DE ACESSO
═══════════════════════ */
.ap-search-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.ap-search-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 24px rgba(14,26,53,0.07);
}

.ap-search-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.ap-search-icon {
  width: 42px; height: 42px;
  background: var(--cyan-glow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); flex-shrink: 0;
}
.ap-search-header strong { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.ap-search-header span   { font-size: 0.9375rem; color: var(--gray-500); }

.ap-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.ap-form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.ap-form-group input {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 1.0625rem;
  font-family: var(--font-body);
  color: var(--navy);
  background: white;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.ap-form-group input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14,165,201,0.1);
}
.ap-form-group input::placeholder { color: var(--gray-300); }
.ap-field-err  { font-size: 0.875rem; color: #EF4444; margin-top: 5px; min-height: 1.1em; line-height: 1.4; }
.ap-field-hint { font-size: 0.875rem; color: var(--gray-400); margin-top: 5px; }
.ap-input-error { border-color: #EF4444 !important; }

.ap-submit-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px;
  background: var(--cyan);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.0625rem; font-weight: 700; font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(14,165,201,0.35);
  margin-top: 18px;
}
.ap-submit-btn:hover   { background: var(--cyan-light); transform: translateY(-1px); box-shadow: 0 10px 32px rgba(14,165,201,0.45); }
.ap-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }


/* ═══════════════════════
   PAINEL DE STATUS — topo navy
═══════════════════════ */
.ap-status-panel {
  background: var(--navy);
  padding: 24px 0;
}
.ap-status-inner {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
}

/* Cabeçalho: marca + status */
.ap-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.ap-status-brand { display: flex; align-items: center; gap: 12px; }
.ap-brand-icon {
  width: 40px; height: 40px;
  background: rgba(14,165,201,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); flex-shrink: 0;
}
/* Logo do cliente — sobrescreve o ícone padrão */
.ap-brand-icon-logo {
  background: white;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.ap-brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 5px;
}

.ap-brand-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ap-brand-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-body);
  line-height: 1.1;
}

.ap-status-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ap-badge-num {
  font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-family: monospace;
  letter-spacing: 0.04em;
}
.ap-status-badge {
  font-size: 0.875rem; font-weight: 700;
  border-radius: var(--radius-full);
  padding: 5px 14px;
}
.ap-status-andamento { background: rgba(14,165,201,0.18); color: var(--cyan); border: 1px solid rgba(14,165,201,0.3); }
.ap-status-aprovado  { background: rgba(16,185,129,0.15); color: #10B981;    border: 1px solid rgba(16,185,129,0.3); }
.ap-status-pendente  { background: rgba(245,158,11,0.12); color: #F59E0B;    border: 1px solid rgba(245,158,11,0.3); }
.ap-status-arquivado { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.1); }
.ap-status-alerta    { background: rgba(245,158,11,0.15); color: #D97706;    border: 1px solid rgba(245,158,11,0.35); }

/* Métricas */
.ap-status-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ap-metric { padding: 0 14px; border-right: 1px solid rgba(255,255,255,0.07); }
.ap-metric:first-child { padding-left: 0; }
.ap-metric:last-child  { border-right: none; }
.ap-metric span   { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.ap-metric strong { font-size: 1.0625rem; color: white; font-weight: 600; }

/* Próxima etapa */
.ap-next-step {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 22px;
}
.ap-next-dot {
  width: 9px; height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  animation: ap-pulse 1.5s ease-in-out infinite;
}
.ap-next-step span   { font-size: 0.8125rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 2px; }
.ap-next-step strong { font-size: 1.0625rem; color: white; font-weight: 600; }


/* ═══════════════════════
   STEPPER DE ETAPAS
═══════════════════════ */
.ap-progress-section {
  background: white;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}

.ap-steps { display: flex; align-items: flex-start; }

.ap-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ap-step-track {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}
.ap-step-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--gray-100);
  z-index: 1;
}

.ap-step-done .ap-step-circle    { background: #10B981; color: white; }
.ap-step-active .ap-step-circle  {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14,165,201,0.18), 0 0 0 6px rgba(14,165,201,0.07);
}
.ap-step-pending .ap-step-circle { background: var(--gray-100); }

/* Conectores split: [left][circle][right] — centraliza o círculo sobre o label */
.ap-step-conn         { flex: 1; height: 2px; background: var(--gray-100); }
.ap-step-conn--done   { background: #10B981; }
.ap-step-conn--hidden { background: transparent; pointer-events: none; }

.ap-step-pulse { width: 10px; height: 10px; background: white; border-radius: 50%; animation: ap-pulse 1.5s ease-in-out infinite; }

/* ─── Estado especial: processo concluído ─── */
.ap-step-concluido .ap-step-circle {
  background: linear-gradient(135deg, #C98F0A, #F0B429);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.2), 0 0 0 7px rgba(212,160,23,0.07), 0 2px 10px rgba(212,160,23,0.3);
  color: white;
}
.ap-step-concluido .ap-step-conn--done { background: #10B981; }

.ap-step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  line-height: 1.3;
  max-width: 90px;
}
.ap-step-done .ap-step-label      { color: #059669; }
.ap-step-active .ap-step-label    { color: var(--cyan); }
.ap-step-pending .ap-step-label   { color: var(--gray-400); }
.ap-step-concluido .ap-step-label { color: #7A5B00; font-weight: 700; }

.ap-step-date { font-size: 0.75rem; color: var(--gray-400); margin-top: 3px; }


/* ═══════════════════════
   BLOCO DE ALERTA — intercorrência ativa
═══════════════════════ */
.ap-alerta-wrap { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }

.ap-alerta-block {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.28);
  border-left: 4px solid #F59E0B;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ap-alerta-icon {
  width: 34px; height: 34px;
  background: rgba(245,158,11,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #D97706;
  flex-shrink: 0;
}
.ap-alerta-body { flex: 1; min-width: 0; }
.ap-alerta-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B45309;
  margin-bottom: 5px;
}
.ap-alerta-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.ap-alerta-titulo { font-size: 0.9375rem; font-weight: 700; color: #78350F; }
.ap-alerta-data   { font-size: 0.8125rem; color: var(--gray-400); margin-left: auto; white-space: nowrap; }
.ap-alerta-desc   { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.6; margin: 0 0 8px; }

/* Tags reutilizadas no bloco de alerta e na timeline */
.ap-tl-tags  { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.ap-tl-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 9px;
  border-radius: 99px;
}
.ap-tl-tag--tipo {
  background: rgba(245,158,11,0.12);
  color: #B45309;
  border: 1px solid rgba(245,158,11,0.28);
}
/* Gerado pelo JS como: ic.status.replace(/_/g, '-') → 'em-andamento' */
.ap-tl-tag--status-em-andamento {
  background: rgba(245,158,11,0.10);
  color: #D97706;
  border: 1px solid rgba(245,158,11,0.22);
}
.ap-tl-tag--status-resolvida,
.ap-tl-tag--status-concluida {
  background: rgba(16,185,129,0.08);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.22);
}
.ap-tl-tag--status-aguardando {
  background: rgba(99,102,241,0.08);
  color: #4F46E5;
  border: 1px solid rgba(99,102,241,0.2);
}

/* ═══════════════════════
   CONTEÚDO: TIMELINE + INFO
═══════════════════════ */
.ap-content-section { padding: 36px 0 40px; }

.ap-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.ap-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

/* Timeline */
.ap-timeline { display: flex; flex-direction: column; }
.ap-tl-vazio { font-size: 0.9375rem; color: var(--gray-400); padding: 8px 0; margin: 0; }

.ap-tl-item { display: flex; gap: 14px; }

/* Coluna esquerda: círculo + linha */
.ap-tl-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 28px;
}

/* Círculo de status */
.ap-tl-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.ap-tl-done .ap-tl-dot {
  background: #10B981;
}
.ap-tl-active .ap-tl-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14,165,201,0.18), 0 0 0 6px rgba(14,165,201,0.07);
}
.ap-tl-pending .ap-tl-dot {
  background: white;
  border: 2px solid var(--gray-200);
}

/* ─── Estado especial: processo concluído ─── */
.ap-tl-concluido .ap-tl-dot {
  background: linear-gradient(135deg, #C98F0A, #F0B429);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.18), 0 0 0 6px rgba(212,160,23,0.07), 0 2px 8px rgba(212,160,23,0.25);
}
.ap-tl-concluido .ap-tl-body {
  border-color: rgba(212,160,23,0.28);
  box-shadow: 0 2px 16px rgba(212,160,23,0.09);
}
.ap-tl-concluido .ap-tl-etapa { color: #7A5B00; }
.ap-tl-concluido .ap-tl-line  { background: var(--gray-100); }

/* Linha vertical entre itens */
.ap-tl-line {
  width: 2px;
  flex: 1;
  min-height: 14px;
  margin: 5px 0;
  border-radius: 1px;
}
.ap-tl-done .ap-tl-line {
  background: linear-gradient(to bottom, rgba(16,185,129,0.4), var(--gray-100));
}
.ap-tl-active .ap-tl-line,
.ap-tl-pending .ap-tl-line {
  background: var(--gray-100);
}

/* Pulso do item ativo */
.ap-tl-pulse {
  width: 10px; height: 10px;
  background: white;
  border-radius: 50%;
  animation: ap-pulse 1.5s ease-in-out infinite;
}

/* Card de conteúdo */
.ap-tl-body {
  flex: 1;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 10px;
  transition: box-shadow var(--transition-fast);
}
.ap-tl-item:last-child .ap-tl-body { margin-bottom: 0; }

.ap-tl-active .ap-tl-body {
  border-color: rgba(14,165,201,0.25);
  box-shadow: 0 2px 14px rgba(14,165,201,0.09);
}

.ap-tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.ap-tl-etapa { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.ap-tl-active .ap-tl-etapa { color: var(--cyan); }
.ap-tl-pending .ap-tl-etapa { color: var(--gray-400); }

.ap-tl-data  { font-size: 0.8125rem; color: var(--gray-400); white-space: nowrap; flex-shrink: 0; }
.ap-tl-obs   { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.6; margin: 0; }
.ap-tl-pending .ap-tl-obs { color: var(--gray-300); }

/* ─── Intercorrência na timeline ─── */
.ap-tl-intercorrencia .ap-tl-dot {
  background: #F59E0B;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.15);
}
.ap-tl-intercorrencia .ap-tl-body {
  border-color: rgba(245,158,11,0.3);
  border-left: 3px solid #F59E0B;
  background: rgba(245,158,11,0.04);
  box-shadow: none;
}
.ap-tl-intercorrencia .ap-tl-etapa  { color: #D97706; }
.ap-tl-intercorrencia .ap-tl-line   { background: linear-gradient(to bottom, rgba(245,158,11,0.3), var(--gray-100)); }

/* Intercorrência resolvida — aparência neutra */
.ap-tl-intercorrencia--ok .ap-tl-dot {
  background: #10B981;
  box-shadow: none;
}
.ap-tl-intercorrencia--ok .ap-tl-body {
  border-color: var(--gray-100);
  border-left-color: var(--gray-100);
  background: white;
}
.ap-tl-intercorrencia--ok .ap-tl-etapa { color: var(--navy); }
.ap-tl-intercorrencia--ok .ap-tl-line  { background: linear-gradient(to bottom, rgba(16,185,129,0.4), var(--gray-100)); }

/* Info card */
.ap-info-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.ap-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
}
.ap-info-row:last-child { border-bottom: none; }
.ap-info-row span   { font-size: 0.9375rem; color: var(--gray-500); flex-shrink: 0; line-height: 1.4; }
.ap-info-row strong { font-size: 0.9375rem; color: var(--navy); font-weight: 600; text-align: right; line-height: 1.4; }

/* Observações */
.ap-obs-card {
  background: rgba(14,165,201,0.06);
  border: 1px solid rgba(14,165,201,0.18);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.ap-obs-icon {
  width: 24px; height: 24px;
  background: rgba(14,165,201,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); flex-shrink: 0;
  margin-top: 2px;
}
.ap-obs-card p { font-size: 1rem; color: var(--gray-600); line-height: 1.65; margin: 0; }

/* Botão WhatsApp */
.ap-whatsapp-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 18px;
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.9375rem; font-weight: 700; font-family: var(--font-body);
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition-fast);
}
.ap-whatsapp-btn:hover { border-color: var(--cyan); color: var(--cyan); }


/* ═══════════════════════
   CERTIFICADO DE REGISTRO
═══════════════════════ */
.ap-cert-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  margin-bottom: 16px;
}

/* Certificado disponível — destaque dourado/verde */
.ap-cert-card--disponivel {
  background: linear-gradient(135deg, rgba(16,185,129,0.05), rgba(212,160,23,0.06));
  border-color: rgba(16,185,129,0.25);
}
.ap-cert-card--disponivel .ap-cert-icon {
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(212,160,23,0.15));
  color: #059669;
}

/* Certificado ainda não disponível — aparência neutra */
.ap-cert-card--pendente {
  background: var(--off-white);
  border-color: var(--gray-100);
}
.ap-cert-card--pendente .ap-cert-icon {
  background: var(--gray-100);
  color: var(--gray-400);
}
.ap-cert-card--pendente .ap-cert-titulo { color: var(--gray-500); }
.ap-cert-card--pendente .ap-cert-info   { color: var(--gray-400); }

.ap-cert-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ap-cert-body { flex: 1; min-width: 0; }
.ap-cert-titulo {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 2px;
}
.ap-cert-info {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin: 0;
  line-height: 1.4;
}

/* Botão de download */
.ap-cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 13px;
  background: #059669;
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}
.ap-cert-btn:hover {
  background: #047857;
  box-shadow: 0 4px 14px rgba(5,150,105,0.3);
  color: white;
}

/* ═══════════════════════
   ANIMAÇÃO DE PULSO
   (definida aqui para garantir scale — global.css só tem opacity)
═══════════════════════ */
@keyframes ap-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.3; transform: scale(0.55); }
}

/* ═══════════════════════
   RESPONSIVE
═══════════════════════ */
@media (max-width: 1024px) {
  .ap-content-grid { grid-template-columns: 1fr; }
  .ap-side-col { max-width: 560px; }
  .ap-status-metrics { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ap-metric { border-right: none; padding: 0; }
}

@media (max-width: 768px) {
  .ap-search-card { padding: 20px 16px; }
  .ap-status-panel { padding: 16px 0; }
  .ap-status-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ap-brand-name { font-size: 1.25rem; }
  .ap-status-metrics { grid-template-columns: repeat(2, 1fr); padding: 12px 16px; }
  .ap-status-inner .ap-status-head,
  .ap-status-inner .ap-status-metrics,
  .ap-status-inner .ap-next-step { padding-left: 16px; padding-right: 16px; }

  /* Stepper vertical */
  .ap-steps { flex-direction: column; gap: 0; }
  .ap-step  { flex-direction: row; width: 100%; align-items: flex-start; gap: 0; padding-bottom: 16px; }
  .ap-step:last-child { padding-bottom: 0; }
  .ap-step-track { flex-direction: column; align-items: center; width: auto; margin-bottom: 0; margin-right: 12px; }
  .ap-step-conn         { width: 2px; height: 24px; flex: none; }
  .ap-step-conn--hidden { width: 2px; height: 0 !important; flex: none; }
  .ap-step-label, .ap-step-date { text-align: left; max-width: none; }
  .ap-step-label { font-size: 0.9375rem; }

  .ap-progress-section { padding: 20px 0; }
  .ap-content-section  { padding: 28px 0 32px; }
  .ap-access-section   { padding: 24px 0 32px; }
}

@media (max-width: 480px) {
  .ap-status-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
}
