/* ===== Workflow (Como Trabalhamos) ===== */
.workflow {
  padding: 100px 20px;
  background: #111;
  color: #fff;
}

.workflow-header {
  text-align: center;
  margin-bottom: 60px;
}

.workflow-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Grid */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  row-gap: 80px;      /* altura */
  column-gap: 32px;   /* largura */
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
  grid-auto-rows: auto;
}

/* Step (card) */
.workflow-step {
  background: #000;
  border: 1px solid #222;
  padding: 40px 28px;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;

  transition: all 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-6px);
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,0.08);
}

/* Número */
.step-number {
  position: absolute;
  top: -22px;
  left: 20px;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  background: #111;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* Texto */
.workflow-step p {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: #ddd;
}

/* Responsivo */
@media (max-width: 600px) {
  .workflow-step {
    padding: 28px 18px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    top: -18px;
    left: 16px;
  }
}
