/* portal.css — identidade visual 7Day Consultoria */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #349e90;
  --teal-dark:  #277a6e;
  --teal-light: #e8f6f4;
  --white:      #ffffff;
  --bg:         #f4f9f8;
  --text:       #1a2e2c;
  --muted:      #5a7572;
  --border:     #d0e8e5;
  --danger:     #dc2626;
  --danger-bg:  #fef2f2;
  --success:    #16a34a;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.07);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.header {
  background: var(--teal);
  padding: 20px 20px 0;
  color: var(--white);
  text-align: center;
}
.header-marca    { font-size: 11px; letter-spacing: 2px; opacity: .75; text-transform: uppercase; margin-bottom: 4px; }
.header-titulo   { font-size: 18px; font-weight: 500; }
.header-subtitulo{ font-size: 13px; opacity: .8; margin-top: 4px; padding-bottom: 20px; }

/* ── Steps ── */
.steps {
  background: var(--teal-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
}
.step { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,.45); }
.step.ativo  { color: var(--white); font-weight: 500; }
.step.feito  { color: rgba(255,255,255,.85); }
.step-num {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
}
.step.ativo .step-num, .step.feito .step-num { background: var(--white); color: var(--teal); border-color: var(--white); }
.step-linha { width: 20px; height: 1px; background: rgba(255,255,255,.2); }

/* ── Body ── */
.corpo { padding: 20px; max-width: 560px; margin: 0 auto; }

/* ── Cards e blocos ── */
.info-box {
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.info-box strong { color: var(--teal); }

.resumo-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.resumo-linha {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.resumo-linha:last-child { border-bottom: none; }
.resumo-linha span:first-child { color: var(--muted); }
.resumo-linha span:last-child  { font-weight: 500; }

.card-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.card-item:hover  { border-color: var(--teal); box-shadow: 0 2px 12px rgba(52,158,144,.1); }
.card-item:active { background: var(--teal-light); }
.card-titulo  { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.card-sub     { font-size: 13px; color: var(--muted); line-height: 1.5; }
.card-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 8px;
}

/* ── Botões ── */
.btn {
  width: 100%; padding: 14px;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background .15s;
  margin-bottom: 10px;
}
.btn-primary  { background: var(--teal);  color: var(--white); }
.btn-primary:hover   { background: var(--teal-dark); }
.btn-primary:disabled{ background: #93c5c0; cursor: not-allowed; }
.btn-secondary{ background: var(--white); color: var(--teal); border: 1.5px solid var(--teal); }
.btn-link     { background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; border: none; display: block; margin: 8px auto 0; }

/* ── Alerts ── */
.alerta-erro {
  background: var(--danger-bg); border: 1px solid #fecaca;
  color: var(--danger); border-radius: 8px;
  padding: 12px 14px; font-size: 13px; margin-bottom: 16px; display: none;
}
.alerta-aviso {
  background: #fffbeb; border: 1px solid #fde68a;
  color: #92400e; border-radius: 8px;
  padding: 12px 14px; font-size: 13px; margin-bottom: 16px;
}

/* ── Estados finais ── */
.estado-final { text-align: center; padding: 24px 0; }
.estado-final .icone { font-size: 56px; margin-bottom: 16px; }
.estado-final h2 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.estado-final p  { font-size: 14px; color: var(--muted); line-height: 1.7; }
.sete-bg {
  position: fixed; bottom: -20px; right: -10px;
  font-size: 180px; font-weight: 900;
  color: rgba(52,158,144,.05); pointer-events: none;
  line-height: 1; z-index: 0; font-family: system-ui;
}

/* ── Utilitários ── */
.voltar { display: flex; align-items: center; gap: 6px; color: var(--teal); font-size: 13px; cursor: pointer; background: none; border: none; margin-bottom: 16px; padding: 0; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.nota { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.6; }
.carregando { text-align: center; padding: 40px; color: var(--muted); font-size: 14px; }
.vazio { text-align: center; padding: 40px 20px; background: var(--white); border-radius: var(--radius); }
.vazio strong { display: block; margin-bottom: 8px; }
.vazio p { font-size: 13px; color: var(--muted); }
